From GamingWiki
Line 41: | Line 41: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | Now each value of datalinehash can be parsed into a new hash: | + | Now each value of datalinehash can be parsed into a new hash. We want it sorted by |
+ | key, so we use a key array. | ||
+ | -->{{#hashtoarray:|datalinehash|datalinekeys}}<!-- | ||
+ | -->{{#arraysort:datalinekeys|asc}}<!-- | ||
-->{{#hashprint: datalinehash || %%%% | @@@@ | <!-- | -->{{#hashprint: datalinehash || %%%% | @@@@ | <!-- | ||
-->{{#hashdefine: thedataline | @@@@ }}<!-- | -->{{#hashdefine: thedataline | @@@@ }}<!-- | ||
Line 48: | Line 51: | ||
{{!}} class="shaded" {{!}} {{#hashvalue: thedataline | label }} | {{!}} class="shaded" {{!}} {{#hashvalue: thedataline | label }} | ||
{{!}} colspan="3" {{!}} {{#hashvalue: thedataline | data }} <!-- | {{!}} colspan="3" {{!}} {{#hashvalue: thedataline | data }} <!-- | ||
− | -->}}<!-- | + | -->| datalinekeys }}<!-- |
--> | --> |