Difference between revisions of "Template:BandyW/doc"
Jump to navigation
Jump to search
imported>DH85868993 (rm duplicate cat) |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
==Description== | ==Description== | ||
| − | < | + | <kbd><nowiki>{{bandyW|nation|variant|size=optional|name=optional}}</nowiki></kbd> |
Produces a flag icon attached to a wikilinked national bandy team article. | Produces a flag icon attached to a wikilinked national bandy team article. | ||
| Line 11: | Line 11: | ||
==Examples== | ==Examples== | ||
| − | *< | + | *<kbd><nowiki>{{bandyW|Russia}}</nowiki></kbd> → {{bandyW|Russia}} |
| − | *< | + | *<kbd><nowiki>{{bandyW|SWE}}</nowiki></kbd> → {{bandyW|SWE}} |
| − | *< | + | *<kbd><nowiki>{{bandyW|FIN}}</nowiki></kbd> → {{bandyW|FIN}} |
| − | *< | + | *<kbd><nowiki>{{bandyW|URS|name=USSR}}</nowiki></kbd> → {{bandyW|URS|name=USSR}} |
==See also== | ==See also== | ||
Revision as of 05:31, 5 August 2018
| This is a documentation subpage for Template:BandyW. It contains usage information, categories and other content that is not part of the original template page. |
Description
{{bandyW|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national bandy team article.
- Parameters
- nation — Use either the name of the nation or a 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
- {{bandyW|Russia}} →
Russia - {{bandyW|SWE}} → 23x15px Sweden
- {{bandyW|FIN}} →
Finland - {{bandyW|URS|name=USSR}} → 23x15px Soviet Union
See also