Difference between revisions of "Template:Fix"
From Self-sufficiency
(proposed edit, removes nbsp and replaces it with a normal space) |
(few uncontroversial changes: use Template:cat handler, automatically populate Category:Inline cleanup templates, adjust whitespace) |
||
Line 1: | Line 1: | ||
− | + | {{#if:{{{text|}}} | |
− | {{ | + | |<sup class="{{{class|noprint Inline-Template}}}" title="{{{title|}}}{{#if:{{{date|}}} |
+ | |<nowiki/> from {{{date}}} | ||
+ | }}" style="white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | ||
+ | |{{{pre-text}}}  | ||
+ | }}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}} | ||
+ | | {{{post-text}}} | ||
+ | }}</i>]</sup>|{{{special|}}} | ||
+ | }}{{cat handler | ||
+ | |main={{{cat|[[Category:All pages needing cleanup]]}}}{{#if:{{{cat-date|}}} | ||
+ | |[[{{{cat-date}}} {{#if:{{{date|}}} | ||
+ | |from {{{date}}} | ||
+ | }}]]{{#if:{{{date|}}} | ||
+ | |{{#ifexist:{{{cat-date}}} from {{{date}}}| | ||
+ | |[[Category:Articles with invalid date parameter in template]] | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |template=[[Category:Inline cleanup templates]] | ||
+ | }}<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 13:30, 8 June 2010
[edit]
Documentation