Template:Fix: Difference between revisions

From ScoutWiki, For Everyone, Everywhere involved with Scouting and Guiding...
Jump to navigation Jump to search
(Add pre and post text options and make 'special' outside even superscript for normal text templates like 'TBD')
m (1 revision: upload from wikipedia)
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{text|}}}|<sup class="noprint">{{{pre-text|}}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;since {{{date}}}}}." style="white-space: nowrap;">&#91;''{{{text|}}}''&#93;</span>]]{{{post-text}}}</sup>|{{{special|}}}}}{{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}}|[[{{{cat-date}}} {{#if:{{{date|}}}|since {{{date}}}}}]]}}</includeonly><noinclude>
{{#switch:{{{subst|¬}}}
{{/doc}}
|¬={{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|}}}
  |{{{pre-text}}}&#32;
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}|<nowiki/> from {{{date}}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}
  |&#32;{{{post-text}}}
}}</i>&#93;</sup>|{{{special|}}}
}}<noinclude>
{{Documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 17:17, 6 May 2012