Permanently protected template

Template:Wp

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Description

{{wp|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked men's national water polo team article.

Parameters
  • nation – Use either the name of the nation or 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

  • {{wp|Hungary}} Hungary
  • {{wp|HUN}} Hungary
  • {{wp|Hungary|1956}} Hungary
  • {{wp|HUN|1956}} Hungary
  • {{wp|Hungary|name=HUN}} HUN
  • {{wp|HUN|name=HUN}} HUN
  • {{wp|Hungary|1956|name=HUN}} HUN
  • {{wp|HUN|1956|name=HUN}} HUN

Parameters

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Wp

Produces a flag icon attached to a wikilinked men's national water polo team article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Nation1

Use either the name of the nation or the three-letter country code as used by the IOC

Example
Hungary
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