Template:Water polo men's national team with code/doc

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Water polo men's national team with code in articles based on its TemplateData.

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Country code1

Use the three-letter country code as used by the IOC

Example
HUN
Stringrequired
Flag variantvariant 2

Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.

Example
1956
Stringoptional
Icon sizesize

Can be used to change the flag icon size (use sparingly!)

Unknownoptional
Link textname

Can be used to change the wikilink display text

Unknownoptional

See also edit