Difference between revisions of "Template:Issubst/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(doc)
 
imported>Thesevenseas
(Added Links)
Line 3: Line 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>
Line 12: Line 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>

Revision as of 23:44, 1 August 2010

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