Difference between revisions of "Template:Issubst/Documentation"

From GodWiki
Jump to: navigation, search
m (Category)
m (Removed includeonly tags around category)
 
Line 8: Line 8:
 
*"<code><nowiki>{{subst:issubst}}</nowiki></code>" → "yes"
 
*"<code><nowiki>{{subst:issubst}}</nowiki></code>" → "yes"
  
<includeonly><noinclude>[[Category:Templates/Documents|{{PAGENAME}}]]</noinclude></includeonly>
+
<noinclude>[[Category:Templates/Documents|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:22, 12 November 2018

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"