Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Flagg/Altvar data/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
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 <code>airforce</code>, <code>air force</code>, <code>Air Force</code>, <code>air-force</code>, 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 {{para|age}} in the Flagg template. The altvar is used in [[:Category:Country data templates|country data templates]] to specify sports- or military-specific flag variants (using <code>|flag alias-''altvar''=...</code> in their code) and override the link target (<code>|link alias-''altvar''=...</code>) and display name (<code>|name alias-''altvar''=...</code>). {{#invoke:Flagg/Altvar data|list_all}} <includeonly>{{Sandbox other | | [[Category:Flag template system]] }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Para
(
edit
)
Module:Flagg/Altvar data
(
edit
)