Difference between revisions of "Template talk:If defined call"
(No difference) 
 | 
Latest revision as of 03:46, 27 December 2005
Documentation
Purpose
{{if defined call}}, call a template if a variable or parameter is defined (is not empty), this template will be evaluated last.
Usage
Abstract usage of the template, one variable per row.
{{if defined call
  |VARIABLE_OR_PARAMETER_TO_TEST
  |TEMPLATE_TO_CALL
  |PARAMETER_1
  |...
  |PARAMETER_8
}}
Example
| Code | Result | 
|---|---|
{{if defined call|foo|show1|bar}}
 | 
bar | 
See also
History
Copied from Wikipedia: http://en.wikipedia.org/wiki/Template:If_defined_call