Difference between revisions of "Template:Dated maintenance category"
From MediaWiki
(err) |
m (1 revision) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#ifeq:{{FULLROOTPAGENAME}}|Wikipedia:Template messages|<!--Do not categorize-->|<!-- | + | <nowiki/><!--This nowiki helps to prevent whitespace at the top of articles-->{{#ifeq:{{FULLROOTPAGENAME}}|Wikipedia:Template messages|<!--Do not categorize-->|<!-- |
-->{{#ifexpr:{{#if:{{NAMESPACE}}|0|1}}+{{#ifeq:{{{onlyarticles|no}}}|yes|0|1}} | -->{{#ifexpr:{{#if:{{NAMESPACE}}|0|1}}+{{#ifeq:{{{onlyarticles|no}}}|yes|0|1}} | ||
|{{#if:{{{3|}}} | |{{#if:{{{3|}}} |
Latest revision as of 01:27, 15 February 2015
{{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}}
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Dated maintenance category}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Dated maintenance category}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|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}}}}}}