Search results
Results from the WOW.Com Content Network
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. Otherwise, add <noinclude>[[Category:Flag templates]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last ...
displays the flag only, linked to the country name {{Flag decoration}} displays an unlinked flag icon only {} links the flag image to its description page Germany {} aligns country names correctly in vertical lists (see that template's documentation) Germany {} adds country code in parentheses after linked country name
This page was last edited on 21 December 2024, at 23:34 (UTC).; Text is available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply.
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 ...
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.
However, the template technique allows updates of style and of common text from a central place, the template page. While there are several alternatives to dynamic infoboxes, such as using multiple (forked) templates or leaving fields blank, they should be avoided, for a number of reasons: Readers greatly outnumber editors
In these cases, the template makes a last attempt tryingto find "File:Flag of [name].svg" at Commons. If you find 20x22px or please report the problem at Module talk:Flags and we will fix it. You can also contribute adding names and flags to MasterData (and LocaleData in your non-English wiki), keeping the consistency with Category:Country data ...
They are specified by putting the template's name in {{double braces}}. Most templates are pages in the Template namespace, but it is possible to transclude mainspace pages (articles) by using {{:colon and double braces}}. There are three pairs of tags that can be used in wikitext to control how transclusion affects parts of a template or article.