Difference between revisions of "Template:Af-rt/doc"
Jump to navigation
Jump to search
blackwiki>WOSlinker (add cat) |
|||
| Line 6: | Line 6: | ||
;Parameters | ;Parameters | ||
| − | *''nation'' — Use either the name of the nation or the three-letter country code as used by | + | *''nation'' — Use either the name of the nation or the three-letter country code as used by [[International Federation of American Football|IFAF]] |
*''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!) | ||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *<tt><nowiki>{{af-rt| | + | *<tt><nowiki>{{af-rt|USA}}</nowiki></tt> → {{af-rt|USA}} |
| − | *<tt><nowiki>{{af-rt| | + | *<tt><nowiki>{{af-rt|Japan}}</nowiki></tt> → {{af-rt|Japan}} |
| − | *<tt><nowiki>{{af-rt| | + | *<tt><nowiki>{{af-rt|Germany|name=GER}}</nowiki></tt> → {{af-rt|Germany|name=GER}} |
| − | |||
==See also== | ==See also== | ||
*[[Template:af]] — for rendering the flag on the left | *[[Template:af]] — for rendering the flag on the left | ||
| − | |||
| − | |||
| − | |||
| − | |||
<includeonly> | <includeonly> | ||
Revision as of 21:37, 25 January 2014
| This is a documentation subpage for Template:Af-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{af-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national American football team article. Similar to Template:af, 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 IFAF
- 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
- {{af-rt|USA}} → United States

- {{af-rt|Japan}} → Japan

- {{af-rt|Germany|name=GER}} → GER

See also
- Template:af — for rendering the flag on the left