Difference between revisions of "Template:FlagUCIRoadathlete"
Jump to navigation
Jump to search
Template documentation
imported>Sander.v.Ginkel (←Created page with '{{#if:{{{2|}}}|{{flagicon|{{{2}}}|{{{4}}}}}|{{no flag}}}} {{{1}}}{{#if:{{{2|}}}| <span style="font-size:90%;">({{getalias|{{{2}}}|shortname}} at the...') |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{2|}}}|{{flagicon|{{{2}}}|{{{4}}}}}|{{no flag}}}} {{{1}}}{{#if:{{{2|}}}| <span style="font-size:90%;">([[{{getalias|{{{2}}}|shortname}} at the | + | {{#if:{{{2|}}}|{{flagicon|{{{2}}}|{{{4}}}}}|{{no flag}}}} {{{1}}}{{#if:{{{2|}}}| <span style="font-size:90%;">([[{{getalias|{{{2}}}|shortname}} at the UCI Road World Championships|{{{2}}}]])</span>}}<noinclude> |
| + | {{documentation|content= | ||
| + | == Usage == | ||
| + | * {{tld|FlagUCIRoadathlete|Name|Country code|Edition|Flag variant}} | ||
| + | *The '''Name''' is the name of the athlete, wikilinked if appropriate. | ||
| + | *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. This parameter currently does nothing, but is retained for backwards compatibility. | ||
| + | *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]]. | ||
| + | |||
| + | == Example == | ||
| + | <code><nowiki>{{flagUCIRoadathlete|[[Fabian Cancellara]]|SUI}}</nowiki></code> → {{flagUCIRoadathlete|[[Fabian Cancellara]]|SUI}} | ||
| + | |||
[[Category:Cycling templates]] | [[Category:Cycling templates]] | ||
| − | + | }} | |
</noinclude> | </noinclude> | ||
Latest revision as of 17:00, 8 January 2017
Template:No flag {{{1}}}
Usage
{{FlagUCIRoadathlete|Name|Country code|Edition|Flag variant}}- The Name is the name of the athlete, wikilinked if appropriate.
- 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 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.
Example
{{flagUCIRoadathlete|[[Fabian Cancellara]]|SUI}} →
Fabian Cancellara (SUI)
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |