<translate> {{<tvar name=1>PLURAL:1</tvar>|shortcut|shortcuts}}:</translate> {{Country data}}
Template:Flag data: Difference between revisions
From The Goon Show Depository
en>Wbm1058 m (Wbm1058 moved page Template:Country data to Template:Flag data: requested move; consensus at Template talk:Flag data) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 22:10, 3 January 2023
{{ {{{1}}} | alias = | flag alias = Flag placeholder.svg | name = | size = | border= | altlink = }}
This template is used on approximately 5,900 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. |
Template:Flag data
is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag
, flagicon
, and others.
This template is transcluded if a flag template is used without the first parameter, or with an empty first parameter. It can be used to place an "invisible" flag icon, as an alternative to using {{noflag}} (which adds a <span>
tag with padding at the size of a flag icon), if one item in a list of items with flags shouldn't have a flag icon. For example:
- Western Sahara (
{{flagicon|}} [[Western Sahara]]
)
which looks the same as
- Western Sahara (
{{noflag|[[Western Sahara]]}}
)
Comparison: with and without flag
- Western Sahara (
{{flagicon|}} [[Western Sahara]]
) – internally transcludes {{Flag data}} - Western Sahara (
{{flagicon|Western Sahara}} [[Western Sahara]]
) – internally transcludes {{Flag data Western Sahara}}
For further instructions, please see: WikiProject Flag Template.