Vorlage:Issubst/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Amalthea
(doc)
 
imported>Thesevenseas
(Added Links)
Zeile 3: Zeile 3:


=== Usage ===
=== Usage ===
Meta template that returns "yes" if evaluated during substitution, and the empty string 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 "yes" if evaluated during substitution, and the empty string if evaluated during transclusion.<br />Note that this template must be used in [[meta:Help:Safesubst|safesubst]] mode to work properly:


:<code><nowiki>{{ {{{|safesubst:}}}issubst}}</nowiki></code>
:<code><nowiki>{{ {{{|safesubst:}}}issubst}}</nowiki></code>
Zeile 12: Zeile 12:


=== See also ===
=== See also ===
* {{tl|Ifsubst}}
 
* {{tl|Require subst}}
* [[Template:Ifsubst|Ifsubst]]
* [[Template:Require subst|Require subst]]
* [[Template:Substchecktop|Substchecktop]]
* [[Template:Substcheckbottom|Substcheckbottom]]


<includeonly>
<includeonly>

Version vom 2. August 2010, 01:44 Uhr

Usage

Meta template that returns "yes" if evaluated during substitution, and the empty string if evaluated during transclusion.
Note that this template must be used in safesubst mode to work properly:

{{ {{{|safesubst:}}}issubst}}

Examples

  • "{{issubst}}" → ""
  • "{{subst:issubst}}" → "yes"

See also