Difference between revisions of "Template:Properties"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(added missing ":" after properties)
old>Realpsojed
(It works! Adding values to the mix.)
Line 6: Line 6:
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.
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.
We return all properties' names sorted by their Propertygrps. Empty Propertygrps are empty strings and don't affect the result.
We return all properties' names sorted by their Propertygrps. Empty Propertygrps are empty strings and don't affect the result.
-->{{Spacer|{{#ifeq: {{Properties_sort|{{:{{{1}}}|Properties1}}}} | Propertygrp1 | {{:{{{1}}}|Properties1}}:<br> | }}<!--
-->{{Spacer|{{#ifeq: {{Properties_sort|{{:{{{1}}}|Properties1}}}} | Propertygrp1 | {{:{{{1}}}|Properties1}}: {{:{{{1}}}|Values1}}<br> | }}<!--
-->{{#ifeq: {{Properties_sort|{{:{{{1}}}|Properties2}}}} | Propertygrp1 | {{:{{{1}}}|Properties2}}:<br> | }}<!--
-->{{#ifeq: {{Properties_sort|{{:{{{1}}}|Properties2}}}} | Propertygrp1 | {{:{{{1}}}|Properties2}}: {{:{{{1}}}|Values2}}<br> | }}<!--
-->{{#ifeq: {{Properties_sort|{{:{{{1}}}|Properties3}}}} | Propertygrp1 | {{:{{{1}}}|Properties3}}:<
-->{{#ifeq: {{Properties_sort|{{:{{{1
--><noinclude>{{Doc}}
--><noinclude>{{Doc}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 11:21, 9 May 2020