Difference between revisions of "Template:Issubst/doc"
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 === | ||
| − | * | + | |
| − | * | + | * [[Template:Ifsubst|Ifsubst]] |
| + | * [[Template:Require subst|Require subst]] | ||
| + | * [[Template:Substchecktop|Substchecktop]] | ||
| + | * [[Template:Substcheckbottom|Substcheckbottom]] | ||
<includeonly> | <includeonly> | ||
Revision as of 23:44, 1 August 2010
| This is a documentation subpage for Template:Issubst. It contains usage information, categories and other content that is not part of the original template page. |
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