Difference between revisions of "Template:Ihw18-rt/doc"
Jump to navigation
Jump to search
imported>Jonesey95 |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <code><nowiki>{{ihw18-rt|nation|variant|size=optional|name=optional}}</nowiki></code> |
| − | Produces a flag icon attached to a wikilinked women's national under- | + | Produces a flag icon attached to a wikilinked women's national under-18 ice hockey team article. Similar to [[Template:ihw18]], 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 | ;Parameters | ||
*''nation'' — Use either the name of the nation or the three-letter country code as used by the [[International Ice Hockey Federation|IIHF]] | *''nation'' — Use either the name of the nation or the three-letter country code as used by the [[International Ice Hockey Federation|IIHF]] | ||
| − | |||
*''variant'' (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in [[:Category:Country data templates]]. | *''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!) | *''size'' (optional) — Can be used to change the flag icon size (use sparingly!) | ||
| Line 12: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<code><nowiki>{{ihw18-rt|Sweden}}</nowiki></code> → {{ihw18-rt|Sweden}} |
| − | *< | + | *<code><nowiki>{{ihw18-rt|USA}}</nowiki></code> → {{ihw18-rt|USA}} |
| − | *< | + | *<code><nowiki>{{ihw18-rt|Canada|1921}}</nowiki></code> → {{ihw18-rt|Canada|1921}} |
==See also== | ==See also== | ||
| − | *[[Template: | + | *[[Template:ihw18]] — for rendering the flag on the left |
*[[Template:ihw-rt]] — for women's national team | *[[Template:ihw-rt]] — for women's national team | ||
*[[:Category:Women's national under-18 ice hockey teams]] | *[[:Category:Women's national under-18 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:15, 3 June 2020
| This is a documentation subpage for Template:Ihw18-rt. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{ihw18-rt|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked women's national under-18 ice hockey team article. Similar to Template:ihw18, 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
{{ihw18-rt|Sweden}}→ Sweden
{{ihw18-rt|USA}}→ United States
{{ihw18-rt|Canada|1921}}→ Canada
See also
- Template:ihw18 — for rendering the flag on the left
- Template:ihw-rt — for women's national team
- Category:Women's national under-18 ice hockey teams