Difference between revisions of "Template:Condition test"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}<!-- | -->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}<!-- | ||
-->{| width | -->{| <div style="width: 300px;">; | ||
|<span style="font-size: 20px;">{{#if:{{:{{#var:Page}}|Title}}|{{Translate|{{:{{#var:Page}}|Title}}|ConditionNames}}|{{Translate|{{#var:Page}}|ConditionNames}}}}</span> <br /> <span style="color:#9d9a9a;">{{c|{{:{{#var:Page}}|ConditionType}}|{{Translate|{{:{{#var:Page}}|ConditionType}}|Properties}}}}</span>{{Tooltip rule}} | |<span style="font-size: 20px;">{{#if:{{:{{#var:Page}}|Title}}|{{Translate|{{:{{#var:Page}}|Title}}|ConditionNames}}|{{Translate|{{#var:Page}}|ConditionNames}}}}</span> <br /> <span style="color:#9d9a9a;">{{c|{{:{{#var:Page}}|ConditionType}}|{{Translate|{{:{{#var:Page}}|ConditionType}}|Properties}}}}</span>{{Tooltip rule}} | ||
|- | |- | ||
Line 23: | Line 23: | ||
|- | |- | ||
|style="text-align:center;"|{{#if: {{{tooltip|}}}||[[File:{{#if:{{:{{#var:Page}}|Image}}|{{:{{#var:Page}}|Image}}|{{#var:Page}}.png}}|link={{#ifeq:{{#var:Page}}|Tooltip|{{#var:Page}}|{{#var:Page}}/Tooltip}}|alt={{Translate|{{#var:Page}}|ConditionNames}}|{{Translate|{{#var:Page}}|ConditionNames}}]]}} | |style="text-align:center;"|{{#if: {{{tooltip|}}}||[[File:{{#if:{{:{{#var:Page}}|Image}}|{{:{{#var:Page}}|Image}}|{{#var:Page}}.png}}|link={{#ifeq:{{#var:Page}}|Tooltip|{{#var:Page}}|{{#var:Page}}/Tooltip}}|alt={{Translate|{{#var:Page}}|ConditionNames}}|{{Translate|{{#var:Page}}|ConditionNames}}]]}} | ||
|}</includeonly><noinclude>{{doc}} | </div>|}</includeonly><noinclude>{{doc}} | ||
[[Category:Tooltip templates]]</noinclude> | [[Category:Tooltip templates]]</noinclude> |
Revision as of 02:50, 20 April 2023
This template has no documentation. If you know how to use this template, please add some.