Template:Pars: Difference between revisions

From Vigyanwiki
Template>Mgkrupa
(Touch)
Template>Mgkrupa
m (Update)
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|{{resize|{{{2}}}%|(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1|&nbsp;&nbsp;}}}</span>{{resize|{{{2}}}%|)}}|{{#if:{{{s|}}}|{{resize|{{{s}}}%|(}}|(}}{{#if:{{{1|}}}|<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>|&nbsp;&nbsp;}}{{#if:{{{s|}}}|{{resize|{{{s}}}%|)}}|)}}}}</includeonly><noinclude>
<includeonly>{{#if:{{{2|}}}|{{resize|{{{2}}}%|(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1|&nbsp;&nbsp;}}}</span>{{resize|{{{2}}}%|)}}|{{#if:{{{s|}}}|{{resize|{{{s}}}%|(}}|(}}{{#if:{{{1|}}}|<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>|&nbsp;&nbsp;}}{{#if:{{{s|}}}|{{resize|{{{s}}}%|)}}|)}}}}</includeonly><noinclude>
<!-------


We add spacing to the above code to make it more readable:
Below, we add spacing to the above code to make it more readable:  
 
------->
{{#if:{{{2|}}}|  <!--- Start case where 2 is defined --->
{{#if:{{{2|}}}|  <!--- Start case where 2 is defined --->
{{resize|{{{2}}}%|(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1|&nbsp;&nbsp;}}}</span>{{resize|{{{2}}}%|)}}      <!--- End case where 2 is defined -->
{{resize|{{{2}}}%|(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1|&nbsp;&nbsp;}}}</span>{{resize|{{{2}}}%|)}}      <!--- End case where 2 is defined -->
Line 12: Line 15:
{{#if:{{{s|}}}|{{resize|{{{s}}}%|)}}|)}} <!--- If s is defined then resize ) otherwise, else print a normal ) --->
{{#if:{{{s|}}}|{{resize|{{{s}}}%|)}}|)}} <!--- If s is defined then resize ) otherwise, else print a normal ) --->
}}<!--- End the if statement: {{#if:{{{2|}}}| ...  --->
}}<!--- End the if statement: {{#if:{{{2|}}}| ...  --->
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 00:52, 14 August 2020

(    )

Template documentation