Jump to content

Template:Ifsubst

From The Austrian Economics Wiki, the global repository of classical-liberal thought
Revision as of 09:27, 12 August 2011 by John James (talk | contribs) (Created page with "{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}} |{{{no|{{{2|}}}}}} |{{{yes|{{{1|}}}}}} }}<noinclude> {{Documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.
Note that this template must be used in safesubst mode to work properly:

{{ {{{|safesubst:}}}ifsubst| yes | no }}

See also