Template:Ifsubst

From blackwiki
Revision as of 11:03, 16 February 2007 by blackwiki>David Kernow (category, some rephrasing, internal layout)
Jump to navigation Jump to search
{{subst:ifsubst|then|else}}

Add the above code to a template to give it ifsubst functionality. Note that this template in itself must actually be substituted into your new one, becoming part of its code.

When the template to which this code has been added is then substituted, the "then" text will appear, else the "else" text.

vi:Tiêu bản:Ifsubst