Difference between revisions of "PvE equipment"

m
(seems to work, lets see what breaks down the line... - stats specifically set in the equipment which are different from stats= now set the "has minor stats" parameter)
 
(17 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
-->{{#vardefine:b_ring2_rarity|{{ucfirst:{{#if:{{{ring2|}}}|{{#explode:{{{ring2}}}|,|0}}|{{{ring2-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_ring2_stat|{{ucfirst:{{#if:{{{ring2|}}}|{{#explode:{{{ring2}}}|,|1}}|{{{ring2-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_ring2_upgrade|{{ucfirst:{{#if:{{{ring2|}}}|{{#explode:{{{ring2}}}|,|2}}|{{{ring2-upgrade|{{{trinket-upgrades|}}}}}}}}}}}}<!--
 
-->{{#vardefine:b_ring2_rarity|{{ucfirst:{{#if:{{{ring2|}}}|{{#explode:{{{ring2}}}|,|0}}|{{{ring2-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_ring2_stat|{{ucfirst:{{#if:{{{ring2|}}}|{{#explode:{{{ring2}}}|,|1}}|{{{ring2-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_ring2_upgrade|{{ucfirst:{{#if:{{{ring2|}}}|{{#explode:{{{ring2}}}|,|2}}|{{{ring2-upgrade|{{{trinket-upgrades|}}}}}}}}}}}}<!--
 
-->{{#vardefine:b_runes|{{{runes|}}}}}<!--
 
-->{{#vardefine:b_runes|{{{runes|}}}}}<!--
-->{{#vardefine:b_infusions|{{{infusions|}}}}}<!--
+
-->{{#vardefine:b_infusions|{{#if:{{#pos:{{{infusions|}}}|Infusion}}|{{{infusions|}}}|{{#if:{{#pos:{{{infusions|}}}|WvW}}|{{#replace:{{{infusions|}}}|WvW|WvW Infusion}}|{{#arraymap:{{{infusions|}}}|,|@@@|@@@ +5 Agony Infusion|,}}}}}} }}<!--
 
-->{{#vardefine:b_s1w1_rarity|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|0}}|{{{s1w1-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s1w1_stat|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|1}}|{{{s1w1-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s1w1_type|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|2}}|{{{s1w1-type|}}}}}}}}}{{#vardefine:b_s1w1_sigils|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|3}}|{{{s1w1-sigils|}}}}}}}}}<!--
 
-->{{#vardefine:b_s1w1_rarity|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|0}}|{{{s1w1-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s1w1_stat|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|1}}|{{{s1w1-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s1w1_type|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|2}}|{{{s1w1-type|}}}}}}}}}{{#vardefine:b_s1w1_sigils|{{ucfirst:{{#if:{{{s1w1|}}}|{{#explode:{{{s1w1}}}|,|3}}|{{{s1w1-sigils|}}}}}}}}}<!--
 
-->{{#if:{{{s1w2|{{{s1w2-type|}}}}}}|{{#vardefine:b_s1w2_rarity|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|0}}|{{{s1w2-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s1w2_stat|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|1}}|{{{s1w2-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s1w2_type|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|2}}|{{{s1w2-type|}}}}}}}}}{{#vardefine:b_s1w2_sigils|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|3}}|{{{s1w2-sigils|}}}}}}}}}}}<!--
 
-->{{#if:{{{s1w2|{{{s1w2-type|}}}}}}|{{#vardefine:b_s1w2_rarity|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|0}}|{{{s1w2-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s1w2_stat|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|1}}|{{{s1w2-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s1w2_type|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|2}}|{{{s1w2-type|}}}}}}}}}{{#vardefine:b_s1w2_sigils|{{ucfirst:{{#if:{{{s1w2|}}}|{{#explode:{{{s1w2}}}|,|3}}|{{{s1w2-sigils|}}}}}}}}}}}<!--
 
-->{{#if:{{{s2w1|{{{s2w1-type|}}}}}}|{{#vardefine:b_s2w1_rarity|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|0}}|{{{s2w1-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s2w1_stat|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|1}}|{{{s2w1-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s2w1_type|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|2}}|{{{s2w1-type|}}}}}}}}}{{#vardefine:b_s2w1_sigils|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|3}}|{{{s2w1-sigils|}}}}}}}}}}}<!--
 
-->{{#if:{{{s2w1|{{{s2w1-type|}}}}}}|{{#vardefine:b_s2w1_rarity|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|0}}|{{{s2w1-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s2w1_stat|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|1}}|{{{s2w1-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s2w1_type|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|2}}|{{{s2w1-type|}}}}}}}}}{{#vardefine:b_s2w1_sigils|{{ucfirst:{{#if:{{{s2w1|}}}|{{#explode:{{{s2w1}}}|,|3}}|{{{s2w1-sigils|}}}}}}}}}}}<!--
 
-->{{#if:{{{s2w2|{{{s2w2-type|}}}}}}|{{#vardefine:b_s2w2_rarity|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|0}}|{{{s2w2-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s2w2_stat|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|1}}|{{{s2w2-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s2w2_type|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|2}}|{{{s2w2-type|}}}}}}}}}{{#vardefine:b_s2w2_sigils|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|3}}|{{{s2w2-sigils|}}}}}}}}}}}<!--
 
-->{{#if:{{{s2w2|{{{s2w2-type|}}}}}}|{{#vardefine:b_s2w2_rarity|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|0}}|{{{s2w2-rarity|{{{rarity|}}}}}}}}}}}}{{#vardefine:b_s2w2_stat|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|1}}|{{{s2w2-stat|{{{stats|}}}}}}}}}}}}{{#vardefine:b_s2w2_type|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|2}}|{{{s2w2-type|}}}}}}}}}{{#vardefine:b_s2w2_sigils|{{ucfirst:{{#if:{{{s2w2|}}}|{{#explode:{{{s2w2}}}|,|3}}|{{{s2w2-sigils|}}}}}}}}}}}<!--
 +
 
--><!-- SMW properties --><!--
 
--><!-- SMW properties --><!--
-->{{#ifeq:{{NAMESPACE}}|Build|<!-- Weaponset -->{{#set:Has pve weaponset={{ucfirst:{{#var:b_s1w1_type}}}}{{#if:{{Is two-handed|{{#var:b_s1w1_type}}}}||/{{#if:{{#var:b_s1w2_type}}|{{ucfirst:{{#var:b_s1w2_type}}}}|X}}}}}}{{#if:{{#var:b_s2w1_type}}|{{#set:Has pve weaponset={{ucfirst:{{#var:b_s2w1_type}}}}{{#if:{{Is two-handed|{{#var:b_s2w1_type}}}}||/{{#if:{{#var:b_s2w2_type}}|{{ucfirst:{{#var:b_s2w2_type}}}}|X}}}}}}}}<!-- Runes -->{{#if:{{#var:b_runes}}|{{#arraymap:{{#var:b_runes}}|,|@@@|{{#set:Has pve rune={{#sub:@@@|{{#pos:@@@| }}}}}}|}}}}<!-- Set1 sigils-->{{#if:{{#var:b_s1w2_type}}|{{#set:Has pve s1w1 sigil={{#var:b_s1w1_sigils}}}}{{#set:Has pve s1w2 sigil={{#var:b_s1w2_sigils}}}}|{{#arraymap:{{#var:b_s1w1_sigils}}|+|@@@|{{#set:Has pve s1w1 [email protected]@@}}|}}}}<!-- Set2 sigils -->{{#if:{{#var:b_s2w2_type}}|{{#set:Has pve s2w1 sigil={{#var:b_s2w1_sigils}}}}{{#set:Has pve s2w2 sigil={{#var:b_s2w2_sigils}}}}|{{#arraymap:{{#var:b_s2w1_sigils}}|+|@@@|{{#set:Has pve s2w1 [email protected]@@}}|}}}}
+
-->{{#ifeq:{{NAMESPACE}}|Build|<!-- Weaponset -->{{#set:Has pve weaponset={{ucfirst:{{#var:b_s1w1_type}}}}{{#if:{{Is two-handed|{{#var:b_s1w1_type}}}}||/{{#if:{{#var:b_s1w2_type}}|{{ucfirst:{{#var:b_s1w2_type}}}}|X}}}}}}{{#if:{{#var:b_s2w1_type}}|{{#set:Has pve weaponset={{ucfirst:{{#var:b_s2w1_type}}}}{{#if:{{Is two-handed|{{#var:b_s2w1_type}}}}||/{{#if:{{#var:b_s2w2_type}}|{{ucfirst:{{#var:b_s2w2_type}}}}|X}}}}}}}}<!-- Runes -->{{#if:{{#var:b_runes}}|{{#arraymap:{{#var:b_runes}}|,|@@@|{{#set:Has pve rune={{#sub:@@@|{{#pos:@@@| }}}}}}|}}}}<!-- Set1 sigils-->{{#if:{{#var:b_s1w2_type}}|{{#set:Has pve s1w1 sigil={{#var:b_s1w1_sigils}}}}{{#set:Has pve s1w2 sigil={{#var:b_s1w2_sigils}}}}|{{#arraymap:{{#var:b_s1w1_sigils}}|+|@@@|{{#set:Has pve s1w1 [email protected]@@}}|}}}}<!-- Set2 sigils -->{{#if:{{#var:b_s2w2_type}}|{{#set:Has pve s2w1 sigil={{#var:b_s2w1_sigils}}}}{{#set:Has pve s2w2 sigil={{#var:b_s2w2_sigils}}}}|{{#arraymap:{{#var:b_s2w1_sigils}}|+|@@@|{{#set:Has pve s2w1 [email protected]@@}}|}}}}<!--
 +
Main stat-->{{#set:Has main stats={{{stats|}}}}}<!--Minor stats
 +
armor-head -->{{#ifeq:{{#var:b_head_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_head_stat}}}}}}<!--
 +
armor-shoulders -->{{#ifeq:{{#var:b_shoulders_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_shoulders_stat}}}}}}<!--
 +
armor-chest -->{{#ifeq:{{#var:b_chest_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_chest_stat}}}}}}<!--
 +
armor-hands -->{{#ifeq:{{#var:b_hands_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_hands_stat}}}}}}<!--
 +
armor-legs -->{{#ifeq:{{#var:b_legs_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_legs_stat}}}}}}<!--
 +
armor-feet -->{{#ifeq:{{#var:b_feet_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_feet_stat}}}}}}<!--
 +
 
 +
trinket-back -->{{#ifeq:{{#var:b_back_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_back_stat}}}}}}<!--
 +
trinket-amulet -->{{#ifeq:{{#var:b_amulet_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_amulet_stat}}}}}}<!--
 +
trinket-ring1 -->{{#ifeq:{{#var:b_ring1_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_ring1_stat}}}}}}<!--
 +
trinket-ring2 -->{{#ifeq:{{#var:b_ring2_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_ring2_stat}}}}}}<!--
 +
trinket-accessory1 -->{{#ifeq:{{#var:b_accessory1_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_accessory1_stat}}}}}}<!--
 +
trinket-accessory2 -->{{#ifeq:{{#var:b_accessory2_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_accessory2_stat}}}}}}<!--
 +
 
 +
weapon-s1w1 -->{{#ifeq:{{#var:b_s1w1_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_s1w1_stat}}}}}}<!--
 +
weapon-s1w2 -->{{#ifeq:{{#var:b_s1w2_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_s1w2_stat}}}}}}<!--
 +
weapon-s2w1 -->{{#ifeq:{{#var:b_s2w1_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_s2w1_stat}}}}}}<!--
 +
weapon-s2w2 -->{{#ifeq:{{#var:b_s2w2_stat}}|{{{stats|}}}||{{#set:Has minor stats={{#var:b_s2w2_stat}}}}}}
 
}}<!--
 
}}<!--
 +
 
--><!--
 
--><!--
 
Armor
 
Armor
Line 75: Line 96:
 
       --><div class="pve-trinkets"><!--  
 
       --><div class="pve-trinkets"><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_back_rarity}}}} back" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_back_stat}} back {{#if:{{#var:b_back_upgrade}}|with {{#var:b_back_upgrade}}}}"}}><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_back_rarity}}}} back" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_back_stat}} back {{#if:{{#var:b_back_upgrade}}|with {{#var:b_back_upgrade}}}}"}}><!--  
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_back_rarity}} Back.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{Preset equipment lookup|back item|{{#var:b_back_stat}}}}" data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_back_stat}}"}}>[[File:{{#var:b_back_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_back_upgrade}}|[[File:{{#var:b_back_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
+
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_back_rarity}} Back.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{#replace:{{#vardefineecho:trinket_id|{{Preset equipment lookup|back item|{{#var:b_back_stat}}}}}}|*|}}"  {{#if:{{#pos:{{#var:trinket_id}}|*}}|data-armory-{{#replace:{{#var:trinket_id}}|*|}}-stat="{{Selectable stat|{{#var:b_back_stat}}}}"}} data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_back_stat}}"}}>[[File:{{#var:b_back_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_back_upgrade}}|[[File:{{#var:b_back_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
 
         --></div><!--  
 
         --></div><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_accessory1_rarity}}}} accessory1" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_accessory1_stat}} accessory  {{#if:{{#var:b_accessory1_upgrade}}|with {{#var:b_accessory1_upgrade}}}}"}}><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_accessory1_rarity}}}} accessory1" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_accessory1_stat}} accessory  {{#if:{{#var:b_accessory1_upgrade}}|with {{#var:b_accessory1_upgrade}}}}"}}><!--  
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_accessory1_rarity}} Accessory1.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{Preset equipment lookup|accessory1|{{#var:b_accessory1_stat}}}}" data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_accessory1_stat}}"}}>[[File:{{#var:b_accessory1_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_accessory1_upgrade}}|[[File:{{#var:b_accessory1_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
+
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_accessory1_rarity}} Accessory1.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{#replace:{{#vardefineecho:trinket_id|{{Preset equipment lookup|accessory1|{{#var:b_accessory1_stat}}}}}}|*|}}"  {{#if:{{#pos:{{#var:trinket_id}}|*}}|data-armory-{{#replace:{{#var:trinket_id}}|*|}}-stat="{{Selectable stat|{{#var:b_accessory1_stat}}}}"}} data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_accessory1_stat}}"}}>[[File:{{#var:b_accessory1_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_accessory1_upgrade}}|[[File:{{#var:b_accessory1_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
 
         --></div><!--  
 
         --></div><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_accessory2_rarity}}}} accessory2" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_accessory2_stat}} accessory {{#if:{{#var:b_accessory2_upgrade}}|with {{#var:b_accessory2_upgrade}}}}"}}><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_accessory2_rarity}}}} accessory2" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_accessory2_stat}} accessory {{#if:{{#var:b_accessory2_upgrade}}|with {{#var:b_accessory2_upgrade}}}}"}}><!--  
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_accessory2_rarity}} Accessory2.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{Preset equipment lookup|accessory2|{{#var:b_accessory2_stat}}}}" data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_accessory2_stat}}"}}>[[File:{{#var:b_accessory2_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_accessory2_upgrade}}|[[File:{{#var:b_accessory2_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
+
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_accessory2_rarity}} Accessory2.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{#replace:{{#vardefineecho:trinket_id|{{Preset equipment lookup|accessory2|{{#var:b_accessory2_stat}}}}}}|*|}}"  {{#if:{{#pos:{{#var:trinket_id}}|*}}|data-armory-{{#replace:{{#var:trinket_id}}|*|}}-stat="{{Selectable stat|{{#var:b_accessory2_stat}}}}"}} data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_accessory2_stat}}"}}>[[File:{{#var:b_accessory2_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_accessory2_upgrade}}|[[File:{{#var:b_accessory2_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
 
         --></div><!--  
 
         --></div><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_amulet_rarity}}}} amulet" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_amulet_stat}} amulet {{#if:{{#var:b_amulet_upgrade}}|with {{#var:b_amulet_upgrade}}}}"}}><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_amulet_rarity}}}} amulet" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_amulet_stat}} amulet {{#if:{{#var:b_amulet_upgrade}}|with {{#var:b_amulet_upgrade}}}}"}}><!--  
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_amulet_rarity}} Amulet.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{Preset equipment lookup|amulet|{{#var:b_amulet_stat}}}}" data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_amulet_stat}}"}}>[[File:{{#var:b_amulet_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_amulet_upgrade}}|[[File:{{#var:b_amulet_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
+
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_amulet_rarity}} Amulet.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{#replace:{{#vardefineecho:trinket_id|{{Preset equipment lookup|amulet|{{#var:b_amulet_stat}}}}}}|*|}}"  {{#if:{{#pos:{{#var:trinket_id}}|*}}|data-armory-{{#replace:{{#var:trinket_id}}|*|}}-stat="{{Selectable stat|{{#var:b_amulet_stat}}}}"}} data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_amulet_stat}}"}}>[[File:{{#var:b_amulet_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_amulet_upgrade}}|[[File:{{#var:b_amulet_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
 
         --></div><!--  
 
         --></div><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_ring1_rarity}}}} ring1" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_ring1_stat}} ring {{#if:{{#var:b_ring1_upgrade}}|with {{#var:b_ring1_upgrade}}}}"}}><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_ring1_rarity}}}} ring1" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_ring1_stat}} ring {{#if:{{#var:b_ring1_upgrade}}|with {{#var:b_ring1_upgrade}}}}"}}><!--  
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_ring1_rarity}} Ring1.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{Preset equipment lookup|ring1|{{#var:b_ring1_stat}}}}" data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_ring1_stat}}"}}>[[File:{{#var:b_ring1_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_ring1_upgrade}}|[[File:{{#var:b_ring1_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
+
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_ring1_rarity}} Ring1.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{#replace:{{#vardefineecho:trinket_id|{{Preset equipment lookup|ring1|{{#var:b_ring1_stat}}}}}}|*|}}"  {{#if:{{#pos:{{#var:trinket_id}}|*}}|data-armory-{{#replace:{{#var:trinket_id}}|*|}}-stat="{{Selectable stat|{{#var:b_ring1_stat}}}}"}} data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_ring1_stat}}"}}>[[File:{{#var:b_ring1_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_ring1_upgrade}}|[[File:{{#var:b_ring1_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
 
         --></div><!--  
 
         --></div><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_ring2_rarity}}}} ring2" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_ring2_stat}} ring {{#if:{{#var:b_ring2_upgrade}}|with {{#var:b_ring2_upgrade}}}}"}}><!--  
 
         --><div class="pve-trinket {{lc:{{#var:b_ring2_rarity}}}} ring2" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_ring2_stat}} ring {{#if:{{#var:b_ring2_upgrade}}|with {{#var:b_ring2_upgrade}}}}"}}><!--  
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_ring2_rarity}} Ring2.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{Preset equipment lookup|ring2|{{#var:b_ring2_stat}}}}" data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_ring2_stat}}"}}>[[File:{{#var:b_ring2_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_ring2_upgrade}}|[[File:{{#var:b_ring2_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
+
           -->{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_ring2_rarity}} Ring2.png|48px|link=|class=item-img]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{#replace:{{#vardefineecho:trinket_id|{{Preset equipment lookup|ring2|{{#var:b_ring2_stat}}}}}}|*|}}"  {{#if:{{#pos:{{#var:trinket_id}}|*}}|data-armory-{{#replace:{{#var:trinket_id}}|*|}}-stat="{{Selectable stat|{{#var:b_ring2_stat}}}}"}} data-armory-size="44"></div>}}<div class="stat-icon" {{#if:{{#var:is_official_api_down}}||title="{{#var:b_ring2_stat}}"}}>[[File:{{#var:b_ring2_stat}} stat icon.png|25px|link=]]</div>{{#if:{{#var:b_ring2_upgrade}}|[[File:{{#var:b_ring2_upgrade}}.png|30px|link=|class=trinket-upgrade]]}}<!--   
 
         --></div><!--  
 
         --></div><!--  
 
       --></div><!--  
 
       --></div><!--  
Line 107: Line 128:
 
             --></div><!--  
 
             --></div><!--  
 
             --><div class="weapon-sigils first"><!--  
 
             --><div class="weapon-sigils first"><!--  
               -->{{#if:{{#var:b_s1w2_type}}|<div class="sigil" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_s1w1_sigils}}"}}>{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_s1w1_sigils}}.png|42px|link=]]|<div class="item-img" data-armory-embed="items" data-armory-ids="{{Item lookup|{{#var:b_s1w1_sigils}}|pve-sigil}}" data-armory-size="38"></div>}}</div><div class="sigil" title="{{#var:b_s1w2_sigils}}">[[File:{{#var:b_s1w2_sigils}}.png|42px|link=]]</div>|{{#arraymap:{{#var:b_s1w1_sigils}}|+|@@@|<div class="sigil" title="@@@">[[File:@@@.png|42px|link=]]</div>|}}}}<!--  
+
               -->{{#if:{{#var:b_s1w2_type}}|<div class="sigil exotic" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_s1w1_sigils}}"}}>{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_s1w1_sigils}}.png|42px|link=]]|<div class="sigil-img" data-armory-embed="items" data-armory-ids="{{Item lookup|{{#var:b_s1w1_sigils}}|pve-sigil}}" data-armory-size="38"></div>}}</div><div class="sigil exotic" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_s1w2_sigils}}"}}>{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_s1w2_sigils}}.png|42px|link=]]|<div class="sigil-img" data-armory-embed="items" data-armory-ids="{{Item lookup|{{#var:b_s1w2_sigils}}|pve-sigil}}" data-armory-size="38"></div>}}</div>|{{#arraymap:{{#var:b_s1w1_sigils}}|+|@@@|<div class="sigil exotic" {{#if:{{#var:is_official_api_down}}|title="@@@"}}>{{#if:{{#var:is_official_api_down}}|[[File:@@@.png|42px|link=]]|<div class="sigil-img" data-armory-embed="items" data-armory-ids="{{Item lookup|@@@|pve-sigil}}" data-armory-size="38"></div>}}</div>|}}}}<!--  
 
             --></div><!--  
 
             --></div><!--  
 
           --></div><!--  
 
           --></div><!--  
Line 121: Line 142:
 
             --></div><!--  
 
             --></div><!--  
 
             --><div class="weapon-sigils second"><!--  
 
             --><div class="weapon-sigils second"><!--  
               -->{{#if:{{#var:b_s2w2_type}}|<div class="sigil" title="{{#var:b_s2w1_sigils}}">[[File:{{#var:b_s2w1_sigils}}.png|42px|link=]]</div><div class="sigil" title="{{#var:b_s2w2_sigils}}">[[File:{{#var:b_s2w2_sigils}}.png|42px|link=]]</div>|{{#arraymap:{{#var:b_s2w1_sigils}}|+|@@@|<div class="sigil" title="@@@">[[File:@@@.png|42px|link=]]</div>|}}}}<!--  
+
               -->{{#if:{{#var:b_s2w2_type}}|<div class="sigil exotic" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_s2w1_sigils}}"}}>{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_s2w1_sigils}}.png|42px|link=]]|<div class="sigil-img" data-armory-embed="items" data-armory-ids="{{Item lookup|{{#var:b_s2w1_sigils}}|pve-sigil}}" data-armory-size="38"></div>}}</div><div class="sigil exotic" {{#if:{{#var:is_official_api_down}}|title="{{#var:b_s2w2_sigils}}"}}>{{#if:{{#var:is_official_api_down}}|[[File:{{#var:b_s2w2_sigils}}.png|42px|link=]]|<div class="sigil-img" data-armory-embed="items" data-armory-ids="{{Item lookup|{{#var:b_s2w2_sigils}}|pve-sigil}}" data-armory-size="38"></div>}}</div>|{{#arraymap:{{#var:b_s2w1_sigils}}|+|@@@|<div class="sigil exotic" {{#if:{{#var:is_official_api_down}}|title="@@@"}}>{{#if:{{#var:is_official_api_down}}|[[File:@@@.png|42px|link=]]|<div class="sigil-img" data-armory-embed="items" data-armory-ids="{{Item lookup|@@@|pve-sigil}}" data-armory-size="38"></div>}}</div>|}}}}<!--  
 
             --></div><!--  
 
             --></div><!--  
 
           --></div>}}<!--  
 
           --></div>}}<!--  
Line 128: Line 149:
 
       --><div class="armor-upgrades"><!--  
 
       --><div class="armor-upgrades"><!--  
 
         -->{{#if:{{#var:b_runes}}|<div class="pve-runes"><!--  
 
         -->{{#if:{{#var:b_runes}}|<div class="pve-runes"><!--  
           -->{{#arraymap:{{#var:b_runes}}|,|@@@|<div class="pve-armor-upgrade exotic rune" title="{{#vardefineecho:rune_qty|{{#explode:@@@| |0}}}}x {{#vardefineecho:rune_name|{{#sub:@@@|{{#pos:@@@| }}}}}}">[[File:{{#var:rune_name}}.png|48px|link=|class=item-img]]<span class="quantity">{{#var:rune_qty}}x</span><div class="armor-upgrade-name">{{#var:rune_name}}</div></div>|}}<!--  
+
           -->{{#arraymap:{{#var:b_runes}}|,|@@@|{{#vardefine:rune_qty|{{#explode:@@@| |0}}}}{{#vardefine:rune_name|{{#sub:@@@|{{#pos:@@@| }}}}}}<div class="pve-armor-upgrade exotic rune" {{#if:{{#var:is_official_api_down}}|title="{{#var:rune_qty}}x {{#var:rune_name}}"}}>{{#if:{{#var:is_official_api_down}}|[[File:{{#var:rune_name}}.png|48px|link=|class=item-img]]|<div class="rune-img" data-armory-embed="items" data-armory-ids="{{Item lookup|{{#var:rune_name}}|pve-rune}}" data-armory-size="44"></div>}}<span class="quantity">{{#var:rune_qty}}x</span><div class="armor-upgrade-name">{{#var:rune_name}}</div></div>|}}<!--  
 
         --></div>}}<!--  
 
         --></div>}}<!--  
 
         -->{{#if:{{#var:b_infusions}}|<div class="pve-infusions"><!--  
 
         -->{{#if:{{#var:b_infusions}}|<div class="pve-infusions"><!--  
           -->{{#arraymap:{{#var:b_infusions}}|,|@@@|<div class="pve-armor-upgrade masterwork infusion" title="{{#vardefineecho:infusion_qty|{{#explode:@@@| |0}}}}x {{#vardefineecho:infusion_name|{{#sub:@@@|{{#pos:@@@| }}}}}}">[[File:{{#var:infusion_name}}.png|48px|link=|class=item-img]]<span class="quantity">{{#var:infusion_qty}}x</span><div class="armor-upgrade-name">{{#var:infusion_name}}</div></div>|}}<!--  
+
           -->{{#arraymap:{{#var:b_infusions}}|,|@@@|{{#vardefine:infusion_qty|{{#explode:@@@| |0}}}}{{#vardefine:infusion_name|{{#sub:@@@|{{#pos:@@@| }}}}}}<div class="pve-armor-upgrade fine infusion" {{#if:{{#var:is_official_api_down}}|title="{{#var:infusion_qty}}x {{#var:infusion_name}}"}}>{{#if:{{#var:is_official_api_down}}|[[File:{{#var:infusion_name}}.png|48px|link=|class=item-img]]|<div class="infusion-img" data-armory-embed="items" data-armory-ids="{{Item lookup|{{#var:infusion_name}}|infusion}}" data-armory-size="44"></div>}}<span class="quantity">{{#var:infusion_qty}}x</span><div class="armor-upgrade-name">{{#var:infusion_name}}</div></div>|}}<!--  
 
         --></div>}}<!--  
 
         --></div>}}<!--  
 
       --></div><!--  
 
       --></div><!--  

Latest revision as of 11:36, 14 February 2020

Description[edit]

Produces a gear template for PvE equipment.

{{PvE equipment
| stats = 
| rarity = 
| trinket-upgrades = 
| runes = 
| infusions = 
| <item-piece>-stat = 
| <item-piece>-rarity = 
| <item-piece>-upgrade = 
| <item-piece> = 
| <weapon>-stat = 
| <weapon>-rarity = 
| <weapon>-type = 
| <weapon>-sigils = 
| <weapon> = 
}}

Parameters[edit]

stats 
Global stats applied to all items. Specific item stats will overwrite this setting.
rarity 
Global rarity applied to all items. Specific item rarities will overwrite this setting.
trinket-upgrades 
Global trinket upgrade applied to all trinkets. Specific trinket upgrades will overwrite this setting.
runes 
Gear runes in the form <quantity> <rune name>, accepts comma-separated runes. (eg. 4 Superior Rune of Strength, 2 Superior Rune of Balthazar)
infusions 
Gear infusions in the form <quantity> <infusion name>, accepts comma-separated infusions. (eg. 4 Malign Infusion, 2 Mighty WvW Rune)
For the following parameters <item-piece> must be replaced by
head, shoulders, chest, hands, legs, feet, s1w1 (set 1 weapon 1), s1w2 (set 1 weapon 2), s2w1 (set 2 weapon 1), s2w2 (set 2 weapon 2), back, accessory1, accessory2, ring1, ring2, or amulet.
<item-piece>-stat 
Overwrite global stat for this item-piece.
<item-piece>-rarity
Overwrite global rarity for this item-piece.
<trinket>-upgrade
Overwrite global upgrade for this trinket (note: applies only to back, accessories, rings, and amulet).
<weapon>-type
Weapon type (note: applies only to weapons). Accepts: axe, dagger, mace, pistol, sword, scepter, focus, shield, torch, warhorn, greatsword, hammer, longbow, rifle, short bow, or staff.
<weapon>-sigils
Weapon sigils, syntax varies between one-handed weapons or two-handed weapons as follows:
One-handed weapon
Simple sigil name, per weapon. Eg.: Superior Sigil of Air
Two-handed weapon
Simple sigil name, separated by a plus "+" symbol. Eg.: Superior Sigil of Air+Superior Sigil of Fire.

You may also use short notation:

<item> 
Accepts data about a single item. This requires specifying the full information about an item. The way data is expected varies between armor, trinkets and weapons:
  • Armor piece: <rarity> <stat>.
  • Trinket: <rarity> <stat> <upgrade>.
  • Weapon: <rarity> <stat> <type> <sigils>.

Examples[edit]

{{PvE equipment
| stats = Berserker
| rarity = Ascended
| runes = 4 Superior Rune of Strength, 2 Superior Rune of the Pack
| infusions = 16 Mighty
| amulet = Ascended, Viper
| accessory1-stat = Valkyrie
| accessory1-upgrade = Platinum Doubloon
| accessory2-rarity = Ascended
| accessory2-stat = Wanderer
| ring2-stat = Zealot
| s1w1 = Ascended, Berserker, Dagger, Superior Sigil of Air
| s1w2 = Ascended, Soldier, Dagger, Superior Sigil of Water
| s2w1-type = Sword
| s2w1-sigils = Superior Sigil of Frailty
| s2w2-type = Focus
| s2w2-stat = Seraph
| s2w2-sigils = Superior Sigil of Earth
}}
Berserker stat icon.png
Berserker stat icon.png
Berserker stat icon.png
Berserker stat icon.png
Berserker stat icon.png
Berserker stat icon.png
Berserker stat icon.png
Valkyrie stat icon.png
Platinum Doubloon.png
Wanderer stat icon.png
Viper stat icon.png
Berserker stat icon.png
Zealot stat icon.png
Berserker stat icon.png
Soldier stat icon.png
PvE weapon swap.png
Berserker stat icon.png
Seraph stat icon.png
4x
Superior Rune of Strength
2x
Superior Rune of the Pack
16x
Mighty +5 Agony Infusion