Vorlage:Ifsubst/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
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==
* {{tl|Issubst}}
 
* {{tl|Require subst}}
* [[Template:Issubst|Issubst]]
* [[Template:Require subst|Require subst]]
* [[Template:Substchecktop|Substchecktop]]
* [[Template:Substcheckbottom|Substcheckbottom]]


<includeonly>
<includeonly>

Version vom 2. August 2010, 00:44 Uhr

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