Template:Monthly clean-up category/core

{{#ifeq:{{PAGESINCAT:{{PAGENAME}}}}|0

|{{#ifexpr:

( {{CURRENTYEAR}}*12+{{CURRENTMONTH}} > {{{year|0}}}*12+{{{monthno|0}}}+1 or {{CURRENTYEAR}}*12+{{CURRENTMONTH}} = {{{year|0}}}*12+{{{monthno|0}}}+1 and ( {{CURRENTDAY}} > 1 or {{CURRENTHOUR}} >= 12 ) )

or ( {{CURRENTYEAR}}*12+{{CURRENTMONTH}}+1 < {{{year|0}}}*12+{{{monthno|0}}} )

|{{Db-c4}}

}}

}}

{{Purge button|left}}

{{#ifexist:Template:{{{cat|}}} progress

|

{{{{{cat}}} progress}}

}}

{{Maintenance category|tracking=yes}}

{{#ifexist:Template:Monthly clean-up category/Messages/Type/{{{name part}}}

|{{Monthly clean-up category/Messages/Type/{{{name part}}}

|month name = {{{month name|}}}

|year = {{{year|}}}

|cat = {{{cat|}}}

}}

|This category combines all {{{type}}} from {{{month name|}}} {{{year|}}} ({{{year}}}-{{{monthno|}}}) to enable us to {{#ifeq:{{{clean-up|}}}|no|maintain them|work through the backlog}} more systematically. It is a member of :Category:{{{cat}}}.

}}

{{#if:{{{message|}}}

|{{{message}}}

|{{#ifexist:Template:Monthly clean-up category/Messages/{{{name part}}}

|{{Monthly clean-up category/Messages/{{{name part}}}

|month name = {{{month name|}}}

|year = {{{year|}}}

}}

}}

}}

{{#switch:{{{toc}}}

|focus={{Focusmessage}}

|none={{ns:0}}

|toc={{Automatic category TOC}}

}}{{#if:{{{datecat|}}}

|Category:{{{datecat}}} {{{month name

}}{{#ifeq:{{NAMESPACE}}|Category

|Category:{{{cat

}}Category:Monthly clean-up category counter

Category:Monthly clean-up category ({{{cat

{{#ifeq:{{PAGENAME}}|Clean-up categories from {{{month name|}}} {{{year|}}}|}}}|Category:Clean-up categories from {{{month name}}