Template talk:WorksInCenturyHeader

Latest comment: 9 years ago by Fayenatic london in topic Request for change
WikiProject iconYears Template‑class
WikiProject iconThis template is within the scope of WikiProject Years, a collaborative effort to improve the coverage of Years 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.

Request for change edit

{{edit template-protected}}

Hi, I this may not be protected but I'm using the template anyway to request expert help.

There was a decision at CFD June 11 to merge Category:Music by century to Category:Centuries in music. However, the former is populated by {{MusicInCentury}}, which calls this {{WorksInCenturyHeader}}.

Please can this be edited, adding an "if-exists" test, so that {{MusicInCentury}} will not put categories into Category:Music by century if that category does not exist? – Fayenatic London 13:04, 30 June 2014 (UTC)Reply

I added two {{#ifexist}} functions to check the existence of the categories that would be added. If Category:Music by century is deleted it should no longer contain pages using this template.
Please do not use edit protected templates for pages you can edit yourself. To get help with a template you could ask at WP:VPT instead. SiBr4 (talk) 15:08, 30 June 2014 (UTC)Reply
Thanks, SiBr4, I confirm that your edit has done the trick.
I looked all around Help:Template and a few related pages but could not find any advice on where to post a request. I'll add your advice there. – Fayenatic London 16:08, 30 June 2014 (UTC)Reply