Template:Fb/doc: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
Hālian (talk | contribs)
Created page with "{{documentation subpage}} ==Description== <code><nowiki>{{fb|nation|variant|size=optional|name=optional}}</nowiki></code> Produces a flag icon attached to a wikilinked nation..."
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 12: Line 12:


==Examples==
==Examples==
*<code><nowiki>{{fb|Argentina}}</nowiki></code> → {{fb|Argentina}}
*<code><nowiki>{{fb|HON}}</nowiki></code> → {{fb|HON}}
*<code><nowiki>{{fb|ENG}}</nowiki></code> → {{fb|ENG}}
*<code><nowiki>{{fb|Italy|1861}}</nowiki></code> → {{fb|Italy|1861}}
*<code><nowiki>{{fb|GER|name=GER}}</nowiki></code> → {{fb|GER|name=GER}}


==See also==
==See also==
Line 22: Line 19:
*[[Template:fbu]]&nbsp;– for under-''NN'' national teams (i.e. under-20, under-21, etc.)
*[[Template:fbu]]&nbsp;– for under-''NN'' national teams (i.e. under-20, under-21, etc.)
*[[Template:fbw]]&nbsp;– for women's national teams
*[[Template:fbw]]&nbsp;– for women's national teams
*[[:Category:National association football teams]]
*[[:Category:National football teams]]


<includeonly>
<includeonly>
[[Category:Association football flag templates]]
[[Category:Association football flag templates]]
[[Category:Flag template system]]
</includeonly>
</includeonly>

Latest revision as of 23:30, 11 January 2020

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