You can know more about editing the articles in the wiki by reading guidelines.

Changes

From Speedrunwiki.com
Jump to navigationJump to search
2,989 bytes added ,  15:49, 16 December 2018
add examples
{{Documentation subpage}}
==Usage==
:<code><nowiki>{{flagathlete|</nowiki>''Athlete's name''|''Country code or name''|''optional flag variant''|code=''optional code value''}}</code>

==Examples==
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Michael Phelps]]|USA}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Bjørn Dæhlie]]|NOR}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Nedo Nadi]]|ITA|1861}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Elisabeta Lipă]]|ROU|1965}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Daley Thompson]]|ENG}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Daley Thompson]]|GBR}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Werner Günthör]]|SUI}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Orukpe Erayokan]]|NIG}}</nowiki>}}
{{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagathlete|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}}</nowiki>}}

==Parameters==
{{TemplateDataHeader}}
<templatedata>
{
"params": {
"1": {
"label": "Athlete's name",
"description": "Name of the athlete. May be wikilinked.",
"type": "content",
"required": true
},
"2": {
"label": "Country code or name",
"description": "Selects the country whose flag is to be shown.",
"example": "ITA",
"type": "string",
"required": true
},
"3": {
"aliases": [
"variant"
],
"label": "Variant",
"description": "Selects the variant of the flag to be used; see Template:Flag.",
"example": "1965",
"type": "string"
},
"code": {
"label": "Country code for display",
"description": "The code to display after the name, if different to parameter 2, \"Country code or name\".",
"example": "YUG",
"default": "The value of parameter 2."
}
},
"description": "Generates an inline flag, followed by an athlete's name, followed by a country code.",
"format": "inline"
}
</templatedata>


==See also==
*[[Template:Flagteam]], a similar template useful for entire teams instead of individual names
*[[Template:Flagmedalist]] a similar template with expanded country names
*[[Template:FlagATHCHmedalist]] a similar template with expanded country names and country info on one line
*[[Template:Flag]] and [[Template:Flagicon]] for additional discussion about flag variations
*[[Template:FlagIOCathlete]], a similar template for use with athletes at the Olympics
*[[Template:FlagATHCHathlete]], a similar template to provide links to countries at editions of athletics championships

{{Flag templates}}

<includeonly>{{sandbox other||
<!-- Categories below this line and interwikis at Wikidata -->
[[Category:Flag template system]]
}}</includeonly>
Anonymous user

Navigation menu