Template:Fix: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
add detection for template substitution and populate Category:Pages with incorrectly substituted templates
meta>MSGJ
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 09:20, 28 June 2011

Template:Cat handler