Difference between revisions of "Template:Temp test"

From SMT: Dx2 Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{| border=0 style="max-width: 190px; text-align: center"
 
<includeonly>{| border=0 style="max-width: 190px; text-align: center"
|
 
|- BGCOLOR="#C0C0C0" style="height: 5px;"
 
|
 
 
{{#if: {{{var_x1|var_x2|var_x3|}}} | <tr style="color: white; background: #4b4d4f; text-align: center; font-size: 12px"><td>Something was True</td></tr> | <tr height="0">None of it was true! :D</tr>}}
 
{{#if: {{{var_x1|var_x2|var_x3|}}} | <tr style="color: white; background: #4b4d4f; text-align: center; font-size: 12px"><td>Something was True</td></tr> | <tr height="0">None of it was true! :D</tr>}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 22:17, 14 September 2021

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:
Yes