Template:Fix-span: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Czarkoff
Made {{{class}}} handling consistent with {{fix}}
meta>Czarkoff
Making closer to template:fix (unless documentation requires otherwise)
Line 1: Line 1:
{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background-color: #fff9f9; color: DarkSlateGray; border: 1px solid #ffdcdc;">{{{content|}}}</span>|}}{{#if:{{{special|}}}
{{#switch:{{{subst|¬}}}
|¬={{category handler
  |template=[[Category:Templates needing substitution checking]]
  |nocat={{{nocat|<noinclude>true</noinclude>}}}
}}
|SUBST=[[Category:Pages with incorrectly substituted templates]]
}}{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="background-color: #fff9f9; color: DarkSlateGray; border: 1px solid #ffdcdc;">{{{content|}}}</span>}}{{Category handler
|main={{Fix/category
  |cat-date={{{cat-date|}}}
  |cat={{{cat|}}}
  |cat-date2={{{cat-date2|}}}
  |cat2={{{cat2|}}}
  |cat-date3={{{cat-date3|}}}
  |cat3={{{cat3|}}}
  |date={{{date|}}}
}}
|template={{#if:{{{name|}}}|{{#ifeq:{{{name}}}|{{ROOTPAGENAME}}||{{#if:{{{date|}}}||[[Category:Templates including undated clean-up tags]]}}}}}}
|subpage=no
}}{{#if:{{{special|}}}
  |{{{special|}}}
  |{{{special|}}}
  |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
  |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
|{{{pre-text}}}&#32;
  |{{{pre-text}}}&#32;
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{replace|{{{title|{{{link|Wikipedia:Cleanup}}}}}}|"|&quot;}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}">{{{text|cleanup needed}}}</span>]]{{#if:{{{post-text|}}}
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}
  |&#32;{{{post-text}}}
  |&#32;{{{post-text}}}
  }}</i>&#93;</sup>
  }}</i>&#93;</sup>
}}{{category 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]]
  }}
  }}
}}
|subpage=no
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add cats and interwikis links to the /doc subpage, not here! -->
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 07:25, 7 July 2014

[]