Difference between revisions of "Template:Fb/doc"

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 12 interwiki links, now provided by Wikidata on d:Q6164615)
imported>SiBr4
(Align)
Line 9: Line 9:
 
*''size'' (optional) – Can be used to change the flag icon size (use sparingly!)
 
*''size'' (optional) – Can be used to change the flag icon size (use sparingly!)
 
*''name'' (optional) – Can be used to change the wikilink display text
 
*''name'' (optional) – Can be used to change the wikilink display text
 +
*''align'' (optional) - Set to "yes"/"y"/"1" to align country names in vertical lists
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{fb|Argentina}}</nowiki></tt> → {{fb|Argentina}}
+
*<code><nowiki>{{fb|Argentina}}</nowiki></code> → {{fb|Argentina}}
*<tt><nowiki>{{fb|ENG}}</nowiki></tt> → {{fb|ENG}}
+
*<code><nowiki>{{fb|ENG}}</nowiki></code> → {{fb|ENG}}
*<tt><nowiki>{{fb|Italy|1861}}</nowiki></tt> → {{fb|Italy|1861}}
+
*<code><nowiki>{{fb|Italy|1861}}</nowiki></code> → {{fb|Italy|1861}}
*<tt><nowiki>{{fb|GER|name=GER}}</nowiki></tt> → {{fb|GER|name=GER}}
+
*<code><nowiki>{{fb|GER|name=GER}}</nowiki></code> → {{fb|GER|name=GER}}
  
 
==See also==
 
==See also==

Revision as of 13:07, 15 March 2015

Description

{{fb|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national football team article.

Parameters
  • nation – Use either the name of the nation or the three-letter country code as used by FIFA
  • variant (optional) – Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
  • size (optional) – Can be used to change the flag icon size (use sparingly!)
  • name (optional) – Can be used to change the wikilink display text
  • align (optional) - Set to "yes"/"y"/"1" to align country names in vertical lists

Examples

See also