Template:Esc/doc

From Wikipedia, the free encyclopedia

Description[edit]

{{esc|nation|f=optional|size=optional|name=optional|y=optional|j=Junior|d=Dance}}

Produces a flag icon attached to a wikilinked Eurovision country article.

Parameters
  • nation — Use the name of the nation
  • f (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
  • y (optional) — Can be used to specify a specific year to link to.
  • Junior — Changes link from in the Eurovision Song Contest to in the Junior Eurovision Song Contest.
  • Dance — Changes link from in the Eurovision Song Contest to in the Eurovision Dance Contest.
  • Musicians — Changes link from in the Eurovision Song Contest to in the Eurovision Young Musicians.
  • Dancers — Changes link from in the Eurovision Song Contest to in the Eurovision Young Dancers.
  • Choir — Changes link from in the Eurovision Song Contest to in Eurovision Choir.

Examples[edit]

Eurovision Song Contest[edit]

Junior Eurovision Song Contest[edit]

Eurovision Dance Contest[edit]

Eurovision Young Musicians[edit]

Eurovision Young Dancers[edit]

Eurovision Choir[edit]

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Esc in articles based on its TemplateData.

TemplateData for Esc

Creates a link to a country's participation in a Eurovision-related event, along with the country's flag

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Country1

Name of the country to link to

Linerequired
Contest2

Name or abbreviation of the contest; defaults to the Eurovision Song Contest

Linesuggested
Yeary

Appends a year to the wikilink target

Lineoptional
Flag variantf

Alternate (historical) flag to use

Lineoptional
Flag icon sizesize

Sets the flag icon size (use sparingly)

Lineoptional
Link textname

The link text; defaults to the country name

Lineoptional