Difference between revisions of "Template:Item infobox"

From Albion Online Wiki
Jump to navigation Jump to search
m (Preparation for the shop category and sub category)
m (fixed typo)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
{{#if:{{{description|}}}| ;Description:{{{description}}}}}<!--
 
{{#if:{{{description|}}}| ;Description:{{{description}}}}}<!--
 
-->{{#if:{{{type|}}}|;Type: [[:Category:{{{type}}}|{{{type}}}]]}}<!--
 
-->{{#if:{{{type|}}}|;Type: [[:Category:{{{type}}}|{{{type}}}]]}}<!--
 +
-->{{#if:{{{subtype|}}}|;Sub type: {{{subtype}}}}}<!--Remove for shop sub category later
 
-->{{#if:{{{tier|}}}|;Tier: {{{tier}}}}}<!--
 
-->{{#if:{{{tier|}}}|;Tier: {{{tier}}}}}<!--
 
-->{{#if:{{{weight|}}}|;Weight: {{{weight}}} kg}}<!--
 
-->{{#if:{{{weight|}}}|;Weight: {{{weight}}} kg}}<!--
Line 26: Line 27:
 
-->{{#set:Enchantment={{{enchantment|0}}}}}<!--
 
-->{{#set:Enchantment={{{enchantment|0}}}}}<!--
 
-->{{#if:{{{shop_category|}}}|{{#set:Shop category={{{shop_category}}}}}}}<!--
 
-->{{#if:{{{shop_category|}}}|{{#set:Shop category={{{shop_category}}}}}}}<!--
-->{{#if:{{{shop_sub_category|}}}|{{#set:Shop subcategory={{{shop_sub_category}}}}}}}
+
-->{{#if:{{{shop_sub_category|}}}|{{#set:Shop subcategory={{{shop_sub_category}}}}}}}<!--
 
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
 
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
 
<!-- Stamp categories -->
 
<!-- Stamp categories -->

Latest revision as of 01:20, 20 January 2021


Documentation

Rough Logs

Description
Common, low-quality Wood, used for crafting. It is too weak to be refined.
Type
Wood
Tier
1
Weight
0.2 kg

A template that adds a side element with the item's picture, name, description, type, tier, weight, value, and fame.

Template parameters

ParameterDescriptionTypeStatus
Nameitem_name

The name of the item.

Default
{{PAGENAME}}
Stringrequired
Item Descriptiondescription

The item description as it appears within the game.

Example
Common low-quality stone used for crafting. It is too weak to be refined.
Stringsuggested
Typetype

The type of this item. Check 'Item type' property for a list of valid values

Stringoptional
Tiertier

The tier of the item.

Example
4
Numbersuggested
Weightweight

The weight of a single unit of this item. The kg suffix is added automatically.

Example
1.0
Numbersuggested
Valueitem_value

The value of a single unit of this item.

Example
0
Numberoptional
Enchantmentenchantment

Enchantment level of the item. May be any number from 0 to 3.

Default
0
Numberoptional
Unique Nameunique_name

Unique name of an item as the game is using it internally. This is only required if multiple items have the same translated name

Stringoptional
Qualityquality

Quality of an item; may be Normal, Good, Outstanding, Excellent, Masterpiece

Default
Normal
Stringoptional
Item Classificationclassification class

categorization of the item. Deprecated by Shop Category

Example
Resource
Stringsuggested
Shop Categoryshop_category category

categorization of the item in shop

Example
Resource
Stringsuggested
Shop Subcategoryshop_sub_category subcategory

categorization of the item by sub category

Example
Stone Block
Stringsuggested