Template:Ifsubst: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(category, some rephrasing, internal layout)
m (Robot: moving pages out of redirected category)
Line 17: Line 17:


<!--Categories-->
<!--Categories-->
[[Category:Function templates|{{PAGENAME}}]]
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]


<!--Other languages-->
<!--Other languages-->

Revision as of 07:26, 1 September 2008

{{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