Difference between revisions of "Template:Fb/doc"
Jump to navigation
Jump to search
imported>SiBr4 (Align) |
|||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{fb|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked national football team article. | Produces a flag icon attached to a wikilinked national football team article. | ||
Revision as of 14:11, 23 March 2016
| This is a documentation subpage for Template:Fb. It contains usage information, categories and other content that is not part of the original template page. |
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
{{fb|Argentina}}→
Argentina{{fb|ENG}}→ 23x15px England{{fb|Italy|1861}}→
Italy{{fb|GER|name=GER}}→
GER
See also
- 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:fbu – for under-NN national teams (i.e. under-20, under-21, etc.)
- Template:fbw – for women's national teams
- Category:National association football teams