Difference between revisions of "Template:MobDrops"

From Albion Online Wiki
Jump to navigation Jump to search
(add logic for all keeper mobs listed on the runes page for drops.)
(add t7/t8 toggle)
Line 1: Line 1:
 
<onlyinclude><includeonly><!--  SETUP BASIC VARS
 
<onlyinclude><includeonly><!--  SETUP BASIC VARS
  -->{{#vardefine: showRow | "font-weight: bold; text-align: left; vertical-align: top; width: 33.3%;" }}{{#vardefine: hideRow| "font-weight: bold; text-align: left; vertical-align: top; width: 33.3%; display: none;" }}{{#vardefine: showRune|1}}{{#vardefine: runeRow | {{#var: showRow}} }}{{#vardefine: showSoul|1}}{{#vardefine: soulRow | {{#var: showRow}} }}{{#vardefine: showRelic|1}}{{#vardefine: relicRow | {{#var: showRow}} }}{{#vardefine: showAvaShard|0}}{{#vardefine: avaShardRow | {{#var: hideRow}} }}{{#vardefine: showT4Lux|0}}{{#vardefine: t4LuxRow | {{#var: hideRow}} }}{{#vardefine: showT5Lux|0}}{{#vardefine: t5LuxRow | {{#var: hideRow}} }}{{#vardefine: showT6Lux|0}}{{#vardefine: t6LuxRow | {{#var: hideRow}} }}{{#vardefine: showKeeper|0}}{{#vardefine: keeperItemRow | {{#var: hideRow}} }}<!--  
+
  -->{{#vardefine: showRow | "font-weight: bold; text-align: left; vertical-align: top; width: 33.3%;" }}{{#vardefine: hideRow| "font-weight: bold; text-align: left; vertical-align: top; width: 33.3%; display: none;" }}{{#vardefine: showT7|1}}{{#vardefine: showT8|1}}{{#vardefine: showRune|1}}{{#vardefine: runeRow | {{#var: showRow}} }}{{#vardefine: showSoul|1}}{{#vardefine: soulRow | {{#var: showRow}} }}{{#vardefine: showRelic|1}}{{#vardefine: relicRow | {{#var: showRow}} }}{{#vardefine: showAvaShard|0}}{{#vardefine: avaShardRow | {{#var: hideRow}} }}{{#vardefine: showT4Lux|0}}{{#vardefine: t4LuxRow | {{#var: hideRow}} }}{{#vardefine: showT5Lux|0}}{{#vardefine: t5LuxRow | {{#var: hideRow}} }}{{#vardefine: showT6Lux|0}}{{#vardefine: t6LuxRow | {{#var: hideRow}} }}{{#vardefine: showKeeper|0}}{{#vardefine: keeperItemRow | {{#var: hideRow}} }}<!--  
  
 
SETUP MOBPREFIX VALUES
 
SETUP MOBPREFIX VALUES
  --> {{#vardefine: eliteMob|0}}{{#vardefine: mobPrefix |{{ucfirst:{{#explode:{{PAGENAME}}| |0}} }} }}{{#ifeq: {{PAGENAME}}|Great Mother of the Earthkeeper|{{#vardefine: mobPrefix|Keeper}} }}{{#ifeq: {{#var: mobPrefix}}| Elite| {{#vardefine: eliteMob|1}}{{#vardefine: mobPrefix |{{ucfirst:{{#explode:{{PAGENAME}}| |1}} }} }}}}{{#ifeq: {{#var: mobPrefix}}|Bonecrusher|{{#vardefine: mobPrefix|Keeper}}|{{#ifeq: {{#var: mobPrefix}}|Earthkeeper|{{#vardefine: mobPrefix|Keeper}}|{{#ifeq: {{#var: mobPrefix}}|Berserker|{{#vardefine: mobPrefix|Keeper}}|{{#ifeq: {{#var: mobPrefix}}|Earthkeeper|{{#vardefine: mobPrefix|Druid}}|{{#ifeq: {{#var: mobPrefix}}|Knifeling|{{#vardefine: mobPrefix|Keeper}} }}||{{#ifeq: {{#var: mobPrefix}}|Wildling|{{#vardefine: mobPrefix|Keeper}} }} }} }} }} }}<!--
+
  --> {{#vardefine: eliteMob|0}}{{#vardefine: mobPrefix |{{ucfirst:{{#explode:{{PAGENAME}}| |0}} }} }}{{#ifeq: {{PAGENAME}}|Great Mother of the Earthkeeper|{{#vardefine: mobPrefix|Keeper}} }}{{#ifeq: {{#var: mobPrefix}}| Elite| {{#vardefine: eliteMob|1}}{{#vardefine: mobPrefix |{{ucfirst:{{#explode:{{PAGENAME}}| |1}} }} }}}}{{#ifeq: {{#var: mobPrefix}}|Bonecrusher|{{#vardefine: mobPrefix|Keeper}}|{{#ifeq: {{#var: mobPrefix}}|Earthkeeper|{{#vardefine: mobPrefix|Keeper}}|{{#ifeq: {{#var: mobPrefix}}|Berserker|{{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}|{{#ifeq: {{#var: mobPrefix}}|Earthkeeper|{{#vardefine: mobPrefix|Druid}}|{{#ifeq: {{#var: mobPrefix}}|Knifeling|{{#vardefine: mobPrefix|Keeper}} }}||{{#ifeq: {{#var: mobPrefix}}|Wildling|{{#vardefine: mobPrefix|Keeper}} }} }} }} }} }}<!--
  
 
SWITCH FOR MOBPREFIX TESTS
 
SWITCH FOR MOBPREFIX TESTS
Line 25: Line 25:
 
{{!}} {{aoitem | name=Expert's Rune | text=none}}<span style="display: none;">[[Drops item::Expert's Rune]] </span>
 
{{!}} {{aoitem | name=Expert's Rune | text=none}}<span style="display: none;">[[Drops item::Expert's Rune]] </span>
 
{{!}} {{aoitem | name=Master's Rune | text=none}}<span style="display: none;">[[Drops item::Master's Rune]] </span>
 
{{!}} {{aoitem | name=Master's Rune | text=none}}<span style="display: none;">[[Drops item::Master's Rune]] </span>
{{!}} {{aoitem | name=Grandmaster's Rune | text=none}}<span style="display: none;">[[Drops item::Grandmaster's Rune]] </span>
+
{{!}} {{#ifeq: {{#var: showT7}}|1|{{aoitem | name=Grandmaster's Rune | text=none}}<span style="display: none;">[[Drops item::Grandmaster's Rune]] </span> }}
{{!}} {{aoitem | name=Elder's Rune | text=none}}<span style="display: none;">[[Drops item::Elder's Rune]] </span> }}
+
{{!}} {{#ifeq: {{#var: showT8}}|1|{{aoitem | name=Elder's Rune | text=none}}<span style="display: none;">[[Drops item::Elder's Rune]] </span> }} }}
 
|}
 
|}
 
{| class="wikitable" style={{#var: soulRow}}
 
{| class="wikitable" style={{#var: soulRow}}
Line 35: Line 35:
 
{{!}} {{aoitem | name=Expert's Soul| text=none}}<span style="display: none;">[[Drops item::Expert's Soul]] </span>
 
{{!}} {{aoitem | name=Expert's Soul| text=none}}<span style="display: none;">[[Drops item::Expert's Soul]] </span>
 
{{!}} {{aoitem | name=Master's Soul| text=none}}<span style="display: none;">[[Drops item::Master's Soul]] </span>
 
{{!}} {{aoitem | name=Master's Soul| text=none}}<span style="display: none;">[[Drops item::Master's Soul]] </span>
{{!}} {{aoitem | name=Grandmaster's Soul| text=none}}<span style="display: none;">[[Drops item::Grandmaster's Soul]] </span>
+
{{!}} {{#ifeq: {{#var: showT7}}|1|{{aoitem | name=Grandmaster's Soul| text=none}}<span style="display: none;">[[Drops item::Grandmaster's Soul]] </span> }}
{{!}} {{aoitem | name=Elder's Soul| text=none}}<span style="display: none;">[[Drops item::Elder's Soul]] </span> }}
+
{{!}} {{#ifeq: {{#var: showT8}}|1|{{aoitem | name=Elder's Soul| text=none}}<span style="display: none;">[[Drops item::Elder's Soul]] </span> }} }}
 
|}
 
|}
 
{| class="wikitable" style={{#var: relicRow}}
 
{| class="wikitable" style={{#var: relicRow}}
Line 45: Line 45:
 
{{!}} {{aoitem | name=Expert's Relic| text=none}}<span style="display: none;">[[Drops item::Expert's Relic]] </span>
 
{{!}} {{aoitem | name=Expert's Relic| text=none}}<span style="display: none;">[[Drops item::Expert's Relic]] </span>
 
{{!}} {{aoitem | name=Master's Relic| text=none}}<span style="display: none;">[[Drops item::Master's Relic]] </span>
 
{{!}} {{aoitem | name=Master's Relic| text=none}}<span style="display: none;">[[Drops item::Master's Relic]] </span>
{{!}} {{aoitem | name=Grandmaster's Relic| text=none}}<span style="display: none;">[[Drops item::Grandmaster's Relic]] </span>
+
{{!}} {{#ifeq: {{#var: showT7}}|1|{{aoitem | name=Grandmaster's Relic| text=none}}<span style="display: none;">[[Drops item::Grandmaster's Relic]] </span> }}
{{!}} {{aoitem | name=Elder's Relic| text=none}}<span style="display: none;">[[Drops item::Elder's Relic]] </span> }}
+
{{!}} {{#ifeq: {{#var: showT8}}|1|{{aoitem | name=Elder's Relic| text=none}}<span style="display: none;">[[Drops item::Elder's Relic]] </span> }} }}
 
|}
 
|}
 
{| class="wikitable" style={{#var: t4LuxRow}}
 
{| class="wikitable" style={{#var: t4LuxRow}}
Line 76: Line 76:
 
{{!}} {{aoitem | name=Holy Fetish| text=none}}<span style="display: none;">[[Drops item::Holy Fetish]] </span>
 
{{!}} {{aoitem | name=Holy Fetish| text=none}}<span style="display: none;">[[Drops item::Holy Fetish]] </span>
 
{{!}} {{aoitem | name=Golden Crown| text=none}}<span style="display: none;">[[Drops item::Golden Crown]] </span>
 
{{!}} {{aoitem | name=Golden Crown| text=none}}<span style="display: none;">[[Drops item::Golden Crown]] </span>
{{!}} {{aoitem | name=Sacrificial Dagger| text=none}}<span style="display: none;">[[Drops item::Sacrificial Dagger]] </span>
+
{{!}} {{aoitem | name=Sacrificial Dagger| text=none}}<span style="display: none;">[[Drops item::Sacrificial Dagger]] </span>  
 
{{!}} {{aoitem | name=Silver Cup| text=none}}<span style="display: none;">[[Drops item::Silver Cup]] </span>
 
{{!}} {{aoitem | name=Silver Cup| text=none}}<span style="display: none;">[[Drops item::Silver Cup]] </span>
 
{{!}} {{aoitem | name=Stone Idol| text=none}}<span style="display: none;">[[Drops item::Stone Idol]] </span> }}
 
{{!}} {{aoitem | name=Stone Idol| text=none}}<span style="display: none;">[[Drops item::Stone Idol]] </span> }}
Line 87: Line 87:
 
{{!}} {{aoitem | name=Expert's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Expert's Keeper Crest]] </span>
 
{{!}} {{aoitem | name=Expert's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Expert's Keeper Crest]] </span>
 
{{!}} {{aoitem | name=Master's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Master's Keeper Crest]] </span>
 
{{!}} {{aoitem | name=Master's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Master's Keeper Crest]] </span>
{{!}} {{aoitem | name=Grandmaster's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Grandmaster's Keeper Crest]] </span>
+
{{!}} {{#ifeq: {{#var: showT7}}|1|{{aoitem | name=Grandmaster's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Grandmaster's Keeper Crest]] </span> }}
{{!}} {{aoitem | name=Elder's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Elder's Keeper Crest]] </span>
+
{{!}} {{#ifeq: {{#var: showT8}}|1|{{aoitem | name=Elder's Keeper Crest| text=none}}<span style="display: none;">[[Drops item::Elder's Keeper Crest]] </span> }}
{{!}} {{aoitem | name=Sacred Bone Marrow| text=none}}<span style="display: none;">[[Drops item::Sacred Bone Marrow]] </span>  }}
+
{{!}} {{#ifeq: {{#var: showT8}}|1|{{aoitem | name=Sacred Bone Marrow| text=none}}<span style="display: none;">[[Drops item::Sacred Bone Marrow]] </span>  }} }}
 
|}
 
|}
  

Revision as of 17:02, 18 September 2022

Documentation

Usage

Page dynamic with no parameters:

{{MobDrops}}


Potential Drops

MobDrops may drop Silver, armor, weapons, maps, and any of these items:

Misc Items
Adept's Tome of Insight


No description.

Template parameters

ParameterDescriptionTypeStatus
Page NamePAGENAME

The page value must match the mob to show treasures for.

Default
PAGENAME
Example
Keeper Earthchild
Stringoptional