ಟೆಂಪ್ಲೇಟು:Issubst/doc
ಗೋಚರ
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Issubst It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು 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"
Related templates
[ಬದಲಾಯಿಸಿ]{{Require subst}}
: Prints an error unless substituted.{{Subst check top}}
、{{Subst check bottom}}
: Same purpose, but used as a pair.{{Subst only}}
: For the doc of the above templates; prints a message asking for it be substituted.{{Nosubst}}
: The reverse of{{Subst only}}
. For the doc of templates which should not be substituted; prints a message asking for it not to be substituted.
{{Issubst}}
: Returns "yes" if substituted.{{Ifsubst}}
: Forks if substituted or not.