Difference between revisions of "Template:Fix"

From Self-sufficiency
Jump to: navigation, search
(few uncontroversial changes: use Template:cat handler, automatically populate Category:Inline cleanup templates, adjust whitespace)
(fix per Anomie)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{text|}}}
+
{{cat handler
|<sup class="{{{class|noprint Inline-Template}}}" title="{{{title|}}}{{#if:{{{date|}}}
+
  |<nowiki/> from {{{date}}}
+
}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
+
  |{{{pre-text}}}&#32;
+
}}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}}
+
  |&#32;{{{post-text}}}
+
}}</i>&#93;</sup>|{{{special|}}}
+
}}{{cat 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 18: Line 10:
 
  }}
 
  }}
 
  |template=[[Category:Inline cleanup templates]]
 
  |template=[[Category:Inline cleanup templates]]
 +
|subpage=no
 +
}}{{#if:{{{text|}}}
 +
|<sup class="{{{class|noprint Inline-Template}}}" title="{{{title|}}}{{#if:{{{date|}}}
 +
  |<nowiki/> from {{{date}}}
 +
}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
 +
  |{{{pre-text}}}&#32;
 +
}}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}}
 +
  |&#32;{{{post-text}}}
 +
}}</i>&#93;</sup>|{{{special|}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 18:43, 17 July 2010