Template:Ifsubst: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
en>Alfakim
(finalise)
en>Mxn
(+vi: (noinclude))
Line 3: Line 3:
Add the above code to a template of yours to give it <code>ifsubst</code> functionality. If your template is substituted, your "then" text will appear, else your "else" text. Note that this template in itself must be substituted into your new one.
Add the above code to a template of yours to give it <code>ifsubst</code> functionality. If your template is substituted, your "then" text will appear, else your "else" text. Note that this template in itself must be substituted into your new one.


[[Category:Wikipedia special effects templates|Ifsubst]]</noinclude>
[[Category:Wikipedia special effects templates|Ifsubst]]
 
[[vi:Tiêu bản:Ifsubst]]
</noinclude>

Revision as of 22:02, 11 November 2006

{{subst:ifsubst|then|else}}

Add the above code to a template of yours to give it ifsubst functionality. If your template is substituted, your "then" text will appear, else your "else" text. Note that this template in itself must be substituted into your new one.

vi:Tiêu bản:Ifsubst