Module:Flagg/Altvar data/doc explained

This module contains the data used by for sports and military links. The (case-insensitive) codes for each sport or military branch are on the left side of the first table in the module code; their aliases are in the second table. The "age" parameter is the age limit for youth sports teams; it is only necessary if the data for the wanted sport uses the parameter (search for "..age").

Table

Using the list_all function of this module, this list gives the same data in HTML table format. Either the main codes (generally based on the names of the corresponding specialized templates, given in the last column) or their aliases can be used to identify a sport or military branch in . All codes are case-, space- and hyphen-insensitive, so e.g. the air force altvar can be given as airforce, air force, Air Force, air-force, etc.

The altlink is the default link suffix; if the suffix for a sport contains the green and italicized word "age", the age limit must be specified using in the Flagg template. The altvar is used in country data templates to specify sports- or military-specific flag variants (using |flag alias-''altvar''=... in their code) and override the link target (|link alias-''altvar''=...) and display name (|name alias-''altvar''=...).