Template:Fix-span: Difference between revisions
From The Goon Show Depository
en>DMacks (Do not display the highlighted box if there is no text to put in it) |
m (1 revision imported) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="padding-left:0.1em; padding-right:0.1em; color:#595959; border:1px solid #DDD;">{{{content|}}}</span>}}{{#switch:{{{subst|¬}}} | {{#if:{{{content|}}}|<span class="{{{span-class|cleanup-needed-content}}}" style="padding-left:0.1em; padding-right:0.1em; color:var( --color-emphasized, #595959 ); border:1px solid #DDD;">{{{content|}}}</span>}}{{#switch:{{{subst|¬}}} | ||
|¬={{category handler | |¬={{category handler | ||
|template=[[Category:Templates needing substitution checking]] | |template=[[Category:Templates needing substitution checking]] | ||
Line 21: | Line 21: | ||
|<sup class="noprint Inline-Template {{{class|}}}" style="margin-left:0.1em; white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | |<sup class="noprint Inline-Template {{{class|}}}" style="margin-left:0.1em; white-space:nowrap;">[<i>{{#if:{{{pre-text|}}} | ||
|{{{pre-text}}}  | |{{{pre-text}}}  | ||
}}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{ | }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{#invoke:decodeEncode|encode|s={{{title|{{{link|Wikipedia:Cleanup}}}}}} {{#if:{{{date|}}}|({{{date}}})}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}} | ||
| {{{post-text}}} | | {{{post-text}}} | ||
}}</i>]</sup> | }}</i>]</sup> |