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;">[<i>{{#if:{{{pre-text|}}} | |<sup class="noprint Inline-Template {{{class|}}}" style="white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | ||
|{{{pre-text}}}  | |{{{pre-text}}}  | ||
}}[[{{{link|Wikipedia:Cleanup}}}|<span title=" | }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#if:{{{date|}}}|<nowiki/> ({{{date}}})}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}} | ||
| {{{post-text}}} | |||
}}</i>]</sup> | }}</i>]</sup> | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add cats and interwikis | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |