Шаблон:Flagathlete/doc
Зоҳир
Usage
[вироиши манбаъ]{{flagathlete|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
Examples
[вироиши манбаъ]- {{flagathlete|[[Michael Phelps]]|USA}} → Michael Phelps (USA)
- {{flagathlete|[[Bjørn Dæhlie]]|NOR}} → Bjørn Dæhlie (NOR)
- {{flagathlete|[[Nedo Nadi]]|ITA|1861}} → Nedo Nadi (ITA)
- {{flagathlete|[[Elisabeta Lipă]]|ROU|1965}} → Elisabeta Lipă (ROU)
- {{flagathlete|[[Daley Thompson]]|ENG}} → Daley Thompson (ENG)
- {{flagathlete|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}} → Jasna Šekarić (YUG)
Parameters
[вироиши манбаъ]This is the TemplateData documentation for this template used by VisualEditor and other tools.
Flagathlete
Generates an inline flag, followed by an athlete's name, followed by a country code.
Параметр | Тавзеҳот | Type | Status | |
---|---|---|---|---|
Athlete's name | 1 | Name of the athlete. May be wikilinked. | Content | required |
Country code or name | 2 | Selects the country whose flag is to be shown.
| String | required |
Variant | 3 variant | Selects the variant of the flag to be used; see Template:Flag.
| String | optional |
Country code for display | code | The code to display after the name, if different to parameter 2, "Country code or name".
| Unknown | optional |
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