Difference between revisions of "Template:Properties"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(fixed if and switch in wrong order at properties13)
old>Realpsojed
(added doc, includeonly)
Line 1: Line 1:
<div style="display: flex;flex-direction:column;">{{#if: {{:{{{1}}}|Properties1}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties1}}}}
<includeonly><div style="display: flex;flex-direction:column;">{{#if: {{:{{{1}}}|Properties1}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties1}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 152: Line 152:
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp8}} | <div style="order: 85;"> </div> | }}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp8}} | <div style="order: 85;"> </div> | }}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp9}} | <div style="order: 95;"> </div> | }}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp9}} | <div style="order: 95;"> </div> | }}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp10}} | <div style="order: 105;"> </div> | }}</div>
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp10}} | <div style="order: 105;"> </div> | }}</div></includeonly><noinclude>{{Doc}}
[[Category:Templates]]</noinclude>

Revision as of 14:45, 17 June 2020