Jump to content

Template:Para and Template:Para/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
breakup super long words, so we do not overflow the viewport.
 
No edit summary
 
Line 1: Line 1:
<code class="tpl-para" style="word-break:break-word;{{SAFESUBST:<noinclude />#if:{{{plain|}}}|border: none; background-color: inherit;}} {{SAFESUBST:<noinclude />#if:{{{plain|}}}{{{mxt|}}}{{{green|}}}{{{!mxt|}}}{{{red|}}}|color: {{SAFESUBST:<noinclude />#if:{{{mxt|}}}{{{green|}}}|#006400|{{SAFESUBST:<noinclude />#if:{{{!mxt|}}}{{{red|}}}|#8B0000|inherit}}}};}} {{SAFESUBST:<noinclude />#if:{{{style|}}}|{{{style}}}}}">&#124;{{SAFESUBST:<noinclude />#if:{{{1|}}}|{{{1}}}&#61;}}{{{2|}}}</code><noinclude>
<code class="tpl-para" style="word-break:break-word; {{#if:{{{plain|}}}|border: none; background-color: inherit;}}"><span {{#ifeq:{{{color|}}}|none||style="color:#333"}}>&#124;</span><span {{#switch:{{{color|syn}}}
|red=style="color:#8B0000"
|green=style="color:#008000"
|none=
|<!-- for when |color= exists but does not have an assigned value -->
|syn=style="color:#767600"
|#default=style="color:{{{color|}}}"
}}>{{{1|}}}</span>{{#if:{{{1|}}}|<span {{#ifeq:{{{color|}}}|none||style="color:#666"}}>&#61;</span>}}<span {{#ifeq:{{{color|}}}|none||style="color:#333"}}>{{{2|}}}</span></code><noinclude>
{{Documentation}}
{{Documentation}}
<!--Categories and interwikis go near the bottom of the /doc subpage.-->
<!--Categories and interwikis go near the bottom of the /doc subpage.-->