Template:If

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

Returns the second argument if the first argument is defined, empty otherwise.

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

Examples

You type You get{{{1}}}

|-

|- | {{if|defined|Argument defined!}} | Argument defined! |-

|- | {{if||Argument defined!}} | |}