Template:Code: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Remove pretty-s
add serial comma
Line 17: Line 17:
     | and | & | or = , 
     | and | & | or = , 
     | #default = {{#var: delimiter}}
     | #default = {{#var: delimiter}}
  }}
}}{{
  #vardefine: serial | {{
    #switch: {{{delimiter|}}}{{{d|}}}
    | and | or = ,
   }}
   }}
}}<code>{{{1}}}</code>{{
}}<code>{{{1}}}</code>{{
     #if: {{{2|}}} | {{ #if: {{{3|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{2}}}</code>
     #if: {{{2|}}} | {{ #if: {{{3|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{2}}}</code>
}}{{ #if: {{{3|}}} | {{ #if: {{{4|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{3}}}</code>
}}{{ #if: {{{3|}}} | {{ #if: {{{4|}}} |{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{3}}}</code>
}}{{ #if: {{{4|}}} | {{ #if: {{{5|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{4}}}</code>
}}{{ #if: {{{4|}}} | {{ #if: {{{5|}}} |{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{4}}}</code>
}}{{ #if: {{{5|}}} | {{ #if: {{{6|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{5}}}</code>
}}{{ #if: {{{5|}}} | {{ #if: {{{6|}}} |{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{5}}}</code>
}}{{ #if: {{{6|}}} | {{ #if: {{{7|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{6}}}</code>
}}{{ #if: {{{6|}}} | {{ #if: {{{7|}}} |{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{6}}}</code>
}}{{ #if: {{{7|}}} | {{ #if: {{{8|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{7}}}</code>
}}{{ #if: {{{7|}}} | {{ #if: {{{8|}}} |{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{7}}}</code>
}}{{ #if: {{{8|}}} | {{ #if: {{{9|}}} |{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{8}}}</code>
}}{{ #if: {{{8|}}} | {{ #if: {{{9|}}} |{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{8}}}</code>
}}{{ #if: {{{9|}}} | {{ #if: {{{10|}}}|{{#var: mid-delimiter}} | {{#var: delimiter}} }}<code>{{{9}}}</code>
}}{{ #if: {{{9|}}} | {{ #if: {{{10|}}}|{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{9}}}</code>
}}{{ #if: {{{10|}}}| {{ #var: delimiter }}<code>{{{10}}}</code>
}}{{ #if: {{{10|}}}| {{#var:serial}}{{ #var: delimiter }}<code>{{{10}}}</code>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{doc}}
{{doc}}
</noinclude>
</noinclude>

Revision as of 18:23, 28 March 2019