Template:Fix: Difference between revisions

From All Skies Encyclopaedia
imported>Hersfold
(proposed edit, removes nbsp and replaces it with a normal space)
imported>MSGJ
(few uncontroversial changes: use Template:cat handler, automatically populate Category:Inline cleanup templates, adjust whitespace)
Line 1: Line 1:
{{#if:{{{text|}}}
<includeonly>{{#if:{{NAMESPACE}}||{{{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]]}}}}}}}}{{#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|}}}}}</includeonly><noinclude>
|<sup class="{{{class|noprint Inline-Template}}}" title="{{{title|}}}{{#if:{{{date|}}}
{{pp-template|small=yes}}
|<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|}}}
|[[{{{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! -->

Revision as of 12:30, 8 June 2010

Template:Cat handler