Difference between revisions of "Template:Ifsubst/doc"
Jump to navigation
Jump to search
imported>EVula m (+ simple:Template:Ifsubst) |
imported>Amalthea |
||
| Line 17: | Line 17: | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Wikipedia metatemplates|{{PAGENAME}}]] | [[Category:Wikipedia metatemplates|{{PAGENAME}}]] | ||
| + | [[Category:If-then-else templates|{{PAGENAME}}]] | ||
[[ja:Template:Ifsubst]] | [[ja:Template:Ifsubst]] | ||
[[simple:Template:Ifsubst]] | [[simple:Template:Ifsubst]] | ||
</includeonly> | </includeonly> | ||
Revision as of 12:30, 28 June 2011
| This is a documentation subpage for Template:Ifsubst. It contains usage information, categories and other content that is not part of the original template page. |
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