Template talk:Esc

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconEurovision Template‑class
WikiProject iconThis template is within the scope of WikiProject Eurovision, a collaborative effort to improve the coverage of Eurovision-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Template-protected edit request on 21 December 2018[edit]

Since the Eurovision Choir of the Year has been renamed to "Eurovision Choir", please change the following:

  • "| altlink = in the {{#switch: " to "| altlink = in {{#switch: "
  • "| 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 Talk ⌚→ 22:18, 21 December 2018 (UTC)[reply]

 DoneJonesey95 (talk) 23:23, 21 December 2018 (UTC)[reply]

Make sure the template checks if a page for the specified year exists[edit]

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,  Romania exists but  Netherlands 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. ―JochemvanHees (talk) 13:34, 8 September 2020 (UTC)[reply]

@JochemvanHees: 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)[reply]
@AxG: 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)[reply]

Template-protected edit request on 8 July 2021 (1)[edit]

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.

Letter Contest
J Junior Eurovision Song Contest
M Eurovision Young Musicians
C Eurovision Choir
A Eurovision Asia Song Contest

(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.)

Jochem van Hees (talk) 20:47, 8 July 2021 (UTC)[reply]

@Jochem van Hees: could you please implement this in the template sandbox first? Elli (talk | contribs) 09:19, 10 July 2021 (UTC)[reply]
Done for Template:Esc/sandbox and Template:Escyr/sandbox, and I also created testcases. ―Jochem van Hees (talk) 09:47, 10 July 2021 (UTC)[reply]
 Done Elli (talk | contribs) 18:50, 10 July 2021 (UTC)[reply]

Template-protected edit request on 8 July 2021 (2)[edit]

On line 7, change {{#switch: {{{2|}}} to {{#switch: {{lc:{{{2|}}}}}, 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. ―Jochem van Hees (talk) 20:48, 8 July 2021 (UTC)[reply]

 Done Elli (talk | contribs) 22:46, 8 July 2021 (UTC)[reply]