Template:Pars: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mgkrupa
Created template based on Template:Abs
 
Ookami (talk | contribs)
m 9 revisions imported
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|{{resize|{{{2}}}%|&#0028;}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>{{resize|{{{2}}}%|&#0029;}}|{{#if:{{{s|}}}|{{resize|{{{s}}}%|&#0028;}}|&#0028;}}{{#if:{{{1|}}}|<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>|&nbsp;&nbsp;}}{{#if:{{{s|}}}|{{resize|{{{s}}}%|&#0029;}}|&#0029;}}}}</includeonly><noinclude>
<includeonly>{{
  #if: {{{2|}}}
    |{{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|}}}
          |{{font | size={{{s}}} | text=(}}|(}}{{
                #if: {{{1|}}}
                  |<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>|&nbsp;&nbsp;}}{{
                #if: {{{s|}}}
                  |{{font | size={{{s}}} | text=)}}|)}}}}</includeonly><noinclude>
<!-------
 
Below, we add spacing to the above code to make it more readable:
 
------->
{{#if: {{{2|}}}  |  <!--- Start 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 -->
{{#if: {{{s|}}} |{{font | size={{{s}}} | text=(}}|(}} <!--- If s is defined then font ( otherwise, print a normal ( --->
{{#if: {{{1|}}} |  <!--- Start case where 1 is defined --->
<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>
|                 <!--- Start case where 1 is NOT defined --->
&nbsp;&nbsp;}}
{{#if: {{{s|}}} |{{font | size={{{s}}} | text=)}}|)}} <!--- If s is defined then font ) otherwise, else print a normal ) --->
}}<!--- End the if statement: {{#if: {{{2|}}} | ...  --->
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 14:38, 3 September 2020

(    )