User:Xianith

From Dark and Light Wiki
Jump to: navigation, search

This user "Xianith" prefers to use the enhanced profile.

Blah

I'll use this place for testing I guess...


Old code[edit | edit source]

Old Template:Gather rate - Replaced with Ark GatheringEfficicey

<div style="display:none;">{{#arraydefine:gr-item|
{{#vardefine: i | 0 }}{{#while:
 | {{{item{{#var: i }} |}}}
 | {{{item{{#var:i}}|}}}/{{{eff{{#var:i}}|}}},
{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }} }}

{{#arraysort:gr-item|desc}}
{{#arrayprint:gr-item}}</div>
{| class="wikitable"
|-
! Efficiency
{{#vardefine: i | 0 }}{{#while:
 | {{#ifexpr: {{#var: i }} < 5 | true }}
 | {{#if: {{{eff{{#var: i }}|}}}|{{#ifexpr: {{#var: i}} >= 1|{{!}}|}}{{!}} style="vertical-align: bottom;"{{!}}{{Efficiency|{{{eff{{#var: i }}|}}}}} }}
{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
}}
|-
! Resource
{{#vardefine: i | 0 }}{{#while:
 | {{#ifexpr: {{#var: i }} < 5 | true }}
 | {{#if: {{{eff{{#var: i }}|}}}|{{#ifexpr: {{#var: i}} >= 1|{{!}}|}}{{!}} {{Item icon|{{{item{{#var: i }}|}}}|}} }}
{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
}}
|}

<table class="wikitable sortable mw-collapsible mw-collapsed" >
<caption>Full List </caption>
<tr>
  <th>[[Resource]]</th>
  <th>Effectiveness</th>
</tr>
{{#vardefine: i | 0 }}{{#while:
 | {{{item{{#var: i }} |}}}
 | <tr><td>{{Item icon|{{{item{{#var:i}}|}}}|desc=y}}</td><td data-sort-type="Effectiveness">{{#expr: {{{eff{{#var:i}}}}} round 2 }}</td></tr>
{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
}}
</table>