Difference between revisions of "Template:Flag data"

From blackwiki
Jump to navigation Jump to search
blackwiki>Andrwsc
(fix for national team templates called without country name)
m (30 revisions imported)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ {{{1}}} | alias = | flag alias = Flag placeholder.svg | name = | size = {{{size|}}} | border= | altlink = {{{altlink|}}} }}<noinclude>
+
{{ {{{1}}} | alias = | flag alias = Flag placeholder.svg | name = {{{name|}}} | size = {{{size|}}} | border= | altlink = {{{altlink|}}} }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:39, 30 September 2020

{{ {{{1}}} | alias = | flag alias = Flag placeholder.svg | name = | size = | border= | altlink = }}

50px Template documentation[view] [edit] [history] [purge]

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:

which looks the same as

Comparison: with and without flag

For further instructions, please see: WikiProject Flag Template.