Template talk:Country in the Eurovision Song Contest

Template-protected edit request on 21 December 2018
Since the Eurovision Choir of the Year has been renamed to "Eurovision Choir", please change the following:
 * "| altlink = in the {{#switch: {{{2|}}}" to "| altlink = in {{#switch: {{{2|}}}"
 * "{{!}} JESC = Junior Eurovision Song Contest" to "{{!}} JESC = the Junior Eurovision Song Contest"
 * "{{!}} EDC = Eurovision Dance Contest" to "{{!}} EDC = the Eurovision Dance Contest"
 * "{{!}} EYM = Eurovision Young Musicians" to "{{!}} EYM = the Eurovision Young Musicians"
 * "{{!}} EYD = Eurovision Young Dancers" to "{{!}} EYD = the Eurovision Young Dancers"
 * "{{!}} Choir = Eurovision Choir of the Year" to "{{!}} Choir = Eurovision Choir"
 * "{{!}} Asia = Eurovision Asia Song Contest" to "{{!}} Asia = the Eurovision Asia Song Contest"
 * "{{!}} TV = ABU TV Song Festival" to "{{!}} TV = the ABU TV Song Festival"
 * "{{!}} Radio = ABU Radio Song Festival" to "{{!}} Radio = the ABU Radio Song Festival"
 * "{{!}} TSC = Turkvision Song Contest" to "{{!}} TSC = the Turkvision Song Contest"
 * "{{!}} Bala = Bala Turkvision Song Contest" to "{{!}} Bala = the Bala Turkvision Song Contest"
 * "{{!}} Eurovision Song Contest" to "{{!}} the Eurovision Song Contest"

. (Source) Thanks —Dimsar01 {{sup|Talk}} ⌚→ 22:18, 21 December 2018 (UTC)
 * Yes check.svg Done – Jonesey95 (talk) 23:23, 21 December 2018 (UTC)

Make sure the template checks if a page for the specified year exists
Very often for future contests, the main page for the edition has been created but not all country pages exist yet. For example, for 2021, exists but  doesn't. But currently, every time a new country page gets created, several different pages have to be edited just to add the "y=" for the links. I believe that this would become a lot easier if this template checks if the page exists, and if it doesn't, it shouldn't add the year to the link. I hope you get what I mean. &horbar;JochemvanHees (talk) 13:34, 8 September 2020 (UTC)
 * I think I know what you mean, if the page exists = link to the page "X in the Eurovision Song Contest 2021", if it doesn't it just links to "X in the Eurovision Song Contest", yes? --  AxG /  ✉  14:10, 8 September 2020 (UTC)
 * Yeah, exactly.
 * I think this is a good idea in principle. In this scenario would it only work for the "contest by year" articles, and not anywhere else? Also possible slight issue is that a lot of "country by year" articles have been created but simply redirect to a different article, either the main country article or the year article, so I feel a clean-up of these articles would be required for the full technical solution to be properly achieved. Sims2aholic8 (talk) 09:15, 10 September 2020 (UTC)

Template-protected edit request on 8 July 2021 (1)
In the switch statement for the contest (second parameter, starting on line 7), add some single-letter abbreviations for the contests, similar to what I did here at the similar template Esccnty. The purpose of this template (and especially Template:Escyr) is to make these links take up less space in the wikitext, so making the contest codes single-letter should make that even more the case.

(This leaves out the two dance contests, because the only sensible letter for them would be D and that would be ambiguous between the two.)

&horbar;Jochem van Hees (talk) 20:47, 8 July 2021 (UTC)
 * could you please implement this in the template sandbox first? Elli (talk &#124; contribs) 09:19, 10 July 2021 (UTC)
 * Done for Template:Esc/sandbox and Template:Escyr/sandbox, and I also created testcases. &horbar;Jochem van Hees (talk) 09:47, 10 July 2021 (UTC)
 * ✅ Elli (talk &#124; contribs) 18:50, 10 July 2021 (UTC)

Template-protected edit request on 8 July 2021 (2)
On line 7, change  to , and make all the switch cases lowercase. This is for consistency with Template:Escyr and Template:Esccnty. I do not know if case insensitivity would be useful for anyone, but I guess it's one less thing to keep in mind while editing. &horbar;Jochem van Hees (talk) 20:48, 8 July 2021 (UTC)
 * ✅ Elli (talk &#124; contribs) 22:46, 8 July 2021 (UTC)

Name change
Could you explain the rationale for the renaming of this template? The longer name somewhat defeats the purpose of the template, which is first and foremost a way to reduce the amount needed to be typed for tables and whatnot. Grk1011 (talk) 16:50, 16 June 2024 (UTC)
 * It makes the name more clear as to what the template does. esc is still perfectly acceptable for use in articles. Primefac (talk) 17:05, 16 June 2024 (UTC)
 * Ok, as long as 'esc' is continues to be the standard way of using the template. Grk1011 (talk) 11:43, 19 June 2024 (UTC)