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;">[<i>{{#if:{{{pre-text|}}}|{{{pre-text}}} }}[[{{{link|Wikipedia:Cleanup}}}|{{{text|}}}]]{{#if:{{{post-text|}}}| {{{post-text}}}}}</i>]</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;">[<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! --> |