Difference between revisions of "Template:Issubst/doc"

From blackwiki
Jump to navigation Jump to search
(Undid revision 490759724 by Ahora (talk))
imported>PanchoS
(refine categorization; rm redundant interwikilinks)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
  
 
=== Usage ===
 
=== Usage ===
Line 19: Line 18:
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
[[Category:Boolean, register, and condition testing templates|{{PAGENAME}}]]
[[Category:Wikipedia metatemplates|{{PAGENAME}}]]
 
 
 
[[eo:Ŝablono:Issubst]]
 
[[ja:Template:Issubst]]
 
[[sl:Predloga:Issubst]]
 
[[sr:Шаблон:Issubst]]
 
 
</includeonly>
 
</includeonly>

Revision as of 12:45, 10 March 2016

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