{{{1}}}
Usage[]
This template checks to see if the test argument ( {{{1}}}
) exists and if so, leaves it intact, but if the argument does not exists, it substitutes a default value ( {{{2}}}
).
Examples | Results |
---|---|
The first example assumes the input value is "stuff", there is no input for the second
{{DefaultValue|—}} |
yes, there is input |
{{DefaultValue|—}} |
— |