Difference between revisions of "Template:DayCat"

From ChoralWiki
Jump to navigation Jump to search
(changed name of category for uniformity)
(Bot is no longer working, unfortunately)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>  
+
<includeonly>CPDL activity (new scores, CPDL news, etc.) on {{#time:j F Y|{{PAGENAME}}}}.
 
__HIDDENCAT__
 
__HIDDENCAT__
  
[[Category:Hidden Date categories| {{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=
 +
This template hides the date categories that appear on score pages, which are solely used for DPL automation. It also categorizes the date category under {{CiteCat|Date categories}}.
 +
 
 
;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|Hidden Date categories}}.
+
{{tl|DayCat}}
 
 
There is no need to add this template by hand on the categories. It will be added routinely via a bot.
 
 
}}
 
}}
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Category header templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:58, 30 November 2019

Documentation

This template hides the date categories that appear on score pages, which are solely used for DPL automation. It also categorizes the date category under Date categories.

Usage

{{DayCat}}