Difference between revisions of "Template:Dated maintenance category"

From Self-sufficiency
Jump to: navigation, search
m (moved Template:DMCA to Template:Dated maintenance category: more descriptive name, and merging with Template:DMC)
m (check if {{{5}}} is non-empty)
Line 1: Line 1:
{{#if:{{NAMESPACE}}||
+
{{#ifexpr:{{#if:{{NAMESPACE}}|1|0}}+{{#ifeq:{{{onlyarticles|no}}}|yes|0|1}}
  {{#if:{{{3|}}}
+
  |{{#if:{{{3|}}}
 
   |[[Category:{{{1}}} {{{2}}} {{{3}}}]]
 
   |[[Category:{{{1}}} {{{2}}} {{{3}}}]]
 
   {{#ifexist:Category:{{{1}}} {{{2}}} {{{3}}}|
 
   {{#ifexist:Category:{{{1}}} {{{2}}} {{{3}}}|
 
   |[[Category:Articles with invalid date parameter in template]]}}
 
   |[[Category:Articles with invalid date parameter in template]]}}
   |[[Category:{{{5|{{{1}}}}}}]]
+
   |[[Category:{{#if:{{{5|}}}
 +
  |{{{5}}}
 +
  |{{{1}}}
 +
  }}]]
 
  }}
 
  }}
 
  {{#if:{{{4|}}}|[[Category:{{{4}}}]]}}
 
  {{#if:{{{4|}}}|[[Category:{{{4}}}]]}}

Revision as of 10:21, 15 June 2009

[[Category:{{{1}}}]]