Difference between revisions of "Template:Condition test"

From Stoneshard wiki
Jump to navigation Jump to search
Line 1: Line 1:
!<includeonly>-->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}<!--{| width=400px;
<includeonly><!--
-->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}{| width=400px;
|<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 16: Line 17:
-->{{#if: {{:{{#var:Page}}|Properties12}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties12}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values12}}</div> | }}{{Clear}}<!--
-->{{#if: {{:{{#var:Page}}|Properties12}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties12}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values12}}</div> | }}{{Clear}}<!--
-->{{#if: {{:{{#var:Page}}|Properties13}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties13}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values13}}</div> | }}{{Clear}}<!--
-->{{#if: {{:{{#var:Page}}|Properties13}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties13}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values13}}</div> | }}{{Clear}}<!--
-->{{#if: {{:{{#var:Page}}|PropertyText}} | <div style="float:left;">{{#if: {{:{{#var:Page}}|Properties1}}|<br>| }} {{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{#var:Page}}/Tooltip | {{:{{#var:Page}}|PropertyText}} | {{Translate|{{#var:Page}}|ConditionDescriptions}}}} | {{:{{#var:Page}}|PropertyText}}}}</div> |}}</div>
-->{{#if: {{:{{#var:Page}}|PropertyText}} | <div style="float:left;">{{#if: {{:{{#var:Page}}|Properties1}}|<br>| }} {{#if: {{#titleparts: {{#var:Page}} | 1 | 2}} | {{#ifeq: {{#var:Page}} | {{#var:Page}}/Tooltip | {{:{{#var:Page}}|PropertyText}} | {{Translate|{{#var:Page}}|ConditionDescriptions}}}} | {{:{{#var:Page}}|PropertyText}}}}</div> |}}</div>
|-
|-
|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: {{#var:Page}} | 1 | 2}} | {{#ifeq: {{#var:Page}} | {{#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:{{#var:Page}}|Tooltip|{{#var:Page}}|{{#var:Page}}/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}}]]

Revision as of 17:42, 18 April 2023

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