Difference between revisions of "Template:DayCat"

From ChoralWiki
Jump to navigation Jump to search
(Category header templates)
(replaced template:Switch with parser function #switch)
Line 2: Line 2:
 
__HIDDENCAT__
 
__HIDDENCAT__
  
[[Category:{{#time:Y|{{PAGENAME}}}}|{{switch|{{#time:n|{{PAGENAME}}}}|case: 10=A|case: 11=B|case: 12=C|default={{#time:n|{{PAGENAME}}}}}} {{PAGENAME}}]]
+
[[Category:{{#time:Y|{{PAGENAME}}}}|{{#switch:{{#time:n|{{PAGENAME}}}}|10=A|11=B|12=C|#default={{#time:n|{{PAGENAME}}}}}} {{PAGENAME}}]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{prot-temp}}
 
{{prot-temp}}
{{DisplayBox|bgcolor=g|text=
+
{{Doc|text=
 
;Usage
 
;Usage
 
This template is used to hide the date categories that appear on score pages, which are solely used for DPL automation. It also inserts the page in category {{CiteCat|Date categories}}.
 
This template is used to hide the date categories that appear on score pages, which are solely used for DPL automation. It also inserts the page in category {{CiteCat|Date categories}}.

Revision as of 17:57, 16 June 2017

Documentation
Usage

This template is used to hide the date categories that appear on score pages, which are solely used for DPL automation. It also inserts the page in category Date categories.

There is no need to add this template by hand on the categories. It will be added routinely via a bot.