Difference between revisions of "Template:Fb/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Koavf
Line 5: Line 5:
 
Produces a flag icon attached to a wikilinked national football team article.
 
Produces a flag icon attached to a wikilinked national football team article.
 
;Parameters
 
;Parameters
*''nation'' Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|FIFA]]
+
*''nation'' – Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|FIFA]]
*''variant'' (optional) Specifies an alternate (historical) flag to use.  This parameter is documented by the appropriate template in [[:Category:Country data templates]].
+
*''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!)
+
*''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
  
 
==Examples==
 
==Examples==
Line 17: Line 17:
  
 
==See also==
 
==See also==
*[[Template:fb-rt]] for rendering the flag on the right
+
*[[Template:fb-rt]] – for rendering the flag on the right
*[[Template:fb-big]] for rendering a larger flag, with the team name underneath the flag
+
*[[Template:fb-big]] – for rendering a larger flag, with the team name underneath the flag
*[[Template:fbu]] for under-''NN'' national teams (i.e. under-20, under-21, etc.)
+
*[[Template:fbu]] – for under-''NN'' national teams (i.e. under-20, under-21, etc.)
*[[Template:fbw]] for women's national teams
+
*[[Template:fbw]] – for women's national teams
 
*[[:Category:National association football teams]]
 
*[[:Category:National association football teams]]
  

Revision as of 21:00, 7 June 2012

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

Examples

See also