Template:join semicolon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{{1|}}}{{if both|{{{1|}}}|{{{2|}}}|;}} {{{2|}}} | {{{1|}}}{{if both|{{{1|}}}|{{{2|}}}|;}} {{{2|}}} | ||
<noinclude> | <noinclude>=== Usage === | ||
=== Usage === | |||
<code><nowiki>{{join semicolon|one|two}}</nowiki></code> returns <code>one; two</code> if both parameters are present, otherwise just <code>one</code> or <code>two</code> | <code><nowiki>{{join semicolon|one|two}}</nowiki></code> returns <code>one; two</code> if both parameters are present, otherwise just <code>one</code> or <code>two</code> | ||
[[Category:Join templates]]</noinclude> | [[Category:Join templates]]</noinclude> |
Latest revision as of 15:16, 11 February 2023
Usage
{{join semicolon|one|two}}
returns one; two
if both parameters are present, otherwise just one
or two