Vorlage:Issubst und Vorlage:Issubst/Doku: Unterschied zwischen den Seiten

Aus skandinavien-wiki.net
(Unterschied zwischen Seiten)
K (6 Versionen von wikivoyage:Vorlage:Issubst importiert)
 
imported>Thesevenseas
(Added Links)
 
Zeile 1: Zeile 1:
{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}}||yes }}<noinclude>
{{Documentation subpage}}
{{Dokumentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
</noinclude>
 
=== 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

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