Template:Fix: Difference between revisions
From All Skies Encyclopaedia
imported>Rich Farmbrough No edit summary  | 
				imported>Pppery   (Per edit request)  | 
				||
| (14 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{#switch:{{{  | 
  {{#switch:{{{subst|¬}}}  | 
||
 |¬={{category handler  | 
   |¬={{category handler  | 
||
  |template=[[Category:Templates needing substitution checking]]  | 
    |template=[[Category:Templates needing substitution checking]]  | 
||
| Line 5: | Line 5: | ||
 }}  | 
   }}  | 
||
 |SUBST=[[Category:Pages with incorrectly substituted templates]]  | 
   |SUBST=[[Category:Pages with incorrectly substituted templates]]  | 
||
}}{{  | 
  }}{{Category handler  | 
||
 |main={{Fix/category  | 
|||
 |main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}  | 
  |||
  |  | 
    |cat-date={{{cat-date|}}}   | 
||
  |cat={{{cat|}}}   | 
|||
  |cat-date2={{{cat-date2|}}}   | 
|||
  |cat2={{{cat2|}}}   | 
|||
   |{{#ifexist:{{{cat-date}}} from {{{date}}}|  | 
  |||
  |cat-date3={{{cat-date3|}}}   | 
|||
    |[[Category:Articles with invalid date parameter in template]]  | 
  |||
  |cat3={{{cat3|}}}   | 
|||
   }}  | 
  |||
  }}  | 
    |date={{{date|}}}  | 
||
 }}  | 
   }}  | 
||
 |template={{#if:{{{name|}}}|{{#ifeq:{{{name}}}|{{  | 
   |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="  | 
   |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">[<i>{{#if:{{{pre-text|}}}  | 
||
  |<nowiki/> from {{{date}}}  | 
  |||
 }}" style="white-space:nowrap;">[<i>{{#if:{{{pre-text|}}}  | 
  |||
  |{{{pre-text}}}   | 
    |{{{pre-text}}}   | 
||
 }}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}}  | 
   }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{#invoke:string|replace|source={{delink|1={{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}| ({{{date}}})}}}}|pattern=" |replace=" |plain=true}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}  | 
||
  | {{{post-text}}}  | 
    | {{{post-text}}}  | 
||
 }}</i>]</sup>|{{{special|}}}  | 
   }}</i>]</sup>|{{{special|}}}  | 
||
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Fix with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Fix]] with unknown parameter "_VALUE_"|ignoreblank=y| cat | cat-date | cat-date2 | cat-date3 | cat2 | cat3 | class | date | link | name | nocat | post-text | pre-text | special | subst | text | title }}<noinclude>  | 
|||
}}<noinclude>  | 
  |||
{{Documentation}}  | 
  {{Documentation}}  | 
||
<!-- Add cats and interwikis to the /doc subpage, not here! -->  | 
  <!-- Add cats and interwikis to the /doc subpage, not here! -->  | 
||




