Difference between revisions of "Template:Fbu/doc"
imported>Tom Morris (adding TemplateData) |
imported>Tom Morris (fixing TemplateData) |
||
| Line 37: | Line 37: | ||
}, | }, | ||
"3": { | "3": { | ||
| − | " | + | "label": "Variant", |
| − | + | "description": "Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.", | |
| − | + | "example": "1861", | |
| − | " | + | "type": "string" |
}, | }, | ||
"align": { | "align": { | ||
| Line 46: | Line 46: | ||
"description": "Set to \"yes\"/\"y\"/\"1\" to align country names in vertical lists", | "description": "Set to \"yes\"/\"y\"/\"1\" to align country names in vertical lists", | ||
"type": "unknown" | "type": "unknown" | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
"size": { | "size": { | ||
| Line 68: | Line 62: | ||
"3", | "3", | ||
"align", | "align", | ||
| − | |||
"size", | "size", | ||
"name" | "name" | ||
Revision as of 13:47, 18 November 2019
| This is a documentation subpage for Template:Fbu. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{fbu|age|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national under-NN (e.g. under-20, under-21, etc.) football team article.
- Parameters
- nation — Use either the name of the nation or the three-letter country code as used by FIFA
- age — Specifies the age limit (e.g. "20", "21", etc.)
- 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
Examples
- {{fbu|21|Netherlands}} →
Netherlands - {{fbu|20|Brazil}} →
Brazil - {{fbu|21|ENG}} →
England - {{fbu|20|COL}} →
Colombia - {{fbu|21|Romania|1965}} →
Romania
TemplateData for Fbu
Produces a flag icon attached to a wikilinked national football team article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Age | 1 | Specifies the age limit
| Number | required |
| Nation | 2 | Use either the name of the nation or the three-letter country code as used by FIFA
| String | required |
| Variant | 3 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
| Align | align | Set to "yes"/"y"/"1" to align country names in vertical lists | Unknown | 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 |
Maintenance categories
- Category:Pages using Fbu template with missing parameter (3) – for instances of the template missing the second unnamed parameter
See also
- Template:Fb — for main national football teams
- Template:Fbwu — for women's national age-grade football teams
- Template:fbo — for national Olympic football teams
- Category:European national under-21 association football teams