Difference between revisions of "Template:MobDrops"

From Albion Online Wiki
Jump to navigation Jump to search
m (remove lux items from mobprefix switch)
m (add lux item toggle when t7 is to be shown.)
Line 13: Line 13:
 
|Knifeling={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Knifeling={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Wildling={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
 
|Wildling={{#vardefine: mobPrefix|Keeper}}{{#vardefine: showT7|0}}{{#vardefine: showT8|0}}
|{{#vardefine: showT4Lux|1}}{{#vardefine: t4LuxRow | {{#var: showRow}} }}}}<!--
+
| }}<!--
  
 
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}} }}
+
|Keeper={{#set: Mob_Type| {{#var: mobPrefix }} }}{{#vardefine: showKeeper|1}}{{#vardefine: keeperItemRow | {{#var: showRow}} }}{{#ifeq: {{#var: showT7}}|1|{{#vardefine: showT4Lux|1}}{{#vardefine: t4LuxRow | {{#var: showRow}} }} }}
 
|{{#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}} }} }}
  

Revision as of 18:01, 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