Difference between revisions of "Template:Ih/doc"
Jump to navigation
Jump to search
imported>Maiō T. m (add one) |
imported>Jonesey95 |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{ih|nation|variant|size=optional|name=optional}}</nowiki></code> |
Produces a flag icon attached to a wikilinked national ice hockey team article. | Produces a flag icon attached to a wikilinked national ice hockey team article. | ||
| Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<code><nowiki>{{ih|Sweden}}</nowiki></code> → {{ih|Sweden}} |
| − | *< | + | *<code><nowiki>{{ih|FIN}}</nowiki></code> → {{ih|FIN}} |
| − | *< | + | *<code><nowiki>{{ih|Canada|1921}}</nowiki></code> → {{ih|Canada|1921}} |
| − | *< | + | *<code><nowiki>{{ih|URS|name=USSR}}</nowiki></code> → {{ih|URS|name=USSR}} |
| − | *< | + | *<code><nowiki>{{ih|Czechoslovakia|name=TCH}}</nowiki></code> → {{ih|Czechoslovakia|name=TCH}} |
==See also== | ==See also== | ||
| Line 24: | Line 24: | ||
*[[: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. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ih|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national ice hockey team article.
- 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|Sweden}}→
Sweden{{ih|FIN}}→
Finland{{ih|Canada|1921}}→
Canada{{ih|URS|name=USSR}}→
Soviet Union{{ih|Czechoslovakia|name=TCH}}→
TCH
See also
- Template:ih-rt — for rendering the flag on the right
- Template:ihj — for men's junior national teams
- Template:ih18 — for men's under-18 national teams
- Template:ihw — for women's national teams
- Category:National ice hockey teams