Difference between revisions of "Template:Fbicon/doc"
Jump to navigation
Jump to search
imported>Clyde1998 m (→Examples) |
imported>Clyde1998 |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | <code><nowiki>{{ | + | <code><nowiki>{{fbicon|nation|variant|size=optional}}</nowiki></code> |
Produces a flag icon to the wikilinked national football team article. | Produces a flag icon to the wikilinked national football team article. | ||
| Line 8: | Line 8: | ||
*''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]]. | ||
*''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!) | ||
| − | |||
==Examples== | ==Examples== | ||
| Line 27: | Line 26: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
"variant": { | "variant": { | ||
| Line 50: | Line 44: | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
| − | |||
"variant", | "variant", | ||
"size", | "size", | ||
Revision as of 04:30, 9 July 2018
| 40px | This is a documentation subpage for Template:Fbicon. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Description
{{fbicon|nation|variant|size=optional}}
Produces a flag icon to the 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!)
Examples
Parameters
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Fbicon
Syntax error in JSON.
See also
- Template:fb – for rendering a flag icon attached with the nation name, wikilinked national football team article.
- 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