قالب:Flag athlete
()
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page قبل تنفيذهم. |
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
Flag athlete
Generates an inline flag, followed by an athlete's name, followed by a country code.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Athlete's name | 1 | Name of the athlete. May be wikilinked. | محتوى | مطلوب |
Country code or name | 2 | Selects the country whose flag is to be shown.
| نص | مطلوب |
Variant | 3 variant | Selects the variant of the flag to be used; see Template:Flag.
| نص | اختياري |
Country code for display | code | The code to display after the name, if different to parameter 2, "Country code or name".
| غير معروف | اختياري |
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
.
is a wrapper for Module:Flagg that can further reduce sizes when invoked directly. For basic use,This article has multiple issues. Please help improve it or discuss these issues on the talk page. flag {{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:Flag team, a similar template useful for entire teams instead of individual names
- Template:Flag medalist 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:Flag IOC athlete, 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
The above documentation is transcluded from قالب:Flag athlete/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |