Template:Fix: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Hersfold
(proposed edit, removes nbsp and replaces it with a normal space)
meta>MSGJ
(few uncontroversial changes: use Template:cat handler, automatically populate Category:Inline cleanup templates, adjust whitespace)
Line 1: Line 1:
<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>
{{#if:{{{text|}}}
{{pp-template|small=yes}}
|<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|}}}
  |[[{{{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 12:30, 8 June 2010

Template:Cat handler