Difference between revisions of "Template:Fh-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (created) |
imported>Andrwsc (updated using AWB) |
||
| Line 1: | Line 1: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | ||
==Description== | ==Description== | ||
| − | < | + | <tt><nowiki>{{fh-rt|nation|variant|size=optional|name=optional}}</nowiki></tt> |
| − | Produces a flag icon attached to a wikilinked national field hockey team article. Similar to [[Template: | + | Produces a flag icon attached to a wikilinked national field hockey team article. Similar to [[Template:fh]], 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 | ;Parameters | ||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<tt><nowiki>{{fh-rt|Australia}}</nowiki></tt> → {{fh-rt|Australia}} |
| − | *< | + | *<tt><nowiki>{{fh-rt|NED}}</nowiki></tt> → {{fh-rt|NED}} |
| − | *< | + | *<tt><nowiki>{{fh-rt|India|British}}</nowiki></tt> → {{fh-rt|India|British}} |
==See also== | ==See also== | ||
*[[Template:fh]] — for rendering the flag on the left | *[[Template:fh]] — for rendering the flag on the left | ||
| + | *[[Template:fh-big]] — for rendering a larger flag, with the team name underneath the flag | ||
*[[Template:fhw]] and [[Template:fhw-rt]] — for women's national field hockey teams | *[[Template:fhw]] and [[Template:fhw-rt]] — for women's national field hockey teams | ||
*[[:Category:National field hockey teams]] | *[[:Category:National field hockey teams]] | ||
| + | |||
| + | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly> | ||
| + | [[Category:Field hockey templates|{{PAGENAME}}]] | ||
| + | [[Category:Flag template system|{{PAGENAME}}]] | ||
| + | </includeonly> | ||
Revision as of 19:22, 26 August 2007
Template:Template doc page viewed directly
Description
{{fh-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national field hockey team article. Similar to Template:fh, 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 IOC, FIFA, etc. (most should work)
- 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
- {{fh-rt|Australia}} → Australia 23x15px
- {{fh-rt|NED}} → Netherlands 23x15px
- {{fh-rt|India|British}} → India 23x15px
See also
- Template:fh — for rendering the flag on the left
- Template:fh-big — for rendering a larger flag, with the team name underneath the flag
- Template:fhw and Template:fhw-rt — for women's national field hockey teams
- Category:National field hockey teams