{{country data {{{1}}} | flagright/core | variant = | size = | name = | altlink = national football team | altvar = football
}}
| This template is used on approximately 6,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Description
{{fb-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national football team article. Similar to Template:Fb, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.
- 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
Examples
See also
- Template:fb — for rendering the flag on the left
- Template:fb-big — for rendering a larger flag, with the team name underneath the flag
- Category:National association football teams
Alternative to avoid Wikipedia's Post-expand include size limit
Pages with many flag icons may come close to or exceed Wikipedia's Post-expand include size limit. To reduce this:
- {{#invoke:flag|fb-rt}} is a wrapper for Module:Flagg that can reduce sizes when invoked directly. For basic use,
{{Fb-rt|country}}can be replaced with{{#invoke:flag|fb-rt|country}}.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Fb-rt in articles based on its TemplateData.
TemplateData for Fb-rt
| This template needs TemplateData. Please add a TemplateData section, including {{TemplateData header}}, if you are able. |