FANDOM


m
m
 
Line 1: Line 1:
<!-- Check every piece, equipment set level is the highest item level.-->
+
<includeonly><!-- Check every piece, equipment set level is the highest item level.-->
 
<!-- Following code ugliest thing I've ever written, damned you wikitext!!!-->
 
<!-- Following code ugliest thing I've ever written, damned you wikitext!!!-->
 
<!-- Finally prepend 00 or 0 in front, so the table alpha sorting works. -->
 
<!-- Finally prepend 00 or 0 in front, so the table alpha sorting works. -->
{{#vardefine:maxLevel|0}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{helmet|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{epaulettes|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{cloak|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{necklace|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{ring1|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{ring2|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{breastplate|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{belt|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{boots|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{weapon1|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{weapon2|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#pad:{{#var:maxLevel}}|3|0}}
+
{{#vardefine:maxLevel|0}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{helmet|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{epaulettes|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{cloak|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{necklace|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{ring1|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{ring2|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{breastplate|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{belt|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{boots|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{weapon1|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#vardefine:currLevel|{{#DPL:|allowcachedresults=true|title={{{weapon2|}}}|include={ItemWrap}:level}}}}{{#if:{{#var:currLevel}}{{#ifexpr:{{#var:maxLevel}}<{{#var:currLevel}}|{{#vardefine:maxLevel|{{#var:currLevel}}}}}}}}{{#pad:{{#var:maxLevel}}|3|0}}</includeonly><noinclude>
<noinclude>
 
 
<!-- I am sorry for the crammy code, unfortunately it cannot have "newlines", so everything is jammed together :(-->
 
<!-- I am sorry for the crammy code, unfortunately it cannot have "newlines", so everything is jammed together :(-->
   

Latest revision as of 02:11, August 26, 2015


This template is a surrogate of Template:WData/EquipmentSet. This means you should not use this template, ever! It is used to find and output the level of a set in a DPL generated table (or similar).

Do not use this.Edit

Community content is available under CC-BY-SA unless otherwise noted.