Template talk:If defined call1

From Data Crystal
Jump to: navigation, 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.