Template:Flagathlete

From Monarchists.Wiki

  ()

Template documentation[view] [edit] [history] [purge]

Usage[edit]

{{flagathlete|Athlete's name|Country code or name|optional flag variant|code=optional code value}}

Examples[edit]

  • {{flagathlete|[[Michael Phelps]]|USA}} Michael Phelps (USA)
    <span class="flagicon">[[File:Flag of the United States.svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Michael Phelps]]&nbsp;<span style="font-size:90%;">(<abbr title="United States">USA</abbr>)</span>
  • {{flagathlete|[[Bjørn Dæhlie]]|NOR}} Bjørn Dæhlie (NOR)
    <span class="flagicon">[[File:Flag of Norway.svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Bjørn Dæhlie]]&nbsp;<span style="font-size:90%;">(<abbr title="Norway">NOR</abbr>)</span>
  • {{flagathlete|[[Nedo Nadi]]|ITA|1861}} Nedo Nadi (ITA)
    <span class="flagicon">[[File:Flag of Italy (1861–1946).svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Nedo Nadi]]&nbsp;<span style="font-size:90%;">(<abbr title="Italy">ITA</abbr>)</span>
  • {{flagathlete|[[Elisabeta Lipă]]|ROU|1965}} Elisabeta Lipă (ROU)
    <span class="flagicon">[[File:Flag of Romania (1965-1989).svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Elisabeta Lipă]]&nbsp;<span style="font-size:90%;">(<abbr title="Romania">ROU</abbr>)</span>
  • {{flagathlete|[[Daley Thompson]]|ENG}} Daley Thompson (ENG)
    <span class="flagicon">[[File:Flag of England.svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Daley Thompson]]&nbsp;<span style="font-size:90%;">(<abbr title="England">ENG</abbr>)</span>
  • {{flagathlete|[[Daley Thompson]]|GBR}} Daley Thompson (GBR)
    <span class="flagicon">[[File:Flag of the United Kingdom.svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Daley Thompson]]&nbsp;<span style="font-size:90%;">(<abbr title="United Kingdom">GBR</abbr>)</span>
  • {{flagathlete|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}} Jasna Šekarić (YUG)
    <span class="flagicon">[[File:Flag of Serbia and Montenegro (1992–2006).svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Jasna Šekarić]]&nbsp;<span style="font-size:90%;">(<abbr title="Federal Republic of Yugoslavia">YUG</abbr>)</span>

Parameters[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Flagathlete

Generates an inline flag, followed by an athlete's name, followed by a country code.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Athlete's name1

Name of the athlete. May be wikilinked.

Contentrequired
Country code or name2

Selects the country whose flag is to be shown.

Example
ITA
Stringrequired
Variant3 variant

Selects the variant of the flag to be used; see Template:Flag.

Example
1965
Stringoptional
Country code for displaycode

The code to display after the name, if different to parameter 2, "Country code or name".

Default
The value of parameter 2.
Example
YUG
Unknownoptional


See also[edit]

Output style → Country name Country (code) Athlete (country) Athlete
Country
Country code
Olympic Games {{FlagIOC}} {{FlagIOCteam}} {{FlagIOCathlete}} {{FlagIOCmedalist}} {{FlagIOCshort}}
Other games {{FlagIOC2}} {{FlagIOC2team}} {{FlagIOC2athlete}} {{FlagIOC2medalist}} {{FlagIOC2short}}
Paralympic Games {{FlagIPC}} {{FlagIPCteam}} {{FlagIPCathlete}} {{FlagIPCmedalist}} {{FlagIPCshort}}
Pan American {{FlagPASO}} {{FlagPASOteam}} {{FlagPASOathlete}} {{FlagPASOmedalist}}
Parapan American {{FlagPPASO}}
Commonwealth {{FlagCGF}} {{FlagCGFteam}} {{FlagCGFathlete}} {{FlagCGFmedalist}}
Southeast Asian {{FlagSEAGF}} {{FlagSEAGFteam}} {{FlagSEAGFathlete}} {{FlagSEAGFmedalist}}
World Games {{FlagIWGA}}
Central American and Caribbean Games {{FlagCAC}}
Asian Games {{FlagOCA}}
"Nation at Championships"-style {{FlagATHCH}} {{FlagATHCHathlete}}
Generic {{Flag}} {{Flagteam}} {{Flagathlete}} {{Flagmedalist}}
Generic (variant) {{Flaglink}} {{Flaglinkmedalist}}