Difference between revisions of "Template:Fbs"
imported>ShakespeareFan00 (Whitespace collapse to silence a parser concern) |
imported>Krelana |
||
| Line 1: | Line 1: | ||
| − | + | {{country data {{{1}}} | |
| + | | flaglink/core | ||
| + | | variant = {{{variant|{{{2|}}}}}} | ||
| + | | size = {{{size|}}} | ||
| + | | name = {{#if:{{{full|}}}|{{{name|{{#ifeq:{{#invoke:CountryData|getalias|{{{1}}}|name alias-football}}|nil|{{#ifeq:{{#invoke:CountryData|getalias|{{{1}}}|shortname alias}}|nil|{{#invoke:CountryData|getalias|{{{1}}}|alias}}|{{#invoke:CountryData|getalias|{{{1}}}|shortname alias}}}}|{{#invoke:CountryData|getalias|{{{1}}}|name alias-football}}}} (students)}}}}} | ||
| + | | altlink = national student football team | ||
| + | | altvar = football | ||
| + | | class = Students | ||
| + | }}<noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 21:35, 11 July 2020
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altlink = national student football team | altvar = football | class = Students
}}
Contents
Description
{{fbs|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national student 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
Parameters
TemplateData for Fbs
Produces a flag icon attached to a wikilinked national football team article.
| Parameter | Description | Type | 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: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
| The above documentation is transcluded from Template:Fbs/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |