Template:If

From RoboWiki
Jump to: navigation, search
  1. if replacement.
Usage:
{{if
  |test=VARIABLE_OR_PARAMETER_TO_TEST
  |then=code if 'test' is not empty
  |else=code if 'test' is empty
}}

Parameter else is optional.

Personal tools