Difference between revisions of "Template:Ih-rt/doc"
Jump to navigation
Jump to search
(+ja) |
imported>Jonesey95 |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{ih-rt|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked national ice hockey team article. Similar to [[Template:Ih]], 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. | Produces a flag icon attached to a wikilinked national ice hockey team article. Similar to [[Template:Ih]], 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. | ||
| Line 12: | Line 12: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<code><nowiki>{{ih-rt|Sweden}}</nowiki></code> → {{ih-rt|Sweden}} |
| − | *< | + | *<code><nowiki>{{ih-rt|FIN}}</nowiki></code> → {{ih-rt|FIN}} |
| − | *< | + | *<code><nowiki>{{ih-rt|Canada|1921}}</nowiki></code> → {{ih-rt|Canada|1921}} |
| − | *< | + | *<code><nowiki>{{ih-rt|URS|name=USSR}}</nowiki></code> → {{ih-rt|URS|name=USSR}} |
| + | *<code><nowiki>{{ih-rt|Czechoslovakia|name=TCH}}</nowiki></code> → {{ih-rt|Czechoslovakia|name=TCH}} | ||
==See also== | ==See also== | ||
| Line 21: | Line 22: | ||
*[[:Category:National ice hockey teams]] | *[[:Category:National ice hockey teams]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Ice hockey team templates|{{PAGENAME}}]] | [[Category:Ice hockey team templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
| − | + | }}</includeonly> | |
| − | |||
| − | </includeonly> | ||
Latest revision as of 02:16, 3 June 2020
| This is a documentation subpage for Template:Ih-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ih-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national ice hockey team article. Similar to Template:Ih, 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
{{ih-rt|Sweden}}→ Sweden
{{ih-rt|FIN}}→ Finland
{{ih-rt|Canada|1921}}→ Canada
{{ih-rt|URS|name=USSR}}→ Soviet Union
{{ih-rt|Czechoslovakia|name=TCH}}→ TCH
See also
- Template:ih — for rendering the flag on the left
- Category:National ice hockey teams