Difference between revisions of "Template:Hb-rt/doc"
Jump to navigation
Jump to search
imported>Andrwsc (update template documentation using AWB) |
imported>Andrwsc (→Examples: update deprecated flag variant selector) |
||
| Line 13: | Line 13: | ||
*<tt><nowiki>{{hb-rt|Sweden}}</nowiki></tt> → {{hb-rt|Sweden}} | *<tt><nowiki>{{hb-rt|Sweden}}</nowiki></tt> → {{hb-rt|Sweden}} | ||
*<tt><nowiki>{{hb-rt|FRA}}</nowiki></tt> → {{hb-rt|FRA}} | *<tt><nowiki>{{hb-rt|FRA}}</nowiki></tt> → {{hb-rt|FRA}} | ||
| − | *<tt><nowiki>{{hb-rt|Romania| | + | *<tt><nowiki>{{hb-rt|Romania|1965}}</nowiki></tt> → {{hb-rt|Romania|1965}} |
*<tt><nowiki>{{hb-rt|Germany|name=West Germany}}</nowiki></tt> → {{hb-rt|Germany|name=West Germany}} | *<tt><nowiki>{{hb-rt|Germany|name=West Germany}}</nowiki></tt> → {{hb-rt|Germany|name=West Germany}} | ||
Revision as of 20:48, 21 April 2008
| 40px | 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 23x15px
- {{hb-rt|Romania|1965}} → Romania

- {{hb-rt|Germany|name=West Germany}} → West Germany File:Flag of Germany.svg
See also
- Template:hb — for rendering the flag on the left
- Category:National handball teams