Difference between revisions of "Template:Condition test"

From Stoneshard wiki
Jump to navigation Jump to search
(Psojed's code before I messed this up)
 
(25 intermediate revisions by 2 users not shown)
Line 39: Line 39:
|style="color:#9d7969;"|{{#if: {{#var:Description}} | {{Tooltip rule}}{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{ROOTPAGENAME}}/Tooltip | {{#var:Description}} | {{Translate|{{ROOTPAGENAME}} Description|ConditionDescriptions}}}} | {{#var:Description}}}} <br />| }}
|style="color:#9d7969;"|{{#if: {{#var:Description}} | {{Tooltip rule}}{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{ROOTPAGENAME}}/Tooltip | {{#var:Description}} | {{Translate|{{ROOTPAGENAME}} Description|ConditionDescriptions}}}} | {{#var:Description}}}} <br />| }}
|-
|-
|style="text-align:center;"|[[File:{{#if:{{#var:Image}}|{{#var:Image}}|{{ROOTPAGENAME}}.png}}|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{Translate|{{ROOTPAGENAME}}|ConditionNames}}|{{Translate|{{ROOTPAGENAME}}|ConditionNames}}]]
|style="text-align:center;"|[[File:{{#if:{{#var:Image}}|{{#var:Image}}.png|{{ROOTPAGENAME}}.png}}|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{Translate|{{ROOTPAGENAME}}|ConditionNames}}|{{Translate|{{ROOTPAGENAME}}|ConditionNames}}]]
|}</includeonly><noinclude>{{doc}}
|}</includeonly><noinclude>{{doc}}


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

Latest revision as of 03:20, 20 April 2023

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