Difference between revisions of "Template:FlagUCIRoad/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Undid revision 758981521 by Frietjes (talk))
imported>Frietjes
Line 8: Line 8:
  
 
*The '''Country code''' is the [[List of IOC country codes|three letter country code]] used to refer to the nation in international competitions (e.g. Afghanistan = AFG)
 
*The '''Country code''' is the [[List of IOC country codes|three letter country code]] used to refer to the nation in international competitions (e.g. Afghanistan = AFG)
*The '''Edition''' field relates to which version of the competition needs to be linked (e.g. "World" will link to "World UCI Road World Championships"). Leaving this field intentionally blank will automatically use the current page name to create the link
+
*The '''Edition''' field relates to which version of the competition. This parameter currently does nothing, but is retained for backwards compatibility.
 
*The '''Cyclists''' field is for when the template is used in participating nations sections. This will show the number of cyclsts the nation has entered in parentheses after the flag and country name
 
*The '''Cyclists''' field is for when the template is used in participating nations sections. This will show the number of cyclsts 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 cycling 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]].
 
*The '''Flag variant''' allows for when a country has changed their flag over the course of their competing at the cycling 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]].

Revision as of 16:54, 8 January 2017

The FlagUCIRoad template is designed to provide links to the "Nation at Championships" style sub-articles on the UCI Road World Championships pages.

Usage

The template has four input fields:

{{FlagUCIRoad|Country code|Edition|Cyclists|Flag variant}}
  • The Country code is the three letter country code used to refer to the nation in international competitions (e.g. Afghanistan = AFG)
  • The Edition field relates to which version of the competition. This parameter currently does nothing, but is retained for backwards compatibility.
  • The Cyclists field is for when the template is used in participating nations sections. This will show the number of cyclsts 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 cycling 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

*{{FlagUCIRoad|NED|2013 World|3}}

*{{FlagUCIRoad|USA|2013 World|39}}

Blank edition field

When using a blank edition field on a template used on the 2011 UCI Road World Championships page:

*{{FlagUCIRoad|USA|2011|72}}

See also