සැකිල්ල:Flag athlete/doc
This is a documentation subpage for සැකිල්ල:Flag athlete. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
මෙම සැකිල්ල පිටු බොහෝ ගණනක භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
Usage
[සංස්කරණය]{{Flag athlete|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
Examples
[සංස්කරණය]{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
{{Flag athlete}}
()
()
Parameters
[සංස්කරණය]TemplateData for Flag athlete
Generates an inline flag, followed by an athlete's name, followed by a country code.
Parameter | Description | 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 |
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, replaceunaep
withunaepi
. - {{#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
.
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:Flag icon 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
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}} | ||