Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Template talk:If defined call1

From Data Crystal
Jump to navigation Jump to search

Usage

{{If defined call1|condition|target template|parameter 1}}

If the first parameter is not empty, call the given target template and pass one parameter to it. Else nothing do nothing. (All parameters are unnamed.)

  • condition: parameter to test for "definedness";
  • target template: name of template to call;
  • parameter 1: value to pass to target template as parameter 1.