Template:Temp test

From SMT: Dx2 Wiki
Revision as of 04:17, 15 September 2021 by Wanderingseth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Use/Examples

When passing variables.

{{Temp_test|var_x1=|var_x2=|var_x3=}}
When none are passed in:
Nothing was passed!


When any are passed in:
YesYes


The main factor here is the pipe within the if statement testing beyond what variable is resolved:

{{#if: {{{var_x1|var_x2|var_x3|}}} | Something was Passed | Nothing was passed!}}