Template talk:If defined call

From ThinkWiki
Revision as of 03:46, 27 December 2005 by Thinker (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Tdeprecated

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

Created 
→AzaToth 15:07, 3 December 2005 (UTC)

Copied from Wikipedia: http://en.wikipedia.org/wiki/Template:If_defined_call


Discussion