Difference between revisions of "Template:Issubst"

From GodWiki
Jump to: navigation, search
(Borrowed from Wikipedia's Template:Issubst (for use in Template:Talkback, ultimately))
m (Categories)
Line 1: Line 1:
{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}}||yes }}<noinclude>
{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}}||yes }}<noinclude>
[[Category:Templates|{{PAGENAME}}]][[Category:Template namespace templates|{{PAGENAME}}]]{{Documentation}}</noinclude>

Latest revision as of 18:22, 11 November 2018

[view] [edit] [history] [refresh]
📚 Documentation


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}}


  • "{{issubst}}" → ""
  • "{{subst:issubst}}" → "yes"