Template:SubstValue

From 7 Days to Die Wiki
Jump to navigation Jump to search

{{{1}}}


Usage

This template checks to see if the test argument ( {{{1}}} ) equals second argument ( {{{2}}} ) and if so, substitutes the third argument ( {{{3}}} ), otherwise it leaves the first argument unchanged. The comparison is case sensitive.

Examples Results
Both examples assume the input value is "stuff"
{{SubstValue|stuff|<font color=blue>yes, it's stuff</font>| }}
yes, it's stuff
{{SubstValue|Stuff|<font color=blue>yes, it's Stuff</font>| }}

de:Vorlage:SubstValue es:Plantilla:SubstValue