Difference between revisions of "Template:Fix"

From Self-sufficiency
Jump to: navigation, search
m (40 revisions from wikipedia:Template:Fix)
m (link)
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{cat handler
+
{{#switch:{{{substcheck|¬}}}
 +
|¬={{category handler
 +
  |template=[[Category:Templates needing substitution checking]]
 +
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
 +
}}
 +
|SUBST=[[Category:Pages with incorrectly substituted templates]]
 +
}}{{category handler
 
  |main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}
 
  |main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}
 
   |[[{{{cat-date}}} {{#if:{{{date|}}}
 
   |[[{{{cat-date}}} {{#if:{{{date|}}}
Line 9: Line 15:
 
   }}
 
   }}
 
  }}
 
  }}
 +
|template={{#if:{{{name|}}}|{{#ifeq:{{{name}}}|{{ROOTPAGENAME}}||{{#if:{{{date|}}}||[[Category:Templates including undated clean-up tags]]}}}}}}
 
  |subpage=no
 
  |subpage=no
 
}}{{#if:{{{text|}}}
 
}}{{#if:{{{text|}}}
  |<sup class="{{{class|noprint Inline-Template}}}" title="{{{title|}}}{{#if:{{{date|}}}
+
  |<sup class="{{{class|noprint Inline-Template}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
  |<nowiki/> from {{{date}}}
+
}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
+
 
   |{{{pre-text}}}&#32;
 
   |{{{pre-text}}}&#32;
  }}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}}
+
  }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}|<nowiki/> from {{{date}}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}
 
   |&#32;{{{post-text}}}
 
   |&#32;{{{post-text}}}
 
  }}</i>&#93;</sup>|{{{special|}}}
 
  }}</i>&#93;</sup>|{{{special|}}}

Revision as of 19:18, 3 December 2011