Difference between revisions of "Template:Esc"
Jump to navigation
Jump to search
imported>Jonesey95 (Actually reading the talk page request this time.) |
imported>JFG (Provide an altvar hook) |
||
| Line 3: | Line 3: | ||
| variant = {{{f|{{{2|}}}}}} | | variant = {{{f|{{{2|}}}}}} | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| − | | name = {{{name|}}} | + | | name = {{{name|}}} |
| − | | altlink = in {{#switch: {{{2|}}} | + | | altvar = eurovision |
| + | | altlink = in {{#switch: {{{2|}}} | ||
| Junior | | Junior | ||
| JESC = the Junior Eurovision Song Contest | | JESC = the Junior Eurovision Song Contest | ||
Revision as of 21:44, 31 December 2018
{{country data {{{1}}} | flaglink/core | variant = | size = | name = | altvar = eurovision | altlink = in the Eurovision Song Contest }}
Contents
Description
{{esc|nation|variant|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
- 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
- y (optional) — Can be used to specify a specific year to link to.
- j=Junior — Changes link from in the Eurovision Song Contest to in the Junior Eurovision Song Contest.
- d=Dance — Changes link from in the Eurovision Song Contest to in the Eurovision Dance Contest.
Examples
Eurovision Song Contest
- {{esc|UK}} → 23x15px United Kingdom
- {{esc|Sweden}} → 23x15px Sweden
- {{esc|Bosnia and Herzegovina|1992}} →
Bosnia and Herzegovina - {{esc|United Kingdom|y=2007}} → 23x15px United Kingdom
Junior Eurovision Song Contest
- {{esc|UK|j=Junior}} → 23x15px United Kingdom
- {{esc|Bosnia and Herzegovina|1992|j=Junior}} →
Bosnia and Herzegovina - {{esc|United Kingdom|y=2005|j=Junior}} → 23x15px United Kingdom
Eurovision Dance Contest
- {{esc|UK|d=Dance}} → 23x15px United Kingdom
- {{esc|Bosnia and Herzegovina|1992|d=Dance}} →
Bosnia and Herzegovina - {{esc|United Kingdom|y=2007|d=Dance}} → 23x15px United Kingdom
be-x-old:Шаблён:ESC fi:Malline:ESC maa ja:Template:Esc mt:Mudell:Esc pt:Predefinição:Esc ru:Шаблон:ESC sv:Mall:ESC
| The above documentation is transcluded from Template:Esc/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |