Template:If

Pokewiz讨论 | 贡献2021年1月30日 (六) 03:30的版本 (merge from offical wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Returns the second argument if the first argument is non-empty; returns empty otherwise.

Examples

You type You get

{{if|argument|Argument is non-empty}}

Argument is non-empty

{{if||Argument is non-empty}}

References[编辑源代码]