Template:Ifsubst

From Self-sufficiency
Revision as of 17:34, 21 August 2006 by Alfakim (Talk)

Jump to: navigation, search

When subst:ed, this template returns parameter then, else parameter else.

Code Return Unparsed return
{{ifsubst|then=foo|else=bar}}
{{ifsubst|then=foo|else=bar}}
{{subst:ifsubst|then=foo|else=bar}}
foo {{{{{1|}}}#if:|bar|foo}}
{{subst:ifsubst|then=foo|else=bar|subst:}}
foo foo