Template:Water polo men's national team with code/doc
This is a documentation subpage for Template:Water polo men's national team with code. It may contain usage information, categories and other content that is not part of the original template page. |
Description
[edit]{{wp-code|country code|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked men's national water polo team article, and the country code in parentheses. Similar to Template:wp, but adds the country code after the team name. This style is used for medal tables and event result tables.
- Parameters
- country code – Use the three-letter country code as used by the IOC.
- 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
[edit]{{wp-code|HUN}}
→ Hungary (HUN){{wp-code|HUN|1956}}
→ Hungary (HUN){{wp-code|HUN|name=HUN}}
→ HUN (HUN){{wp-code|HUN|1956|name=HUN}}
→ HUN (HUN)
Parameters
[edit]TemplateData for Water polo men's national team with code
Produces a flag icon attached to a wikilinked men's national water polo team article, and the country code in parentheses.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country code | 1 | Use the three-letter country code as used by the IOC
| String | required |
Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
Icon size | size | Can be used to change the flag icon size (use sparingly!) | Unknown | optional |
Link text | name | Can be used to change the wikilink display text | Unknown | optional |
See also
[edit]- Template:wp – for removing the country code
- Template:wp-rt – for removing the country code, and rendering the flag on the right
- Template:wp-big – for removing the country code, and rendering a larger flag, with the team name underneath the flag
- Template:wpicon – for rendering the flag on its own, with a wikilink to the team article
- Template:wpw, Template:wpw-code, Template:wpw-rt, Template:wpw-big and Template:wpwicon – for women's national water polo teams
- Category:National water polo teams