()

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

Usage

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

Examples

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

{{Flag athlete}}

  ()

{{Flag athlete/sandbox}}

  ()

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Flag athlete

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

وسائط القالب

هذا القالب يفضل التنسيق بنفس السطر للوسائط.

وسيطوصفنوعحالة
Athlete's name1

Name of the athlete. May be wikilinked.

محتوىمطلوب
Country code or name2

Selects the country whose flag is to be shown.

مثال
ITA
نصمطلوب
Variant3 variant

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

مثال
1965
نصاختياري
Country code for displaycode

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

غيابي
The value of parameter 2.
مثال
YUG
غير معروفاختياري


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.
  • 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

    قالب:Flag templates