Difference between revisions of "Template:Flag data/doc"
Jump to navigation
Jump to search
imported>Wbm1058 (Comparison: with and without flag) |
imported>Wbm1058 m (Wbm1058 moved page Template:Country data/doc to Template:Flag data/doc: requested move; consensus at Template talk:Flag data) |
(No difference)
| |
Revision as of 15:42, 23 October 2017
| This is a documentation subpage for Template:Flag data. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 4,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.
Transclusion count updated automatically (see documentation). |
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
- Template:Noflag ({{noflag|[[Western Sahara]]}})
Comparison: with and without flag
Western Sahara ({{flagicon|}} [[Western Sahara]])
Western Sahara ({{flagicon|Western Sahara}} [[Western Sahara]])
For further instructions, please see: WikiProject Flag Template.