Vorlage:Ifsubst/Doku: Unterschied zwischen den Versionen
imported>Amalthea (create) |
imported>Thesevenseas (Added Links) |
||
Zeile 3: | Zeile 3: | ||
===Usage=== | ===Usage=== | ||
Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.<br>Note that this template must be used in [[meta:Help:Safesubst|safesubst]] mode to work properly: | Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.<br />Note that this template must be used in [[meta:Help:Safesubst|safesubst]] mode to work properly: | ||
:<code><nowiki>{{ {{{|safesubst:}}}ifsubst| yes | no }}</nowiki></code> | :<code><nowiki>{{ {{{|safesubst:}}}ifsubst| yes | no }}</nowiki></code> | ||
==See also== | ==See also== | ||
* | |||
* | * [[Template:Issubst|Issubst]] | ||
* [[Template:Require subst|Require subst]] | |||
* [[Template:Substchecktop|Substchecktop]] | |||
* [[Template:Substcheckbottom|Substcheckbottom]] | |||
<includeonly> | <includeonly> |
Version vom 2. August 2010, 00:44 Uhr
Dies ist eine nachgeordnete Seite der Dokumentation von Vorlage:Ifsubst. Sie enthält Informationen zur Verwendung, Kategorisierung und zu anderem Inhalt, der nicht Bestandteil der originalen Vorlage-Seite ist. |
Usage
Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.
Note that this template must be used in safesubst mode to work properly:
{{ {{{|safesubst:}}}ifsubst| yes | no }}
See also