Template:Ifsubst
From Self-sufficiency
Revision as of 13:03, 16 February 2007 by David Kernow (Talk) (category, some rephrasing, internal layout)
{{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