Template:Code: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
use a #switch instead
Line 13: Line 13:
   }}
   }}
}}{{ #vardefine: finaldelimiter | {{
}}{{ #vardefine: finaldelimiter | {{
   #ifeq: {{{delimiter|}}}{{{delimit|}}}{{{d|}}} | pretty | , and 
   #switch: {{{delimiter|}}}{{{delimit|}}}{{{d|}}}
| {{
  | pretty = , and 
   #ifeq: {{{delimiter|}}}{{{delimit|}}}{{{d|}}} | pretty-or | , or 
   | pretty-or = , or 
| {{ #var: delimiter }}
  | {{ #var: delimiter }}
}}}}
}}}}
}}<code>{{{1}}}</code>{{ #if: {{{2|}}} | {{ #var: {{ #if: {{{3|}}} || final }}delimiter }}<code>{{{2}}}</code>
}}<code>{{{1}}}</code>{{ #if: {{{2|}}} | {{ #var: {{ #if: {{{3|}}} || final }}delimiter }}<code>{{{2}}}</code>

Revision as of 05:56, 6 December 2018

}}{{{1}}}

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.