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 &#x3c;code&#x3e;airforce&#x3c;/code&#x3e;, &#x3c;code&#x3e;air force&#x3c;/code&#x3e;, &#x3c;code&#x3e;Air Force&#x3c;/code&#x3e;, &#x3c;code&#x3e;air-force&#x3c;/code&#x3e;, 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 &#x3c;code&#x3e;|flag alias-altvar=...&#x3c;/code&#x3e; in their code) and override the link target (&#x3c;code&#x3e;|link alias-altvar=...&#x3c;/code&#x3e;) and display name (&#x3c;code&#x3e;|name alias-altvar=...&#x3c;/code&#x3e;).

&#x3c;includeonly&#x3e;&#x3c;/includeonly&#x3e;