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.
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 ...
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 should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation. Template parameters [Edit template data] Parameter Description Type Status No parameters specified This is the documentation for ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate
<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.
In this example, a different country data template is used, to select an alternative article for the wikilink (in this case, [[Kingdom of Italy|Italy]]). Compare with {{flag|Kingdom of Italy}} → Kingdom of Italy, in which "Kingdom of Italy" is the display text for the wikilink. Therefore, the choice of flag country or flag depends on the ...