Template:If-Then-Else

From GuildWiki
Jump to: navigation, search

{{{then}}} This template is deprecated. For logic-related functions, please use ParserFunctions.

Usage

{{If-Then-Else|if=if condition|then=Then text|else=else text}}

Notes

  • to check if a parameter exists, use a null replacement syntax. for instance, to see if parameter 1 was passed from the calling page, set "{{{1|}}}" as the if condition.
  • for evaluations, use {{equals}}.