Difference between revisions of "Template:WeaponGeneralInfo"

From Albion Online Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
# Set Variables from inputs (prefixed with wgi for template name to avoid collisions )
 
# Set Variables from inputs (prefixed with wgi for template name to avoid collisions )
-->{{#vardefine:wgi weaponTree|{{{weapon_tree|{{#var:shop_sub_category}} }}} }}<!--
+
-->{{#vardefine:wgi weaponTree|{{lc:{{{weapon_tree|{{#var:shop_sub_category}} }}} }} }}<!--
-->{{#vardefine:wgi weaponTree|{{lc:{{#var:wgi weaponTree}} }} }}<!--
 
 
-->{{#vardefine:wgi tierInput|{{{tier|{{Tier detect|{{PAGENAME}} }} }}} }}<!--
 
-->{{#vardefine:wgi tierInput|{{{tier|{{Tier detect|{{PAGENAME}} }} }}} }}<!--
 
-->{{#vardefine:Etype | {{{type|{{#explode:{{#var:unique_name}}|_|-1}}}}} }}<!--
 
-->{{#vardefine:Etype | {{{type|{{#explode:{{#var:unique_name}}|_|-1}}}}} }}<!--
Line 15: Line 14:
 
|holystaff = Holy Staff
 
|holystaff = Holy Staff
 
|cursestaff = Cursed Staff
 
|cursestaff = Cursed Staff
}}<!--
+
}} }}<!--
  
 
# Determine the weapon level based on the variant
 
# Determine the weapon level based on the variant

Revision as of 15:41, 19 October 2021

Documentation

Usage

Page dynamic with no parameters:

{{WeaponGeneralInfo}}


The WeaponGeneralInfo is a Tier [[]] which may be obtained by crafting or via the Market Place.

No known weapon trees were supplied so cannot show the spells for this item.

The WeaponGeneralInfo may have different Item Quality ranging from Normal to Masterpiece

The WeaponGeneralInfo Item Quality may be increased at a Repair Station for a fee


{{WeaponGeneralInfo|tier=4|weapon_tree=sword|type=Claymore}}


The WeaponGeneralInfo is a Tier [[]] which may be obtained by crafting or via the Market Place.

No known weapon trees were supplied so cannot show the spells for this item.

The WeaponGeneralInfo may have different Item Quality ranging from Normal to Masterpiece

The WeaponGeneralInfo Item Quality may be increased at a Repair Station for a fee

No description.

Template parameters

ParameterDescriptionTypeStatus
Weapon Treeweapon_tree

shop sub category of the weapon to describe

Default
shop_sub_category
Example
sword, axe, crossbow
Stringoptional
Tiertier

Tier of the weapon to discribe

Example
4, 5, 6, 7, 8
Numberoptional
Weapon Typetype

The type of weapon within its family

Example
SWORD (for base swords), MORGANA, UNDEAD, ROYAL, AVALON
Stringoptional