Difference between revisions of "Template:Item infobox"
m (test 2) |
m (test 3) |
||
Line 16: | Line 16: | ||
<!-- Weapon Type Displays --> | <!-- Weapon Type Displays --> | ||
{{#ifeq: {{{type}}}|Weapon | {{#ifeq: {{{type}}}|Weapon | ||
− | |{{#if:{{{item_power|}}}|;Item Power: {{{item_power}}}}} | + | |{{#if:{{{item_power|}}}|;Item Power: {{{item_power}}}}}{{#if:{{{attack_type|}}}|;Attack Type: {{{attack_type}}}}}{{#if:{{{attack_speed|}}}|;Attack Speed: {{{attack_speed}}}}}{{#if:{{{attack_damage|}}}|;Attack Damage: {{{attack_damage}}}}}|Nope... its {{{type}}} }} |
− | {{#if:{{{attack_type|}}}|;Attack Type: {{{attack_type}}}}} | ||
− | {{#if:{{{attack_speed|}}}|;Attack Speed: {{{attack_speed}}}}} | ||
− | {{#if:{{{attack_damage|}}}|;Attack Damage: {{{attack_damage}}}}} | ||
− | |Nope... its {{{type}} | ||
− | |||
</div><!-- | </div><!-- | ||
-->{{#set:Name={{{item_name|{{#titleparts:{{PAGENAME}}}}}}}}}<!-- | -->{{#set:Name={{{item_name|{{#titleparts:{{PAGENAME}}}}}}}}}<!-- |
Revision as of 20:35, 18 December 2020
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
Nope... its Wood
A template that adds a side element with the item's picture, name, description, type, tier, weight, value, and fame.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | item_name | The name of the item.
| String | required |
Item Description | description | The item description as it appears within the game.
| String | suggested |
Type | type | The type of this item. Check 'Item type' property for a list of valid values | String | optional |
Tier | tier | The tier of the item.
| Number | suggested |
Weight | weight | The weight of a single unit of this item. The kg suffix is added automatically.
| Number | suggested |
Value | item_value | The value of a single unit of this item.
| Number | optional |
Enchantment | enchantment | Enchantment level of the item. May be any number from 0 to 3.
| Number | optional |
Unique Name | unique_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 | String | optional |
Quality | quality | Quality of an item; may be Normal, Good, Outstanding, Excellent, Masterpiece
| String | optional |
Shop Category | shop_category category | categorization of the item in shop
| String | suggested |
Shop Subcategory | shop_sub_category subcategory | categorization of the item by sub category
| String | suggested |
The above documentation is transcluded from Template:Item infobox/doc. (edit | history)