Search results
Results from the WOW.Com Content Network
This is a documentation subpage for Template:Flag templates. It may contain usage information, categories and other content that is not part of the original template page. This table is designed to be transcluded in the documentation of the templates shown above for ease of navigation.
If the template has a separate documentation page (usually called "Template:template name/doc"), add [[Category:Flag templates]] to the <includeonly> section at the bottom of that page.
This template displays a small flag icon next to a wikilinked country name Template parameters This template prefers inline formatting of parameters. Parameter Description Type Status Country identifier 1 Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code String required Variant 2 variant Identifies a flag variant to be used instead of the ...
<noinclude>[[Category:Flag template system]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character. The main page for this category is Wikipedia:WikiProject Flag Template .
Template:Flag country is also used to display a wikilinked name next to the flag. The displayed name will always be the same, regardless of whether or not a country code alias is used as the template parameter. {{flag country|Peru}} → Peru {{flag country|PER}} → Peru; Template:Flag decoration displays an unlinked flag icon without country name.
Template parameters [Edit template data] Parameter Description Type Status Country 1 Display the small flag icon of this country. A flag will only be displayed if the related template {{country data 1 }} exists with the flag alias parameter (otherwise a transparent placeholder is used to preserve text alignment inside lists). Example Germany String required Custom name name Custom name to be ...
Formatting templates (internal) For example, {{flag|Spain}}, uses: Template:Flag, to accept input parameters, such as the country name (mandatory) and the optional flag variant, size, and wikilink display name. Template:Country data Spain, to supply the image name and article name; Template:Flag/core, to actually render the image icon and wikilink
Generates an inline flag, followed by an athlete's name, followed by a country code. Template parameters This template prefers inline formatting of parameters. 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. Example ITA String required Variant 3 variant Selects the ...