テンプレート:Dated maintenance category
2014年1月8日 (水) 17:14時点におけるJohn of Reading (トーク)による版 (Second attempt. Those spaces upset inline templates such as {{As of}}. Instead, try an unconditional <nowiki/>)
{{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}}
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|テンプレート:Dated maintenance category}}|1}} | {{ safesubst:#if:|{{{1}}}|テンプレート:Dated maintenance category}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:テンプレート|0|1}}+{{#ifeq:no|yes|0|1}}
|{{#if: |[[Category:{{{1}}} {{{2}}} {{{3}}}]]{{#ifexist:Category:{{{1}}} {{{2}}} {{{3}}} ||}} |[[Category:{{#if: |{{{5}}}|{{{1}}}}}]]}}{{#if: |[[Category:{{{4}}}]]}}}}}}
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}