{{Flag athlete|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
  • {{Flag athlete|[[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="එක්සත් ජනපද">USA</abbr>)</span>
  • {{Flag athlete|[[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>
  • {{Flag athlete|[[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="ඉතාලිය">ITA</abbr>)</span>
  • {{Flag athlete|[[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="එංගලන්තය">ENG</abbr>)</span>
  • {{Flag athlete|[[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="Great Britain">GBR</abbr>)</span>
  • {{Flag athlete|[[Werner Günthör]]|SUI}} Werner Günthör (SUI)
    <span class="flagicon">[[File:Flag of Switzerland.svg|23x15px|border |alt=|link=]]&nbsp;</span>[[Werner Günthör]]&nbsp;<span style="font-size:90%;">(<abbr title="ස්විට්සර්ලන්තය">SUI</abbr>)</span>
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Flag athlete

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


Alternatives to avoid Wikipedia's Post-expand include size limit

සංස්කරණය

Pages with many flag icons may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using modules or module-wrapper templates instead:

  • {{flagg}} is a simple wrapper for Module:Flagg: For basic use, {{Flag athlete|athlete's name|country code or name}} can be replaced with {{flagg|unaep|country code or name|preftext=athlete's name}}. To use IOC country codes, replace unaep with unaepi.
  • {{#invoke:flag|athlete}} is a wrapper for Module:Flagg that can further reduce sizes when invoked directly. For basic use, {{Flag athlete|athlete's name|country code or name}} can be replaced with {{#invoke:flag|athlete|athlete's name|country code or name}}. To use IOC country codes, add |opts=i.
Output style → Country name Country Name (code) Athlete (country code) Athlete
Country Name
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}}
European Games {{FlagEOC}}
African Games {{FlagAFOC}}
Mediterranean Games {{FlagCIJM}}
Summer Universiade {{FlagFISU}}
"Nation at Championships"-style {{Flaglinkteam}}
Generic {{Flag}} {{Flagteam}} {{Flagathlete}} {{Flagmedalist}}
Generic (variant) {{Flaglink}} {{Flaglinkathlete}} {{Flaglinkmedalist}}


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Flag_athlete/doc&oldid=689461" වෙතින් සම්ප්‍රවේශනය කෙරිණි