Vorlage:Ifsubst: Unterschied zwischen den Versionen
imported>David Kernow (category, some rephrasing, internal layout) |
imported>RussBot K (Robot: moving pages out of redirected category) |
||
Zeile 17: | Zeile 17: | ||
<!--Categories--> | <!--Categories--> | ||
[[Category: | [[Category:Wikipedia formatting and function templates|{{PAGENAME}}]] | ||
<!--Other languages--> | <!--Other languages--> | ||
[[vi:Tiêu bản:Ifsubst]] | [[vi:Tiêu bản:Ifsubst]] | ||
</noinclude> | </noinclude> |
Version vom 1. September 2008, 09:26 Uhr
{{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.