Template:If

From Curious Expedition 2 Wiki
Revision as of 21:50, 10 January 2021 by Delvr (talk | contribs)

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

See WikiMedia Help - Advanced Templates - Branching techniques without ParserFunctions.

Examples

You type You get

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

Argument is non-empty

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