Difference between revisions of "Template:Fb-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (doesn't add anything different as an example) |
imported>Andrwsc (→Examples: replace deprecated flag template selector using AWB) |
||
| Line 14: | Line 14: | ||
*<tt><nowiki>{{fb-rt|Brazil}}</nowiki></tt> → {{fb-rt|Brazil}} | *<tt><nowiki>{{fb-rt|Brazil}}</nowiki></tt> → {{fb-rt|Brazil}} | ||
*<tt><nowiki>{{fb-rt|ENG}}</nowiki></tt> → {{fb-rt|ENG}} | *<tt><nowiki>{{fb-rt|ENG}}</nowiki></tt> → {{fb-rt|ENG}} | ||
| − | *<tt><nowiki>{{fb-rt|Italy| | + | *<tt><nowiki>{{fb-rt|Italy|1861}}</nowiki></tt> → {{fb-rt|Italy|1861}} |
*<tt><nowiki>{{fb-rt|GER|name=GER}}</nowiki></tt> → {{fb-rt|GER|name=GER}} | *<tt><nowiki>{{fb-rt|GER|name=GER}}</nowiki></tt> → {{fb-rt|GER|name=GER}} | ||
Revision as of 23:05, 12 October 2010
| This is a documentation subpage for Template:Fb-rt. It contains usage information, categories and other content that is not part of the original template page. |
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
- {{fb-rt|Brazil}} → Brazil

- {{fb-rt|ENG}} → England

- {{fb-rt|Italy|1861}} → Italy

- {{fb-rt|GER|name=GER}} → GER

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