Difference between revisions of "Template:Condition test"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<includeonly> | !<includeonly>-->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}<!--{| width=400px; | ||
{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}} | |<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}} | ||
<!--{| width=400px; | |||
|<span style="font-size: 20px;">{{#if:{{:{{Page}}|Title}}|{{Translate|{{:{{Page}}|Title}}|ConditionNames}}|{{Translate|{{Page}}|ConditionNames}}}}</span> <br /> <span style="color:#9d9a9a;">{{c|{{:{{Page}}|ConditionType}}|{{Translate|{{:{{Page}}|ConditionType}}|Properties}}}}</span>{{Tooltip rule}} | |||
|- | |- | ||
|<div style="width:100%;color:white;"> | |<div style="width:100%;color:white;"> | ||
{{#if: {{:{{Page}}|Properties1}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties1}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values1}}</div> | }}{{Clear}}<!-- | {{#if: {{:{{#var:Page}}|Properties1}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties1}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values1}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties2}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties2}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values2}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties2}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties2}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values2}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties3}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties3}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values3}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties3}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties3}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values3}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties4}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties4}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values4}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties4}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties4}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values4}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties5}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties5}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values5}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties5}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties5}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values5}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties6}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties6}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values6}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties6}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties6}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values6}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties7}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties7}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values7}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties7}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties7}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values7}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties8}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties8}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values8}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties8}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties8}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values8}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties9}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties9}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values9}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties9}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties9}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values9}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties10}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties10}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values10}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties10}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties10}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values10}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties11}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties11}}|Properties}}</div> <div style="float: right;">{{:{{Page}}|Values11}}</div> | }}{{Clear}}<!-- | -->{{#if: {{:{{#var:Page}}|Properties11}} | <div style="float:left;">{{Translate|{{:{{#var:Page}}|Properties11}}|Properties}}</div> <div style="float: right;">{{:{{#var:Page}}|Values11}}</div> | }}{{Clear}}<!-- | ||
-->{{#if: {{:{{Page}}|Properties12}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties12}}|Properties}}</div> <div style="float: right;">{{:{{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: {{:{{Page}}|Properties13}} | <div style="float:left;">{{Translate|{{:{{Page}}|Properties13}}|Properties}}</div> <div style="float: right;">{{:{{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: {{:{{Page}}|PropertyText}} | <div style="float:left;">{{#if: {{:{{Page}}|Properties1}}|<br>| }} {{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{Page}}/Tooltip | {{:{{Page}}|PropertyText}} | {{Translate|{{Page}}|ConditionDescriptions}}}} | {{:{{Page}}|PropertyText}}}}</div> |}}</div> | -->{{#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> | ||
|- | |- | ||
|style="color:#9d7969;"|{{#if: {{:{{Page}}|Description}} | {{Tooltip rule}}{{#if: {{#titleparts: {{PAGENAME}} | 2 | |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:{{:{{Page}}|Image}}|{{:{{Page}}|Image}}|{{Page}}.png}}|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{Translate|{{Page}}|ConditionNames}}|{{Translate|{{Page}}|ConditionNames}}]] | |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}}]] | ||
|}</includeonly><noinclude>{{doc}} | |}</includeonly><noinclude>{{doc}} | ||
[[Category:Tooltip templates]]</noinclude> | [[Category:Tooltip templates]]</noinclude> |
Revision as of 17:30, 18 April 2023
!
This template has no documentation. If you know how to use this template, please add some.