Template:Dated maintenance category (articles)
{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Dated maintenance category (articles)}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Dated maintenance category (articles)}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if: |[[Category: ]]{{#ifexist:Category: ||}} |[[Category:{{#if: ||}}]]}}{{#if: |[[Category:]]}}}}}}