Template:Flag link team/sandbox
shortcut: {{flaglinkteam}}
This is the template sandbox page for Template:Flag link team (diff). |
The Flaglinkteam template is designed to provide links to the "Nation at Championships" style sub-articles on sports championships pages.
Usage
The template has four input fields:
- {{Flaglinkteam|Country code|Edition|Athletes|Flag variant}}
- The Country code is the three letter country code used to refer to the nation in international competitions (e.g. Afghanistan = AFG). A country's full name can be used instead of the three letter country code; in that case, the country code will not be displayed in parentheses after the link
- The Edition field is mostly deprecated. Leaving this field intentionally blank will automatically use the current page name to create the championships nation link, which is encouraged to save time and space. Links to athletics championships can be manually populated by placing the year and level in this field, for example, "2013 World" will link to "2013 World Championships in Athletics".
- The Athletes field is for when the template is used in participating nations sections. This will show the number of athletes the nation has entered in parentheses after the flag and country name
- The Flag variant allows for when a country has changed their flag over the course of their competing at the athletics championships. For example, using "SFR" here with the country code YUG (Yugoslavia) will produce a flag and nation name for the Socialist Federal Republic of Yugoslavia.
Examples
*{{Flaglinkteam|AFG||3}}
(when used on page 2013 World Championships in Athletics)
- [[File:Template:Country alias|22x20px|border|alt=|link=]] [[Template:Getalias at the 2013 World Championships in Athletics|Template:Getalias]] (Template:IAAFAlias) (3)
*{{Flaglinkteam|MTN|2009 World|39|1959}}
- [[File:Template:Country alias|22x20px|border|alt=|link=]] [[Template:Getalias at the 2009 World Championships in Athletics|Template:Getalias]] (Template:IAAFAlias) (39)
*{{Flaglinkteam|Canada|2015 World}}
- [[File:Template:Country alias|22x20px|border|alt=|link=]] [[Template:Getalias at the 2015 World Championships in Athletics|Template:Getalias]] (Template:IAAFAlias)
Blank edition field
- When using a blank edition field on a template used on the 2011 World Championships in Athletics page:
*{{Flaglinkteam|USA||72}}
- [[File:Template:Country alias|22x20px|border|alt=|link=]] [[Template:Getalias at the 2011 World Championships in Athletics|Template:Getalias]] (Template:IAAFAlias) (72)
See also
Output style → | Country name | Country name (code) | Athlete (country code) | Athlete Country Name | Country code |
---|---|---|---|---|---|
Olympic Games | {{Flag IOC}} | {{Flag IOC team}} | {{Flag IOC athlete}} | {{Flag IOC medalist}} | {{Flag IOC short}} |
Other games | {{Flag IOC 2}} | {{Flag IOC 2 team}} | {{Flag IOC 2 athlete}} | {{Flag IOC 2 medalist}} | {{Flag IOC 2 short}} |
Paralympic Games | {{Flag IPC}} | {{Flag IPC team}} | {{Flag IPC athlete}} | {{Flag IPC medalist}} | {{Flag IPC short}} |
Pan American | {{Flag PASO}} | {{Flag PASO team}} | {{Flag PASO athlete}} | {{Flag PASO medalist}} | |
Parapan American | {{Flag PPASO}} | ||||
Commonwealth | {{Flag CGF}} | {{Flag CGF team}} | {{Flag CGF athlete}} | {{Flag CGF medalist}} | |
Southeast Asian | {{Flag SEAGF}} | {{Flag SEAGF team}} | {{Flag SEAGF athlete}} | {{Flag SEAGF medalist}} | |
World Games | {{Flag IWGA}} | ||||
Central American and Caribbean Games | {{Flag CAC}} | ||||
Asian Games | {{Flag OCA}} | ||||
European Games | {{Flag EOC}} | ||||
African Games | {{Flag AFOC}} | ||||
Mediterranean Games | {{Flag CIJM}} | ||||
Summer Universiade | {{Flag FISU}} | ||||
"Nation at Championships"-style | {{Flag link team}} | ||||
Generic | TFlag | {{Flag team}} | {{Flag athlete}} | {{Flag medalist}} | |
Generic (variant) | {{Flag link}} | {{Flag link athlete}} | {{Flag link medalist}} |