((country data (({1))}
| flag link/core
| variant =
| size =
| name =
| altvar =
| altlink = in the Eurovision Song Contest
))
Description
((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
Eurovision Song Contest
Junior Eurovision Song Contest
Eurovision Dance Contest
- ((esc|United Kingdom|Dance)) → United Kingdom
- ((esc|SWE|EDC)) → Sweden
- ((esc|Bosnia and Herzegovina|Dance|f=1992)) → Bosnia and Herzegovina
- ((esc|United Kingdom|Dance|y=2007)) → United Kingdom
Eurovision Young Musicians
Eurovision Young Dancers
- ((esc|United Kingdom|Dancers)) → United Kingdom
- ((esc|SWE|EYD)) → Sweden
- ((esc|Bosnia and Herzegovina|Dancers|f=1992)) → Bosnia and Herzegovina
- ((esc|United Kingdom|Dancers|y=2007)) → United Kingdom
Eurovision Choir
- ((esc|United Kingdom|Choir)) → United Kingdom
- ((esc|SWE|Choir)) → Sweden
- ((esc|Bosnia and Herzegovina|Choir|f=1992)) → Bosnia and Herzegovina
- ((esc|United Kingdom|Choir|y=2007)) → United Kingdom
TemplateData
Template parameters[Edit template data]
This template prefers inline formatting of parameters.
Parameter | Description | Type | Status |
---|
Country | 1 | Name of the country to link to
| Line | required |
---|
Contest | 2 | Name or abbreviation of the contest; defaults to the Eurovision Song Contest
| Line | suggested |
---|
Year | y | Appends a year to the wikilink target
| Line | optional |
---|
Flag variant | f | Alternate (historical) flag to use
| Line | optional |
---|
Flag icon size | size | Sets the flag icon size (use sparingly)
| Line | optional |
---|
Link text | name | The link text; defaults to the country name
| Line | optional |
---|