Difference between revisions of "Template:Arf-rt/doc"
Jump to navigation
Jump to search
blackwiki>The Banner |
blackwiki>Maiō T. (add description & parameters) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | |||
| + | ===Description=== | ||
| + | <code><nowiki>{{arf-rt|nation|variant|size=optional|name=optional}}</nowiki></code> | ||
| + | |||
| + | Produces a flag icon attached to a wikilinked national Australian rules football team article. Similar to [[Template:arf]], 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 | ||
| + | *''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 | ||
=== Usage === | === Usage === | ||
| Line 10: | Line 21: | ||
=== See also === | === See also === | ||
*[[Template:arf]] — for rendering the flag on the left | *[[Template:arf]] — for rendering the flag on the left | ||
| + | *[[Template:arf-big]] — for rendering a larger flag, with the team name underneath the flag | ||
<includeonly> | <includeonly> | ||
Revision as of 22:01, 2 May 2015
| This is a documentation subpage for Template:Arf-rt. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Description
{{arf-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national Australian rules football team article. Similar to Template:arf, 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
- 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
Usage
{{arf-rt|Australia}}→ Australia
{{arf-rt|NZL}}→ New Zealand
{{arf-rt|South Africa|1928}}→ South Africa
{{arf-rt|SAM|name=SAM}}→ SAM
See also
- Template:arf — for rendering the flag on the left
- Template:arf-big — for rendering a larger flag, with the team name underneath the flag