From Dark and Darker Wiki

(auto generated)
m (Changing Template to use calls that work with Item Data. Using template to hyperlink list elements instead of doing it with a loop, in place.)
Line 5: Line 5:
     <tr>
     <tr>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Head|Head]]</td>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Head|Head]]</td>
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{ #arraydefine: armors | {{Armor_Data|heads}} }}{{#vardefine:first|1}}{{
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{HyperlinkListElements|{{Item Data|Alllists|SlotType|Armor|Uncraftable|head}}|&nbsp;•&nbsp;}}</td>
  #loop: i
  | 0                      <!-- loops start value for {{ #var:i }} -->
  | {{ #arraysize:armors }} <!-- number of loops -->
  | <nowiki/>{{#vardefine:currentarmor|{{ #arrayindex:armors | {{ #var:i }} }}}}{{#ifeq:{{ #var:first }}|1|{{#vardefine:first|0}}|&nbsp;•&nbsp;}}[[{{#var:currentarmor}}]]
}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Chest|Chest]]</td>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Chest|Chest]]</td>
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{ #arraydefine: armors | {{Armor_Data|chests}} }}{{#vardefine:first|1}}{{
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{HyperlinkListElements|{{Item Data|Alllists|SlotType|Armor|Uncraftable|chest}}|&nbsp;•&nbsp;}}</td>
  #loop: i
  | 0                      <!-- loops start value for {{ #var:i }} -->
  | {{ #arraysize:armors }} <!-- number of loops -->
  | <nowiki/>{{#vardefine:currentarmor|{{ #arrayindex:armors | {{ #var:i }} }}}}{{#ifeq:{{ #var:first }}|1|{{#vardefine:first|0}}|&nbsp;•&nbsp;}}[[{{#var:currentarmor}}]]
}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Legs|Legs]]</td>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Legs|Legs]]</td>
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;"> {{ #arraydefine: armors | {{Armor_Data|legs}} }}{{#vardefine:first|1}}{{
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{HyperlinkListElements|{{Item Data|Alllists|SlotType|Armor|Uncraftable|legs}}|&nbsp;•&nbsp;}}</td>
  #loop: i
  | 0                      <!-- loops start value for {{ #var:i }} -->
  | {{ #arraysize:armors }} <!-- number of loops -->
  | <nowiki/>{{#vardefine:currentarmor|{{ #arrayindex:armors | {{ #var:i }} }}}}{{#ifeq:{{ #var:first }}|1|{{#vardefine:first|0}}|&nbsp;•&nbsp;}}[[{{#var:currentarmor}}]]
}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Hands|Hands]]</td>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Hands|Hands]]</td>
       <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;"> {{ #arraydefine: armors | {{Armor_Data|hands}} }}{{#vardefine:first|1}}{{
       <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{HyperlinkListElements|{{Item Data|Alllists|SlotType|Armor|Uncraftable|hands}}|&nbsp;•&nbsp;}}</td>
  #loop: i
  | 0                      <!-- loops start value for {{ #var:i }} -->
  | {{ #arraysize:armors }} <!-- number of loops -->
  | <nowiki/>{{#vardefine:currentarmor|{{ #arrayindex:armors | {{ #var:i }} }}}}{{#ifeq:{{ #var:first }}|1|{{#vardefine:first|0}}|&nbsp;•&nbsp;}}[[{{#var:currentarmor}}]]
}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Foot|Foot]]</td>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Foot|Foot]]</td>
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;"> {{ #arraydefine: armors | {{Armor_Data|foots}} }}{{#vardefine:first|1}}{{
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{HyperlinkListElements|{{Item Data|Alllists|SlotType|Armor|Uncraftable|foot}}|&nbsp;•&nbsp;}}</td>
  #loop: i
  | 0                      <!-- loops start value for {{ #var:i }} -->
  | {{ #arraysize:armors }} <!-- number of loops -->
  | <nowiki/>{{#vardefine:currentarmor|{{ #arrayindex:armors | {{ #var:i }} }}}}{{#ifeq:{{ #var:first }}|1|{{#vardefine:first|0}}|&nbsp;•&nbsp;}}[[{{#var:currentarmor}}]]
}}</td>
     </tr><tr>
     </tr><tr>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Back|Back]]</td>
         <td style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:10%;" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Armors#Back|Back]]</td>
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;"> {{ #arraydefine: armors | {{Armor_Data|backs}} }}{{#vardefine:first|1}}{{
         <td colspan="5" style="text-align-last: left; padding:10px 25px;width:90%;">{{HyperlinkListElements|{{Item Data|Alllists|SlotType|Armor|Uncraftable|back}}|&nbsp;•&nbsp;}}</td>
  #loop: i
  | 0                      <!-- loops start value for {{ #var:i }} -->
  | {{ #arraysize:armors }} <!-- number of loops -->
  | <nowiki/>{{#vardefine:currentarmor|{{ #arrayindex:armors | {{ #var:i }} }}}}{{#ifeq:{{ #var:first }}|1|{{#vardefine:first|0}}|&nbsp;•&nbsp;}}[[{{#var:currentarmor}}]]
}}</td>
     </tr>
     </tr>
</table>
</table>

Revision as of 00:40, 23 March 2024

Armors
Head
Chest
Legs
Hands
Foot
Back