Difference between revisions of "Template:Ih18-rt/doc"
Jump to navigation
Jump to search
imported>Salavat |
|||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
*<tt><nowiki>{{ih18-rt|Sweden}}</nowiki></tt> → {{ih18-rt|Sweden}} | *<tt><nowiki>{{ih18-rt|Sweden}}</nowiki></tt> → {{ih18-rt|Sweden}} | ||
| − | *<tt><nowiki>{{ih18-rt| | + | *<tt><nowiki>{{ih18-rt|USA}}</nowiki></tt> → {{ih18-rt|USA}} |
*<tt><nowiki>{{ih18-rt|Canada|1921}}</nowiki></tt> → {{ih18-rt|Canada|1921}} | *<tt><nowiki>{{ih18-rt|Canada|1921}}</nowiki></tt> → {{ih18-rt|Canada|1921}} | ||
| + | *<tt><nowiki>{{ih18-rt|URS|name=USSR}}</nowiki></tt> → {{ih18-rt|URS|name=USSR}} | ||
==See also== | ==See also== | ||
| − | *[[Template:ih18]] — for | + | *[[Template:ih18]] — for rendering the flag on the left |
| − | *[[ | + | *[[:Category:National ice hockey teams]] |
| − | |||
<includeonly> | <includeonly> | ||
Revision as of 23:35, 25 January 2014
| This is a documentation subpage for Template:Ih18-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ih18-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked men's national under-18 ice hockey team article. Similar to Template:Ih18, 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 the IIHF
- 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
- {{ih18-rt|Sweden}} → Sweden

- {{ih18-rt|USA}} → United States

- {{ih18-rt|Canada|1921}} → Canada

- {{ih18-rt|URS|name=USSR}} → Soviet Union

See also
- Template:ih18 — for rendering the flag on the left
- Category:National ice hockey teams