Difference between revisions of "Template:Condition test"
Jump to navigation
Jump to search
m |
|||
Line 5: | Line 5: | ||
-->{{#vardefine:Count|{{#count:{{#var:Datastring}}|;}}}}<!-- | -->{{#vardefine:Count|{{#count:{{#var:Datastring}}|;}}}}<!-- | ||
--- Separate values from datastring into individual variables. --- | --- Separate values from datastring into individual variables. --- | ||
-->{{#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}}>3|{{#explode: {{#var:Datastring}}|;|2}}|}}}}<!-- | -->{{#vardefine:Properties2|{{#ifexpr: {{#var:Count}}>3|{{#explode: {{#var:Datastring}}|;|2}}|}}}}<!-- |
Revision as of 16:24, 6 April 2023
This template has no documentation. If you know how to use this template, please add some.