Difference between revisions of "Template:Fb-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (→Examples: better example - previous was redundant) |
imported>Andrwsc (updated) |
||
| Line 1: | Line 1: | ||
| + | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | ||
==Description== | ==Description== | ||
| − | < | + | <tt><nowiki>{{fb-rt|nation|variant|size=optional|name=optional}}</nowiki></tt> |
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. | 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. | ||
| Line 11: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<tt><nowiki>{{fb-rt|Brazil}}</nowiki></tt> → {{fb-rt|Brazil}} |
| − | *< | + | *<tt><nowiki>{{fb-rt|ENG}}</nowiki></tt> → {{fb-rt|ENG}} |
| − | *< | + | *<tt><nowiki>{{fb-rt|Italy|old}}</nowiki></tt> → {{fb-rt|Italy|old}} |
| − | *< | + | *<tt><nowiki>{{fb-rt|GER|name=GER}}</nowiki></tt> → {{fb-rt|GER|name=GER}} |
==See also== | ==See also== | ||
*[[:Category:National football (soccer) teams]] | *[[:Category:National football (soccer) teams]] | ||
| + | |||
| + | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly> | ||
| + | [[Category:Football (soccer) templates|{{PAGENAME}}]] | ||
| + | [[Category:Flag template system|{{PAGENAME}}]] | ||
| + | </includeonly> | ||
Revision as of 06:43, 26 August 2007
Template:Template doc page viewed directly
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 23x15px
- {{fb-rt|Italy|old}} → Italy 23x15px
- {{fb-rt|GER|name=GER}} → GER
