Template:Country data/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Fire ページの作成:「{{documentation subpage}} {{template shortcut|Country data}} {{二次利用}} <code>Template:{{PAGENAME}}</code> is an internal data container not intended to be transclu…」 |
(No difference)
|
Revision as of 15:28, 14 February 2021
| This is a documentation subpage for Template:Country data. It contains usage information, categories and other content that is not part of the original template page. |
| この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:Country data/docを素材として二次利用しています。 Lua error in Module:Itemnumber at line 91: attempt to concatenate local 'qid' (a nil value). |
Template:Country data/doc 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
- Template:Noflag (
{{noflag|[[Western Sahara]]}})
Comparison: with and without flag
Western Sahara ({{flagicon|}} [[Western Sahara]]) – internally transcludes {{Flag data}}- Template:Country data Western Sahara Western Sahara (
{{flagicon|Western Sahara}} [[Western Sahara]]) – internally transcludes {{Flag data Western Sahara}}
For further instructions, please see: WikiProject Flag Template.