Template:Code: Difference between revisions
Jump to navigation
Jump to search
fix |
No edit summary |
||
Line 12: | Line 12: | ||
| #default = {{{delimiter| }}} | | #default = {{{delimiter| }}} | ||
}} | }} | ||
}}{{ #vardefine: finaldelimiter | {{ #ifeq: {{{delimiter|}}}{{{delimit|}}}{{{d|}}} | pretty | , and | {{ #var: delimiter }} }} | }}{{ #vardefine: finaldelimiter | {{ | ||
#ifeq: {{{delimiter|}}}{{{delimit|}}}{{{d|}}} | pretty | , and | |||
| {{ | |||
#ifeq: {{{delimiter|}}}{{{delimit|}}}{{{d|}}} | pretty-or | , or | |||
| {{ #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> | ||
}}{{ #if: {{{3|}}} | {{ #var: {{ #if: {{{4|}}} || final }}delimiter }}<code>{{{3}}}</code> | }}{{ #if: {{{3|}}} | {{ #var: {{ #if: {{{4|}}} || final }}delimiter }}<code>{{{3}}}</code> |