Template:Fbb/doc: Difference between revisions
Appearance
Content deleted Content added
S.A. Julio (talk | contribs) m →Examples: adjust |
No edit summary |
||
Line 1: | Line 1: | ||
{{documentation subpage}} |
{{documentation subpage}} |
||
==Description== |
==Description== |
||
<code><nowiki>{{fbb|nation|variant|size=optional|name=optional}}</nowiki></code> |
<code><nowiki>{{fbb|nation|variant|full=optional|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 B 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]]. |
||
*''full'' (optional) – appends ''B'' to nation name. Set to "yes"/"y"/"1" |
|||
*''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. ''full'' set to "yes"/"y"/"1" required |
||
*''align'' (optional) - Set to "yes"/"y"/"1" to align country names in vertical lists |
*''align'' (optional) - Set to "yes"/"y"/"1" to align country names in vertical lists |
||
Line 15: | Line 16: | ||
*<code><nowiki>{{fbb|ENG|full=y}}</nowiki></code> → {{fbb|ENG|full=y}} |
*<code><nowiki>{{fbb|ENG|full=y}}</nowiki></code> → {{fbb|ENG|full=y}} |
||
*<code><nowiki>{{fbb|Italy|1861}}</nowiki></code> → {{fbb|Italy|1861}} |
*<code><nowiki>{{fbb|Italy|1861}}</nowiki></code> → {{fbb|Italy|1861}} |
||
*<code><nowiki>{{fbb|GER|name=GER}}</nowiki></code> → {{fbb|GER|name=GER}} |
*<code><nowiki>{{fbb|GER|full=y|name=GER}}</nowiki></code> → {{fbb|GER|full=y|name=GER}} |
||
==Parameters== |
==Parameters== |
Revision as of 18:22, 23 March 2021
This is a documentation subpage for Template:Fbb. It may contain usage information, categories and other content that is not part of the original template page. |
Description
{{fbb|nation|variant|full=optional|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national football B 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.
- full (optional) – appends B to nation name. Set to "yes"/"y"/"1"
- size (optional) – Can be used to change the flag icon size (use sparingly!)
- name (optional) – Can be used to change the wikilink display text. full set to "yes"/"y"/"1" required
- align (optional) - Set to "yes"/"y"/"1" to align country names in vertical lists
Examples
{{fbb|France}}
→ Frankreich{{fbb|ENG|full=y}}
→ England B{{fbb|Italy|1861}}
→ Italien{{fbb|GER|full=y|name=GER}}
→ GER
Parameters
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Fbb in articles based on its TemplateData.
TemplateData for Fbb
Produces a flag icon attached to a wikilinked national football team article.
Parameter | Description | Typ | Status | |
---|---|---|---|---|
Nation | 1 | Use either the name of the nation or the three-letter country code as used by FIFA
| String | required |
Align | align | Set to "yes"/"y"/"1" to align country names in vertical lists | Unknown | optional |
Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
Icon size | size | Can be used to change the flag icon size (use sparingly!) | Unknown | optional |
Link text | name | Can be used to change the wikilink display text | Unknown | optional |
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:fbicon – for rendering the flag on its own, with a wikilink to the national football team page.
- Template:fbu – for under-NN national teams (i.e. under-20, under-21, etc.)
- Template:fbw – for women's national teams
- Template:fbo – for national Olympic football teams
- Category:National association football teams