From Dark and Darker Wiki
(Clean up variables+ spaces) |
m (added caption to table) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
--><!-- Remember value -->{{#vardefine:Treasure Hoard-gobIce|{{Prop Data|treasure hoard-goblin caves and ice cavern|hr|ap}}}}<!-- | --><!-- Remember value -->{{#vardefine:Treasure Hoard-gobIce|{{Prop Data|treasure hoard-goblin caves and ice cavern|hr|ap}}}}<!-- | ||
--><!-- Remember value -->{{#vardefine:Treasure Hoard-inferAbbys|{{Prop Data|treasure hoard-inferno and ice abyss|hr|ap}}}}<!-- | --><!-- Remember value -->{{#vardefine:Treasure Hoard-inferAbbys|{{Prop Data|treasure hoard-inferno and ice abyss|hr|ap}}}}<!-- | ||
--><!-- Remember value -->{{#vardefine:Treasure Hoard-highAP|{{Prop Data|treasure hoard-inferno and ice abyss|hr|ap}}}}<!-- | |||
--><!-- | --><!-- | ||
--><!-- LOOP over item categories --><!-- | --><!-- LOOP over item categories --><!-- | ||
Line 72: | Line 73: | ||
-->{{#ifexpr:0 < {{#var:highAP}}|<!-- | -->{{#ifexpr:0 < {{#var:highAP}}|<!-- | ||
-->{{#arraydefine:PropAPNames|{{#arrayprint:PropAPNames|,}},{{#var:CurItem}}|,}}<!-- | -->{{#arraydefine:PropAPNames|{{#arrayprint:PropAPNames|,}},{{#var:CurItem}}|,}}<!-- | ||
-->{{#vardefine:{{#var:CurItem}}-highAP|{{#var:highAP}}}}<!-- | |||
-->|}}<!-- | -->|}}<!-- | ||
--><!-- End If --><!-- | --><!-- End If --><!-- | ||
Line 94: | Line 96: | ||
--><!-- END PROP LOOP --><!-- | --><!-- END PROP LOOP --><!-- | ||
--><!-- Result Table --><!-- | --><!-- Result Table --><!-- | ||
--><table id=" | --><table id="APTableProps" cellspacing="0" class="wikitable sortable stripedtable jquery-tablesorter mw-collapsible" style="width:60%; border-collapse:collapse; background:transparent; text-align:center"><!-- | ||
--><caption>AP points for prop interaction</caption><!-- | |||
--><tr><!-- | --><tr><!-- | ||
--><th style="width:20%" class="headerSort" tabindex="0" role="columnheader button" title=" | --><th style="width:20%" data-sort-type="text" class="headerSort" tabindex="0" role="columnheader button" title="Name">Name</th><!-- | ||
--><th style="width:10%" class="headerSort" tabindex="2" role="columnheader button" title=" | --><th style="width:10%" data-sort-type="number" class="headerSort" tabindex="1" role="columnheader button" title="Max">Highest value</th><!-- | ||
--><th style="width: | --><th style="width:06%" data-sort-type="number" class="headerSort" tabindex="2" role="columnheader button" title="Global">Global</th><!-- | ||
--><th style="width: | --><th style="width:10%" data-sort-type="number" class="headerSort" tabindex="3" role="columnheader button" title="Goblind">Goblin / Ice Cavern</th><!-- | ||
--><th style="width:10%" class="headerSort" tabindex=" | --><th style="width:05%" data-sort-type="number" class="headerSort" tabindex="4" role="columnheader button" title="Crypts">Crypts</th><!-- | ||
--><th style="width:05%" data-sort-type="number" class="headerSort" tabindex="5" role="columnheader button" title="Ruins">Ruins</th><!-- | |||
--><th style="width:10%" data-sort-type="number" class="headerSort" tabindex="6" role="columnheader button" title="Inferno">Inferno / Ice Abbys</th><!-- | |||
--></tr><!-- | --></tr><!-- | ||
-->{{#loop:LoopTable|0|{{#arraysize:PropAPNames}}<!-- | -->{{#loop:LoopTable|0|{{#arraysize:PropAPNames}}<!-- | ||
Line 107: | Line 112: | ||
--><tr><!-- | --><tr><!-- | ||
--><td>[[{{#replace:{{#var:name}}| Prop|}}]]</td><!-- | --><td>[[{{#replace:{{#var:name}}| Prop|}}]]</td><!-- | ||
--><td>{{#if:{{#var:{{#var:name}}- | --><td>{{#if:{{#var:{{#var:name}}-highAP}}|{{#var:{{#var:name}}-highAP}}|{{#if:{{#var:{{#var:name}}-global}}|{{#var:{{#var:name}}-global}}|{{#var:{{#var:name}}-globalLocked}}}}}}</td><!-- | ||
--><td>{{#if:{{#var:{{#var:name}}- | --><td>{{#if:{{#var:{{#var:name}}-global}}|{{#var:{{#var:name}}-global}}|{{#var:{{#var:name}}-globalLocked}}}}</td><!-- | ||
--><td>{{#if:{{#var:{{#var:name}}- | --><td>{{#if:{{#var:{{#var:name}}-gobIce}}|{{#var:{{#var:name}}-gobIce}}|{{#if:{{#var:{{#var:name}}-gobIceLocked}}|{{#var:{{#var:name}}-gobIceLocked}}|}}}}</td><!-- | ||
--><td>{{#if:{{#var:{{#var:name}}-inferAbbys}}|{{#var:{{#var:name}}-inferAbbys}}|{{#if:{{#var:{{#var:name}}-inferAbbysLocked}}|{{#var:{{#var:name}}-inferAbbysLocked}}| | --><td>{{#if:{{#var:{{#var:name}}-crypts}}|{{#var:{{#var:name}}-crypts}}|{{#if:{{#var:{{#var:name}}-cryptsLocked}}|{{#var:{{#var:name}}-cryptsLocked}}|}}}}</td><!-- | ||
--><td>{{#if:{{#var:{{#var:name}}-ruins}}|{{#var:{{#var:name}}-ruins}}|{{#if:{{#var:{{#var:name}}-ruinsLocked}}|{{#var:{{#var:name}}-ruinsLocked}}|}}}}</td><!-- | |||
--><td>{{#if:{{#var:{{#var:name}}-inferAbbys}}|{{#var:{{#var:name}}-inferAbbys}}|{{#if:{{#var:{{#var:name}}-inferAbbysLocked}}|{{#var:{{#var:name}}-inferAbbysLocked}}|}}}}</td><!-- | |||
--></tr><!-- | --></tr><!-- | ||
-->}}<!-- | -->}}<!-- |