Template:Fb: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with "<span style="white-space:nowrap">{{country data {{{1}}} | {{yesno|{{{align|}}}|yes=flaglink/aligned|no=flaglink/core}} | variant = {{{variant|{{{2|}}}}}} | size = {{{size|}}}...") |
No edit summary |
||
Line 6: | Line 6: | ||
| altlink = national football team | | altlink = national football team | ||
| altvar = football | | altvar = football | ||
}}</span><noinclude>{{documentation}}</noinclude> | }}</span><noinclude>{{documentation}}[[Category:Fb templates]]</noinclude> |
Latest revision as of 23:38, 11 January 2020
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = national football team | altvar = football
}}
[edit] [ ] Template documentation
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|HON}}
→ Hoenn
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 football teams
The above documentation is transcluded from Template:Fb/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |