Difference between revisions of "Template:MobDrops"

From Albion Online Wiki
Jump to navigation Jump to search
m (try to reduce whitespace above header)
(add maps)
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: 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}} }}<!--  
+
  -->{{#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}} }}{{#vardefine: treasures_standard_loot| }}{{#vardefine: loot_rd_token| {{aoitem | name=Adept's Dungeon Map (Solo)| text=none}}<span style="display: none;">[[Drops item::Adept's Dungeon Map (Solo)]] {{!}}{{aoitem | name=Expert's Dungeon Map (Solo)| text=none}}<span style="display: none;">[[Drops item::Expert's Dungeon Map (Solo)]] {{!}}{{aoitem | name=Master's Dungeon Map (Solo)| text=none}}<span style="display: none;">[[Drops item::Master's Dungeon Map (Solo)]] {{!}}{{aoitem | name=Grandmaster's Dungeon Map (Solo)| text=none}}<span style="display: none;">[[Drops item::Grandmaster's Dungeon Map (Solo)]] {{!}}{{aoitem | name=Elder's Dungeon Map (Solo)| text=none}}<span style="display: none;">[[Drops item::Elder's Dungeon Map (Solo)]] }}<!--  
  
 
SETUP MOBPREFIX VALUES
 
SETUP MOBPREFIX VALUES
Line 8: Line 8:
 
-->{{ #switch:{{#var: mobPrefix }}
 
-->{{ #switch:{{#var: mobPrefix }}
 
|Berserker={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Berserker={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
|Bonecrusher={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT4Lux|1}}{{#vardefine: t4LuxRow | {{#var: showRow}} }}
+
|Bonecrusher={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT4Lux|1}}
 
|Druid={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Druid={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
|Earthkeeper={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT4Lux|1}}{{#vardefine: t4LuxRow | {{#var: showRow}} }}
+
|Earthkeeper={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT4Lux|1}}
 
|Huntress={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Huntress={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Knifeling={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Knifeling={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
Line 18: Line 18:
 
SWITCH FOR MOBPREFIX TESTS
 
SWITCH FOR MOBPREFIX TESTS
 
-->{{ #switch:{{#var: mobPrefix }}
 
-->{{ #switch:{{#var: mobPrefix }}
|Keeper={{#set: Mob_Type| {{#var: mobPrefix }} }}{{#vardefine: showKeeper|1}}{{#vardefine: keeperItemRow | {{#var: showRow}} }}{{#ifeq: {{#var: showT7}}|1|{{#vardefine: showT4Lux|1}}{{#vardefine: t4LuxRow | {{#var: showRow}} }} }}
+
|Keeper={{#set: Mob_Type| {{#var: mobPrefix }} }}{{#vardefine: showKeeper|1}}{{#vardefine: keeperItemRow | {{#var: showRow}} }}{{#vardefine: treasures_standard_loot|yes }} }}
 
|{{#vardefine: showRune|0}}{{#vardefine: runeRow | {{#var: hideRow}} }}{{#vardefine: showSoul|0}}{{#vardefine: soulRow | {{#var: hideRow}} }}{{#vardefine: showRelic|0}}{{#vardefine: relicRow | {{#var: hideRow}} }} }}<!--  
 
|{{#vardefine: showRune|0}}{{#vardefine: runeRow | {{#var: hideRow}} }}{{#vardefine: showSoul|0}}{{#vardefine: soulRow | {{#var: hideRow}} }}{{#vardefine: showRelic|0}}{{#vardefine: relicRow | {{#var: hideRow}} }} }}<!--  
 
--->
 
--->
Line 25: Line 25:
  
 
{| class="wikitable" style={{#var: showRow}}
 
{| class="wikitable" style={{#var: showRow}}
!colspan=2|Misc Items
+
!colspan=7|Misc Items
 
|-  
 
|-  
 
| {{aoitem | name=Adept's Tome of Insight| text=none}}<span style="display: none;">[[Drops item::Adept's Tome of Insight]]</span>
 
| {{aoitem | name=Adept's Tome of Insight| text=none}}<span style="display: none;">[[Drops item::Adept's Tome of Insight]]</span>
 +
{{#if: {{#var: loot_rd_token}}|{{#var: loot_rd_token}} }}
 
|}
 
|}
 
{| class="wikitable" style={{#var: runeRow}}
 
{| class="wikitable" style={{#var: runeRow}}

Revision as of 00:27, 19 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

Adept's Dungeon Map (Solo) | Expert's Dungeon Map (Solo) | Master's Dungeon Map (Solo) | Grandmaster's Dungeon Map (Solo) | Elder's Dungeon Map (Solo)


No description.

Template parameters

ParameterDescriptionTypeStatus
Page NamePAGENAME

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

Default
PAGENAME
Example
Keeper Earthchild
Stringoptional