Vorlage:Ifsubst/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Amalthea
Zeile 17: Zeile 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>

Version vom 28. Juni 2011, 13:30 Uhr

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