Diff: Template:Pars
Comparing revision #1 (2020-08-14 20:06:37) with revision #2 (2023-02-02 06:54:38).
| Old | New |
|---|---|
<includeonly>{{ |
<includeonly>{{ |
#if: {{{2|}}} |
#if: {{{2|}}} |
|{{font | size={{{2}}} | text=(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1| }}}</span>{{font | size={{{2}}} | text=)}}|{{#if: {{{s|}}} |
|{{font | size={{{2}}} | text=(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1| }}}</span>{{font | size={{{2}}} | text=)}}|{{#if: {{{s|}}} |
|{{font | size={{{s}}} | text=(}}|(}}{{ |
|{{font | size={{{s}}} | text=(}}|(}}{{ |
#if: {{{1|}}} |
#if: {{{1|}}} |
|<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>| }}{{ |
#if: {{{s|}}} |
#if: {{{s|}}} |
|{{font | size={{{s}}} | text=)}}|)}}}}</includeonly><noinclude> |
|{{font | size={{{s}}} | text=)}}|)}}}}</includeonly><noinclude> |
<!------- |
<!------- |
Below, 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 ---> |
{{font | {{{2}}} | text=(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1| }}}</span>{{font | {{{2}}} | text=)}} <!--- End case where 2 is defined --> |
{{font | {{{2}}} | text=(}}<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1| }}}</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|}}} |{{font | size={{{s}}} | text=(}}|(}} <!--- If s is defined then font ( 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 ---> |
}} |
}} |
{{#if: {{{s|}}} |{{font | size={{{s}}} | text=)}}|)}} <!--- If s is defined then font ) 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> |