Module:Flagg/Altvar data/doc

This module contains the data used by Module:Flagg 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 Template:Flagg. All codes are case-, space- and hyphen-insensitive, so e.g. the air force altvar can be given as,  ,  ,  , 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 age in the Flagg template. The altvar is used in country data templates to specify sports- or military-specific flag variants (using  in their code) and override the link target  and display name.