Difference between revisions of "Template:Properties"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(line height separates every row, using margin bottom instead)
m (60 revisions imported)
 
(51 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
<includeonly><div style="display: flex;flex-direction:column;">{{#if: {{:{{{1}}}|Properties1}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties1}}}}
Attempts to consolidate Properties into a list separated by line breaks based on Properties' grouping observed ingame.
|Propertygrp01 = <div style="order: 10;">
Output should be Propertygrp1<br><br>Propertygrp2<br><br>etc.
|Propertygrp02 = <div style="order: 20;">
PropertygrpX should be all properties that group together (ie. Physical Resistance, Nature Resistance, Magic Resistance group together with each other, but any other properties don't group with them)
|Propertygrp03 = <div style="order: 30;">
Only one parameter used - item page name - to load all properties from the item's page (ie. Wooden Sword).
|Propertygrp04 = <div style="order: 40;">
We call Template:Properties_sort to evaluate all Properties from item's page and return their respective PropertygrpX. Then we sort all Properties by their Propertygrps.
|Propertygrp05 = <div style="order: 50;">
We return all properties' names sorted by their Propertygrps. Empty Propertygrps are empty strings and don't affect the result.
|Propertygrp06 = <div style="order: 60;">
--><div style="float
|Propertygrp07 = <div style="order: 70;">
|Propertygrp08 = <div style="order
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 21:02, 21 November 2021