Jump to content

Module:Flagg/Altvar data/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Use {{Sandbox other}} instead of {{#ifeq:}}
Line 8: Line 8:
{{#invoke:Flagg/Altvar data|list_all}}
{{#invoke:Flagg/Altvar data|list_all}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{Sandbox other | |
[[Category:Flag template system]]
[[Category:Flag template system]]
}}</includeonly>
}}</includeonly>

Revision as of 07:51, 21 July 2018

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 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 |age= 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=...).

CodeAliasesAltlink (suffix)AltvarTemplate
sbwwomen'ssoftballwomen's national softball teamsoftballsbw
fsfutsalnational futsal teamfutsalfutsal
arfaustralianrulesfootballnational Australian rules football teamAustralian rules footballarf
bkbasketballnational basketball teambasketballbk
svbwwomen'ssittingvolleyvallwomen's sitting national volleyball teamsitting volleyballsvbw
iihjjuniorinlinehockeymen's national junior inline hockey teaminline hockeyiihj
wightmanwightmancupWightman Cup teamtenniswightman
speedwaynational speedway teamspeedwayspeedway
ishicesledgehockeymen's national ice sledge hockey teamsledge hockeyish
iihwwomen'sinlinehockeywomen's national inline hockey teaminline hockeyiihw
bandywwomen'sbandywomen's national bandy teambandybandyW
fswwomen'sfutsalwomen's national futsal teamfutsalfsw
hbjjuniorhandballnational junior handball teamhandballhbj
ru7rugbysevens
rugbyunionsevens
national rugby union team (sevens)rugby sevensru7
bswbeachsoccerwomen
women'sbeachsoccer
women's national beach soccer teamwomen's beach soccerbeachsoccerwomen
bsbeachsoccernational beach soccer teambeach soccerbeachsoccer
navyNavynavalnavy
rhmrollerhockeynational roller hockey teamroller hockeyrhm
rollerderbynational roller derby teamroller derbyRollerDerby
hbwywomen'syouthhandballwomen's youth national handball teamhandballhbwy
bbbaseballnational baseball teambaseballbb
bkwwomen'sbasketballwomen's national basketball teambasketballbkw
afamericanfootballnational American football teamAmerican footballaf
gbgoalballmen's national goalball teamgoalballgb
hbhandballnational handball teamhandballhb
fhwwomen'sfieldhockeywomen's national field hockey teamfield hockeyfhw
ihwwomen'sicehockeywomen's national ice hockey teamice hockeyihw
cr19youthcricket
under19cricket
national under-19 cricket teamcricketcr19
nbnetballnational netball teamnetballnb
iflmlacrosse
men'slacrosse
men's national lacrosse teamlacrosseiflm
bkuyouthbasketballmen's national under-age basketball teambasketballbku
sbsoftballmen's national softball teamsoftballsb
bhwwomen'sbeachhandballwomen's national beach handball teambeach handballbhw
fhmmen'sfieldhockey
fieldhockey
fh
men's national field hockey teamfield hockeyfhm
crcricketnational cricket teamcricketcr
ih18under18icehockeymen's national under-18 ice hockey teamice hockeyih18
fedfedcupFed Cup teamtennisfed
fbwuwomen'syouthfootballwomen's national under-age football teamfootballfbwu
iilindoorlacrossenational indoor lacrosse teamlacrosseiil
rurugbyunionnational rugby union teamrugby unionru
armyArmyarmyarmy
ihw18women'sunder18icehockeywomen's national under-18 ice hockey teamice hockeyihw18
wbkwwomen'swheelchairbasketballwomen's national wheelchair basketball teamwheelchair basketballwbkw
crwwomen'scricketnational women's cricket teamcricketcrw
rhwwomen'srollerhockeywomen's national roller hockey teamroller hockeyrhw
militaryarmed forcesmilitarymilitarymilitary
ruwwomen'srugbyunionwomen's national rugby union teamrugby unionruw
korfkorfballnational korfball teamkorfballkorf
wpwaterpolomen's national water polo teamwater polowp
ru7wwomen'srugbyunionsevens
women'srugbysevens
women's national rugby union team (sevens)rugby sevensru7w
svbsittingvolleyvallmen's national sitting volleyball teamsitting volleyballsvb
arfwwomen'saustralianrulesfootballwomen's national Australian rules football teamAustralian rules footballarfw
airforceAir Forceair forceair force
bbstatebaseballstatestate baseball teambaseballbb-state
wbkwheelchairbasketballmen's national wheelchair basketball teamwheelchair basketballwbk
vbwwomen'svolleyballwomen's national volleyball teamvolleyballvbw
fbwmwomen'smilitaryfootballwomen's military national football teamfootballfbwm
hopmanhopmancupat the Hopman Cuptennishopman
vbvolleyballmen's national volleyball teamvolleyballvb
speedwayltlongtracknational long track teamlong trackspeedwayLT
ruuyouthrugbyunionnational under-age rugby union teamrugby unionruu
bkwuwomen'syouthbasketballwomen's national under-age basketball teambasketballbkwu
whrwheelchairrugbynational wheelchair rugby teamwheelchair rugbywhr
hbwwomen'shandballwomen's national handball teamhandballhbw
p&ppitchandputtmen's national pitch and putt teampitch and puttp&p
wpwwomen'swaterpolowomen's national water polo teamwater polowpw
hbwjwomen'sjuniorhandballwomen's junior national handball teamhandballhbwj
iihinlinehockeymen's national inline hockey teaminline hockeyiih
fboolympicfootballOlympic football teamfootballfbo
bhbeachhandballnational beach handball teambeach handballbh
fbuyouthfootballnational under-age football teamfootballfbu
ihjjunioricehockeymen's national junior ice hockey teamice hockeyihj
afujunioramericanfootballnational junior American football teamAmerican footballafu
bandynational bandy teambandybandy
flufl19men's national under-19 floorball teamfloorballflu
davisdaviscupDavis Cup teamtennisdavis
bdbadmintonnational badminton teambadmintonbd
fbla'footballA' national football teamfootballfbl
flwuflw19
flwu19
women's national under-19 floorball teamfloorballflw19
hbyyouthhandballnational youth handball teamhandballhby
bbwwomen'sbaseballwomen's national baseball teambaseballbbw
kdkabaddinational kabaddi teamKabaddikd
rlrugbyleaguenational rugby league teamrugby leaguerl
gbwwomen'sgoalballwomen's national goalball teamgoalballgbw
fbwwomen'sfootballwomen's national football teamfootballfbw
flwwomen'sfloorballwomen's national floorball teamfloorballflw
fbmmilitaryfootballmilitary national football teamfootballfbm
iflwwomen'slacrossewomen's national lacrosse teamlacrosseiflw
ihicehockeymen's national ice hockey teamice hockeyih
fbafootballassociationfootball associationfootballfba
afwwomen'samericanfootballwomen's national American football teamAmerican footballafw
ruarugbyunionaA national rugby union teamrugby union-aruA
fbfootballnational football teamfootballfb
iflwuiflwu19women's national under-19 lacrosse teamlacrosseiflwu19
flfloorballmen's national floorball teamfloorballfl