Template:Fix: Difference between revisions

From processdesign
Jump to navigation Jump to search
(copypaste Wikipedia's Template:Fix text)
 
(Remove Wikipedia's substitution checker and Category handler)
Line 1: Line 1:
{{#switch:{{{subst|¬}}}
{{#if:{{{text|}}}
|¬={{category handler
  |template=[[Category:Templates needing substitution checking]]
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
}}
|SUBST=[[Category:Pages with incorrectly substituted templates]]
}}{{Category handler
|main={{Fix/category
  |cat-date={{{cat-date|}}}
  |cat={{{cat|}}}
  |cat-date2={{{cat-date2|}}}
  |cat2={{{cat2|}}}
  |cat-date3={{{cat-date3|}}}
  |cat3={{{cat3|}}}
  |date={{{date|}}}
}}
|template={{#if:{{{name|}}}|{{#ifeq:{{{name}}}|{{ROOTPAGENAME}}||{{#if:{{{date|}}}||[[Category:Templates including undated clean-up tags]]}}}}}}
|subpage=no
}}{{#if:{{{text|}}}
  |<sup class="{{{class|noprint Inline-Template}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
  |<sup class="{{{class|noprint Inline-Template}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
   |{{{pre-text}}}&#32;
   |{{{pre-text}}}&#32;

Revision as of 01:49, 15 January 2014

{{#if:

|[{{#if:
 |{{{pre-text}}} 
}}{{#if:
 | {{{post-text}}}
}}]|

}}