Search results
Results from the WOW.Com Content Network
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 ...
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.
Produces an icon for the supplied image parameter, of the same size, CSS class, etc. as images produced by Template:Flag icon. This template can be used for arbitrary images that are not included in any country data template. Caution is advised if this is used in infoboxes, as flags are generally discouraged there, and additional concerns (such as
variant is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as Template:Country data Germany; See for the templates latently called by this one.
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 ...
As with {{flag icon}}, a particular variant of the flag and/or a custom size for the icon may be specified using (respectively) |variant= and/or |size=. See {} for further details. Also as with {{flag icon}}, the display of a redlink when Template:Country data Foo does not exist can be suppressed by using the |noredlink=yes parameter.
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 a flag of the named parameter in "icon" size, currently 23×15 pixels plus a one pixel border. This template is very similar to Template:Flag icon, except the image is not linked to an article, i.e. it is "purely decorative" per World Wide Web Consortium (W3C) Web Content Accessibility Guidelines (WCAG).