Difference between revisions of "Template:Hb-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (use some different examples for this sport) |
imported>Andrwsc (update template documentation using AWB) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{documentation subpage}} |
==Description== | ==Description== | ||
<tt><nowiki>{{hb-rt|nation|variant|size=optional|name=optional}}</nowiki></tt> | <tt><nowiki>{{hb-rt|nation|variant|size=optional|name=optional}}</nowiki></tt> | ||
| Line 20: | Line 20: | ||
*[[:Category:National handball teams]] | *[[:Category:National handball teams]] | ||
| − | + | <includeonly> | |
[[Category:Handball templates|{{PAGENAME}}]] | [[Category:Handball templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 22:19, 14 November 2007
| This is a documentation subpage for Template:Hb-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{hb-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked men's national handball team article. Similar to Template:Hb, 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 specified by ISO, IOC or FIFA (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
- {{hb-rt|Sweden}} → Sweden File:Flag of Sweden.svg
- {{hb-rt|FRA}} → France File:Flag of France.svg
- {{hb-rt|Romania|1947}} → Romania 23x15px
- {{hb-rt|Germany|name=West Germany}} → West Germany 23x15px
See also
- Template:hb — for rendering the flag on the left
- Category:National handball teams