Template:Fix-span: Difference between revisions

From Vigyanwiki
Template>Czarkoff
(Place subst check after span, so that span does not get concatenated with preceding text)
m (2 revisions imported from alpha:Template:Fix-span)
 
(14 intermediate revisions by 13 users not shown)
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>}}{{#switch:{{{subst|¬}}}
{{#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|¬}}}
  |¬={{category handler
  |¬={{category handler
   |template=[[Category:Templates needing substitution checking]]
   |template=[[Category:Templates needing substitution checking]]
Line 19: Line 19:
}}{{#if:{{{special|}}}
}}{{#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="margin-left:0.1em; white-space:nowrap;">&#91;<i>{{#if:{{{pre-text|}}}
   |{{{pre-text}}}&#32;
   |{{{pre-text}}}&#32;
  }}[[{{{link|Wikipedia:Cleanup}}}|<span title="{{{title|{{{link|Wikipedia:Cleanup}}}}}}{{#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>
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 17:17, 29 July 2023

[]

Template documentation