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;">&#91;<i>{{#if:{{{pre-text|}}}
  |<sup class="noprint Inline-Template {{{class|}}}" style="margin-left:0.1em; 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|}}}</span>]]{{#if:{{{post-text|}}}
  }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{#invoke:decodeEncode|encode|s={{{title|{{{link|Wikipedia:Cleanup}}}}}} {{#if:{{{date|}}}|({{{date}}})}}}}">{{{text|}}}</span>]]{{#if:{{{post-text|}}}
   |&#32;{{{post-text}}}
   |&#32;{{{post-text}}}
  }}</i>&#93;</sup>
  }}</i>&#93;</sup>

Latest revision as of 11:27, 13 July 2024

[]