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.
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 ...
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 .
Main page; Contents; Current events; Random article; About Wikipedia; Contact us
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
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 ...
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 ...