Template:Code: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
add serial comma
Add error handling
Line 33: Line 33:
}}{{ #if: {{{9|}}} | {{ #if: {{{10|}}}|{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{9}}}</code>
}}{{ #if: {{{9|}}} | {{ #if: {{{10|}}}|{{#var: mid-delimiter}} | {{#var:serial}}{{#var: delimiter}} }}<code>{{{9}}}</code>
}}{{ #if: {{{10|}}}| {{#var:serial}}{{ #var: delimiter }}<code>{{{10}}}</code>
}}{{ #if: {{{10|}}}| {{#var:serial}}{{ #var: delimiter }}<code>{{{10}}}</code>
}}{{  #if: {{{11|}}}|<span style="color:red">'''Error:''' Too many parameters (maximum: 10)</span>[[Category:Error with code template]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{doc}}
{{doc}}
</noinclude>
</noinclude>

Revision as of 18:27, 28 March 2019