Difference between revisions of "Template:Fix"

From Self-sufficiency
Jump to: navigation, search
(add detection for template substitution and populate Category:Pages with incorrectly substituted templates)
Line 1: Line 1:
{{#ifeq:{{{substcheck|¬}}}|SUBST
+
{{#switch:{{{substcheck|¬}}}
  |[[Category:Pages with incorrectly substituted templates]]
+
|¬={{category handler
 +
  |Template=[[Category:Templates needing substitution checking]]
 +
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
 +
}}
 +
  |SUBST=[[Category:Pages with incorrectly substituted templates]]
 
}}{{cat handler
 
}}{{cat handler
 
  |main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}
 
  |main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}

Revision as of 10:20, 28 June 2011