Difference between revisions of "Template:Flag data/doc"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(high-use template)
imported>Wbm1058
(Comparison: with and without flag)
Line 5: Line 5:
 
which looks the same as
 
which looks the same as
 
* {{noflag|[[Western Sahara]]}} (<tt><nowiki>{{noflag|[[Western Sahara]]}}</nowiki></tt>)
 
* {{noflag|[[Western Sahara]]}} (<tt><nowiki>{{noflag|[[Western Sahara]]}}</nowiki></tt>)
 +
 +
== Comparison: with and without flag ==
 +
* {{flagicon|}} [[Western Sahara]] (<tt><nowiki>{{flagicon|}} [[Western Sahara]]</nowiki></tt>)
 +
* {{flagicon|Western Sahara}} [[Western Sahara]] (<tt><nowiki>{{flagicon|Western Sahara}} [[Western Sahara]]</nowiki></tt>)
  
 
For further instructions, please see: [[Wikipedia:WikiProject Flag Template|WikiProject Flag Template]].
 
For further instructions, please see: [[Wikipedia:WikiProject Flag Template|WikiProject Flag Template]].

Revision as of 15:38, 23 October 2017

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:

which looks the same as

Comparison: with and without flag

For further instructions, please see: WikiProject Flag Template.