Vorlage:Issubst und Vorlage:Issubst/Doku: Unterschied zwischen den Seiten
(Unterschied zwischen Seiten)
K (6 Versionen von wikivoyage:Vorlage:Issubst importiert) |
imported>Thesevenseas (Added Links) |
||
Zeile 1: | Zeile 1: | ||
{{ | {{Documentation subpage}} | ||
{{ | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
</ | |||
=== 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: | |||
:<code><nowiki>{{ {{{|safesubst:}}}issubst}}</nowiki></code> | |||
=== Examples === | |||
*"<code><nowiki>{{issubst}}</nowiki></code>" → "{{issubst}}" | |||
*"<code><nowiki>{{subst:issubst}}</nowiki></code>" → "yes" | |||
=== See also === | |||
* [[Template:Ifsubst|Ifsubst]] | |||
* [[Template:Require subst|Require subst]] | |||
* [[Template:Substchecktop|Substchecktop]] | |||
* [[Template:Substcheckbottom|Substcheckbottom]] | |||
<includeonly> | |||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | |||
[[Category:Wikipedia metatemplates|{{PAGENAME}}]] | |||
</includeonly> |
Version vom 2. August 2010, 00:44 Uhr
Dies ist eine nachgeordnete Seite der Dokumentation von Vorlage:Issubst. Sie enthält Informationen zur Verwendung, Kategorisierung und zu anderem Inhalt, der nicht Bestandteil der originalen Vorlage-Seite ist. |
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