Template:Country in the Eurovision Song Contest/doc
Appearance
This is a documentation subpage for Template:Country in the Eurovision Song Contest. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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]- {{esc|United Kingdom}} → United Kingdom
- {{esc|SWE}} → Sweden
- {{esc|Bosnia and Herzegovina|f=1992}} → Bosnia and Herzegovina
- {{esc|United Kingdom|y=2007}} → United Kingdom
Junior Eurovision Song Contest
[edit]- {{esc|United Kingdom|Junior}} → United Kingdom
- {{esc|SWE|JESC}} → Sweden
- {{esc|Bosnia and Herzegovina|Junior|f=1992}} → Bosnia and Herzegovina
- {{esc|United Kingdom|Junior|y=2007}} → United Kingdom
Eurovision Dance Contest
[edit]- {{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
[edit]- {{esc|United Kingdom|Musicians}} → United Kingdom
- {{esc|SWE|EYM}} → Sweden
- {{esc|Bosnia and Herzegovina|Musicians|f=1992}} → Bosnia and Herzegovina
- {{esc|United Kingdom|Musicians|y=2007}} → United Kingdom
Eurovision Young Dancers
[edit]- {{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
[edit]- {{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
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country in the Eurovision Song Contest in articles based on its TemplateData.
TemplateData for Country in the Eurovision Song Contest
Creates a link to a country's participation in a Eurovision-related event, along with the country's flag
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 |