Difference between revisions of "Template:Item"
(replaced pagename link to variable call to circumvent a bug) |
|||
Line 1: | Line 1: | ||
− | {{#ifeq: {{#show: {{ | + | {{#vardefine: source|{{{source|{{PAGENAME}} }}} }}{{#ifeq: {{#show: {{#var: source}} |?BoolCraft}} | true | {{RecipeInfobox}} }} |
− | {{:Category:{{#show: {{ | + | {{:Category:{{#show: {{#var: source}} |?ItemType#}}}} {{{FreeTextOverview|}}} |
=Properties= | =Properties= | ||
− | {{#ifeq: {{#show: {{ | + | {{#ifeq: {{#show: {{#var: source}} |?BoolQuest}} | true |
− | | ''For droprate research please consult [[Talk:{{ | + | | ''For droprate research please consult [[Talk:{{#var: source}}]].'' |
}} | }} | ||
{{InfoOverview}} | {{InfoOverview}} | ||
− | {{#switch: {{#show: {{ | + | {{#switch: {{#show: {{#var: source}} |?ItemType#}} |
| Weapon | | Weapon | ||
| Protective Gear | | Protective Gear | ||
− | | Cape = {{#ifeq: {{#expr: {{#if: {{#show: {{ | + | | Cape = {{#ifeq: {{#expr: {{#if: {{#show: {{#var: source}} |?ShopBuyPrice}} |
| 0 | | 0 | ||
| 1 | | 1 | ||
− | }} and {{#ifeq: {{#show: {{ | + | }} and {{#ifeq: {{#show: {{#var: source}} |?BoolAuction}} | true | 1 | 0 }} |
}} | 1 | }} | 1 | ||
| =Acquisition= | | =Acquisition= | ||
− | The {{ | + | The {{#var: source}} is not sold in the [[Shop|Castle Shop]]. It can be obtained by buying it via the [[Auction]] from other players for [[Pouch of Gold|Pouches of Gold]]{{#ifeq: {{#show: {{#var: source}} |?BoolCraft}} | true | <nowiki> </nowiki>or by crafting it }}. |
}} | }} | ||
}} | }} | ||
− | {{#ifeq: {{#show: {{ | + | {{#ifeq: {{#show: {{#var: source}} |?BoolCraft}} | true | |
=Crafting= | =Crafting= | ||
− | The {{ | + | The {{#var: source}} can be crafted with the [[Skill|skill]] {{#show: {{#var: source}} |?SkillCraft}} on level {{#show: {{#var: source}} |?SkillCraftLevel}}. |
− | {{#ifexpr: {{#show: {{ | + | {{#ifexpr: {{#show: {{#var: source}} |?SkillCraftLevel}} = 0 |
| This is possible for every player above level 10. | | This is possible for every player above level 10. | ||
− | | {{#switch: {{#show: {{ | + | | {{#switch: {{#show: {{#var: source}} |?SkillCraft#}} |
| Alchemy (Skill) = This is only possible for [[Alchemist|alchemists]], so it requires either being an Alchemist with this skill, or buying it from a [[Master Shop|Alchemy Shop]] with the complete list of necessary items in the inventory. | | Alchemy (Skill) = This is only possible for [[Alchemist|alchemists]], so it requires either being an Alchemist with this skill, or buying it from a [[Master Shop|Alchemy Shop]] with the complete list of necessary items in the inventory. | ||
− | | Crafting (Skill) = {{#ifexpr: {{#show: {{ | + | | Crafting (Skill) = {{#ifexpr: {{#show: {{#var: source}} |?SkillCraftLevel}} > 2 |
| This is only possible for [[Blacksmith|blacksmiths]], so it requires either being a Blacksmith with this skill or buying it from a [[Master Shop|Blacksmith Shop]] with the complete list of necessary items in the inventory. | | This is only possible for [[Blacksmith|blacksmiths]], so it requires either being a Blacksmith with this skill or buying it from a [[Master Shop|Blacksmith Shop]] with the complete list of necessary items in the inventory. | ||
| This is only possible for [[Master|Masters]] at or above level 14 and all following classes. [[Esquire|Esquires]] need to buy it from a [[Master Shop|Blacksmith Shop]] with the complete list of necessary items in the inventory. | | This is only possible for [[Master|Masters]] at or above level 14 and all following classes. [[Esquire|Esquires]] need to buy it from a [[Master Shop|Blacksmith Shop]] with the complete list of necessary items in the inventory. | ||
Line 42: | Line 42: | ||
}} | }} | ||
}} | }} | ||
− | {{#switch: {{#show: {{ | + | {{#switch: {{#show: {{#var: source}} |?ItemType#}} |
| Resource = <h1>Usage List</h1>{{UsageList}} | | Resource = <h1>Usage List</h1>{{UsageList}} | ||
− | | Recipe (Item) = If the {{ | + | | Recipe (Item) = If the {{#var: source}} is in the player's inventory, the crafting recipe can be shown in the game with <code>/view_{{#show: {{#var: source}} |?ItemID}}</code>. Crafting the item consumes the recipe. |
}} | }} | ||
Revision as of 10:57, 22 October 2018
{{:Category:}}
Properties
Properties of Item | |
---|---|
Identifier code |
|
Type | , |
Weight | |
Depositable in Guild | no |
Event item | no |