Template:Pars: Difference between revisions

From Vigyanwiki
Template>Mgkrupa
(Spacing)
m (9 revisions imported from alpha:Template:Pars)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{2|}}}
<includeonly>{{
     |{{resize |{{{2}}}%|(}}
  #if: {{{2|}}}
      <span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1|&nbsp;&nbsp;}}}</span>
     |{{font | size={{{2}}} | text=(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1|&nbsp;&nbsp;}}}</span>{{font | size={{{2}}} | text=)}}|{{#if: {{{s|}}}
      {{resize | {{{2}}}% |)}}
           |{{font | size={{{s}}} | text=(}}|(}}{{
    |{{#if: {{{s|}}}
                #if: {{{1|}}}
           |{{resize | {{{s}}}% |(}}
                  |<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>|&nbsp;&nbsp;}}{{
          |(
                #if: {{{s|}}}
      }}
                  |{{font | size={{{s}}} | text=)}}|)}}}}</includeonly><noinclude>
      {{#if: {{{1|}}}
          |<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>
          |&nbsp;&nbsp;}}
      {{#if: {{{s|}}}
          |{{resize | {{{s}}}% |)}}
          |)
      }}
}}</includeonly><noinclude>
<!-------  
<!-------  


Line 20: Line 12:


------->
------->
{{#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 -->
{{font | {{{2}}} | text=(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1|&nbsp;&nbsp;}}}</span>{{font | {{{2}}} | text=)}}      <!--- End case where 2 is defined -->
|                 <!-- Start case where 2 is NOT defined -->
|                 <!-- Start case where 2 is NOT defined -->
{{#if:{{{s|}}}|{{resize|{{{s}}}%|(}}|(}} <!--- If s is defined then resize ( otherwise, print a normal ( --->
{{#if: {{{s|}}} |{{font | size={{{s}}} | text=(}}|(}} <!--- If s is defined then font ( otherwise, print a normal ( --->
{{#if:{{{1|}}}|  <!--- Start case where 1 is defined --->
{{#if: {{{1|}}} |  <!--- Start case where 1 is defined --->
<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>
<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>
|                 <!--- Start case where 1 is NOT defined --->
|                 <!--- Start case where 1 is NOT defined --->
&nbsp;&nbsp;}}
&nbsp;&nbsp;}}
{{#if:{{{s|}}}|{{resize|{{{s}}}%|)}}|)}} <!--- If s is defined then resize ) otherwise, else print a normal ) --->
{{#if: {{{s|}}} |{{font | size={{{s}}} | text=)}}|)}} <!--- If s is defined then font ) otherwise, else print a normal ) --->
}}<!--- End the if statement: {{#if:{{{2|}}}| ...  --->
}}<!--- End the if statement: {{#if: {{{2|}}} | ...  --->
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 09:02, 21 January 2023

(    )

Template documentation