Template:If last display both

テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

使い方[編集]

第2引数に空文字列以外が指定されていれば、第1引数の値と第2引数の値を連結した文字列を返します。

{{If last display both|1|2}}
→ 12
{{If last display both||2}}
→ 2

第2引数に空文字列が指定されていれば、第1引数の値に関係なく常に空文字列を返します。

{{If last display both|1|}}

関連項目[編集]