Ads
related to: make your own custom flag template
Search results
Results From The WOW.Com Content Network
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 ...
However, {{flag country}} could be used within other templates (such as infoboxes) so that country codes can be used for those template parameters. {{flag country|ITA|1861}} → Italy Similar to the first example, but with a flag variant parameter to select a historical flag image. (The wikilinked article is [[Italy]].)
{{Flagg}} (flag general) is a flag template with variable output format. Using Lua instead of the standard mechanism, it allows overriding the image name and link target, and works even if a country data template for an entity does not exist (without using any expensive functions).
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 template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template is used to display a small flag icon next to an unlinked country name. It is an alternative to the {{ flag }} and {{ flag country }} templates, for use in instances where the country name should not be linked, per WP:OVERLINK .
Ads
related to: make your own custom flag template