Difference between revisions of "Template:Temp test"
(Creating this template to help learn templates) |
|||
Line 3: | Line 3: | ||
|- BGCOLOR="#C0C0C0" style="height: 5px;" | |- BGCOLOR="#C0C0C0" style="height: 5px;" | ||
| | | | ||
− | {{#if: {{{var_x1| | + | {{#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> | ||
<noinclude>[[Category:Templates|{{PAGENAME}}]] | <noinclude>[[Category:Templates|{{PAGENAME}}]] | ||
Line 19: | Line 19: | ||
{| class="wikitable" align="left" | {| class="wikitable" align="left" | ||
|+When any are passed in: | |+When any are passed in: | ||
− | | valign="top" |{{Temp_test|var_x1=|var_x2=|var_x3=}}<br> | + | | valign="top" |{{Temp_test|var_x1=Yes|var_x2=|var_x3=}}<br> |
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 22:16, 14 September 2021
Use/Examples
When passing variables.
{{Temp_test|var_x1=|var_x2=|var_x3=}} |
Nothing was passed!
|
|