Difference between revisions of "Template:Condition test"

From Stoneshard wiki
Jump to navigation Jump to search
Line 7: Line 7:
-->{{#vardefine:Properties1|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|0|}}|}}}}<!--
-->{{#vardefine:Properties1|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|0|}}|}}}}<!--
-->{{#vardefine:Values1|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|1}}|}}}}<!--
-->{{#vardefine:Values1|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|1}}|}}}}<!--
-->{{#vardefine:Properties2|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|2}}|}}}}<!--
-->{{#vardefine:Properties2|{{#ifexpr: {{#var:Count}}>3|{{#explode: {{#var:Datastring}}|;|2}}|}}}}<!--
-->{{#vardefine:Values2|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|3}}|}}}}<!--
-->{{#vardefine:Values2|{{#ifexpr: {{#var:Count}}>3|{{#explode: {{#var:Datastring}}|;|3}}|}}}}<!--
-->{{#vardefine:Properties3|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|4}}|}}}}<!--
-->{{#vardefine:Properties3|{{#ifexpr: {{#var:Count}}>5|{{#explode: {{#var:Datastring}}|;|4}}|}}}}<!--
-->{{#vardefine:Values3|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|5}}|}}}}<!--
-->{{#vardefine:Values3|{{#ifexpr: {{#var:Count}}>5|{{#explode: {{#var:Datastring}}|;|5}}|}}}}<!--
-->{{#vardefine:Properties4|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|6}}|}}}}<!--
-->{{#vardefine:Properties4|{{#ifexpr: {{#var:Count}}>7|{{#explode: {{#var:Datastring}}|;|6}}|}}}}<!--
-->{{#vardefine:Values4|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|7}}|}}}}<!--
-->{{#vardefine:Values4|{{#ifexpr: {{#var:Count}}>7|{{#explode: {{#var:Datastring}}|;|7}}|}}}}<!--
-->{{#vardefine:Properties5|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|8}}|}}}}<!--
-->{{#vardefine:Properties5|{{#ifexpr: {{#var:Count}}>9|{{#explode: {{#var:Datastring}}|;|8}}|}}}}<!--
-->{{#vardefine:Values5|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|9}}|}}}}<!--
-->{{#vardefine:Values5|{{#ifexpr: {{#var:Count}}>9|{{#explode: {{#var:Datastring}}|;|9}}|}}}}<!--
-->{{#vardefine:Properties6|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|10}}|}}}}<!--
-->{{#vardefine:Properties6|{{#ifexpr: {{#var:Count}}>11|{{#explode: {{#var:Datastring}}|;|10}}|}}}}<!--
-->{{#vardefine:Values6|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|11}}|}}}}<!--
-->{{#vardefine:Values6|{{#ifexpr: {{#var:Count}}>11|{{#explode: {{#var:Datastring}}|;|11}}|}}}}<!--
-->{{#vardefine:Properties7|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|12}}|}}}}<!--
-->{{#vardefine:Properties7|{{#ifexpr: {{#var:Count}}>13|{{#explode: {{#var:Datastring}}|;|12}}|}}}}<!--
-->{{#vardefine:Values7|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|13}}|}}}}<!--
-->{{#vardefine:Values7|{{#ifexpr: {{#var:Count}}>13|{{#explode: {{#var:Datastring}}|;|13}}|}}}}<!--
-->{{#vardefine:Properties8|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|14}}|}}}}<!--
-->{{#vardefine:Properties8|{{#ifexpr: {{#var:Count}}>15|{{#explode: {{#var:Datastring}}|;|14}}|}}}}<!--
-->{{#vardefine:Values8|{{#ifexpr: {{#var:Count}}>1|{{#explode: {{#var:Datastring}}|;|15}}|}}}}<!--
-->{{#vardefine:Values8|{{#ifexpr: {{#var:Count}}>15|{{#explode: {{#var:Datastring}}|;|15}}|}}}}<!--
-->{{#vardefine:PropertyText|{{#explode: {{#var:Datastring}}|;|-1}}}}<!--
-->{{#vardefine:PropertyText|{{#explode: {{#var:Datastring}}|;|-1}}}}<!--
-->{| width=400px;
-->{| width=400px;

Revision as of 16:17, 6 April 2023

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