Template:Ifsubst: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}} |{{{no|{{{2|}}}}}} |{{{yes|{{{1|}}}}}} }}<noinclude> {{Documentation}} </noinclude>")
 
mNo edit summary
 
Line 5: Line 5:
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
[[Category:Templates]]

Latest revision as of 22:17, 14 December 2012

[edit] Template documentation

Usage[edit source]

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

Template:List of subst helper templates