Template:If

From Curious Expedition 2 Wiki
Revision as of 20:40, 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{{{1}}}

|-

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

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