模板:If

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[编辑源代码]