Difference between revisions of "Template:Condition test"

From Stoneshard wiki
Jump to navigation Jump to search
Line 20: Line 20:
|style="color:#9d7969;"|{{#if: {{:{{#var:Page}}|Description}} | {{Tooltip rule}}{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{#var:Page}}/Tooltip | {{:{{#var:Page}}|Description}} | {{Translate|{{#var:Page}} Description|ConditionDescriptions}}}} | {{:{{#var:Page}} |Description}}}} <br />| }}
|style="color:#9d7969;"|{{#if: {{:{{#var:Page}}|Description}} | {{Tooltip rule}}{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{#var:Page}}/Tooltip | {{:{{#var:Page}}|Description}} | {{Translate|{{#var:Page}} Description|ConditionDescriptions}}}} | {{:{{#var:Page}} |Description}}}} <br />| }}
|-
|-
|style="text-align:center;"|[[File:{{#if:{{:{{#var:Page}}|Image}}|{{:{{#var:Page}}|Image}}|{{#var:Page}}.png}}|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{Translate|{{#var:Page}}|ConditionNames}}|{{Translate|{{#var:Page}}|ConditionNames}}]]
|style="text-align:center;"|[[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}}
|}</includeonly><noinclude>{{doc}}


[[Category:Tooltip templates]]</noinclude>
[[Category:Tooltip templates]]</noinclude>

Revision as of 17:32, 18 April 2023

!

This template has no documentation. If you know how to use this template, please add some.