Template:Code: Difference between revisions
Jump to navigation
Jump to search
add support for a different final delimiter (currently only "pretty" which gives ", and " before the final item); prettify code a bit |
No edit summary |
||
Line 1: | Line 1: | ||
{{ #vardefine: delimiter | {{ | {{ #vardefine: delimiter | {{ | ||
#switch: {{{delimiter|}}} | #switch: {{{delimiter|}}}{{{delimit|}}}{{{d|}}} | ||
| , | pretty = , | | , | pretty = , | ||
| and = and | | and = and | ||
| & = & | | & = & | ||
| or = or | | or = or | ||
| to = to | |||
| newline = <br/> | | newline = <br/> | ||
| list | list-newline | bullet | * = <br/> | | list | list-newline | bullet | * = <br/> |
Revision as of 21:43, 23 November 2018
{{{1}}}
Template:Shortcut