Difference between revisions of "Template:Item"

From ChatWars Wiki
Jump to: navigation, search
(Created page with "{{RecipeInfoBox}} {{:Category:{{#show: {{PAGENAME}} |?ItemType}} }} {{InfoOverview}} {{#if: {{#show: {{PAGENAME}} |?ShopBuyPrice}} | =Acquisition= The {{PAGENAME}} is not s...")
 
m
 
(83 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RecipeInfoBox}}
+
{{#vardefine: source|{{ReplaceNumericCharEncoding|string={{PAGENAME}} }} }}{{#ifeq: {{#show: {{#var: source}} |?BoolCraft}} | true | {{RecipeInfobox|source={{#var: source}} }} }}<!--
  
{{:Category:{{#show: {{PAGENAME}} |?ItemType}} }}
+
-->{{#switch: {{#show: {{#var: source}} |?ItemSubType#}}
 +
  | Alchemy Resource = {{:Category:Alchemy Resource}}
 +
  | Scroll = {{:Category:Scroll}}
 +
  | {{:Category:{{#show: {{#var: source}} |?ItemType#}}}} <!--default-->
 +
}} {{{FreeTextOverview|}}}
 +
<!--{{#ifeq: {{#show: {{#var: source}} |?ItemSubType#}} | Alchemy Resource
 +
  | {{:Category:Alchemy Resource}}
 +
  | {{:Category:{{#show: {{#var: source}} |?ItemType#}}}}
 +
}} {{{FreeTextOverview|}}}-->
  
{{InfoOverview}}
+
__TOC__
 +
{{#if: {{#show: {{#var: source}} |?DetailedDescription}} | <br><br>''{{#show: {{#var: source}} |?DetailedDescription}}'' }}
  
{{#if: {{#show: {{PAGENAME}} |?ShopBuyPrice}} |
+
=Properties=
=Acquisition=
+
{{#ifeq: {{#show: {{#var: source}} |?BoolQuest}} | true
The {{PAGENAME}} is not sold in the [[Shop|Castle Shop]], it can only be crafted with the [[Recipe|recipe]] and the items for the recipe or by buying the finished item via [[Auction|auctions]] from other players for [[Pouch of Gold|Pouches of Gold]].
+
  | ''For droprate research please consult [[Talk:{{#var: source}}]].''
 
}}
 
}}
{{#ifeq: {{#show: {{PAGENAME}} |?BoolCraft}} | true |
+
{{InfoOverview|source={{#var: source}} }}
==Crafting==
+
 
The {{PAGENAME}} can be crafted with the [[Skill|skill]] {{#show: {{PAGENAME}} |?SkillCraft}} on level {{#show: {{PAGENAME}} |?SkillCraftLevel}}. 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.
+
{{#switch: {{#show: {{#var: source}} |?ItemType#}}
 +
  | Weapon
 +
  | Protective Gear
 +
  | Cape = {{#ifeq: {{#expr: {{#if: {{#show: {{#var: source}} |?ShopBuyPrice}}
 +
                              | 0
 +
                              | 1
 +
                            }} and {{#ifeq: {{#show: {{#var: source}} |?BoolAuction}} | true | 1 | 0 }}
 +
                    }} | 1
 +
            | =Acquisition=
 +
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: {{#var: source}} |?BoolCraft}} | true |
 +
=Crafting=
 +
The {{#var: source}} can be crafted with the [[Skill|skill]] {{#show: {{#var: source}} |?SkillCraft}} on level {{#show: {{#var: source}} |?SkillCraftLevel}}.<br>
 +
{{#ifexpr: {{#show: {{#var: source}} |?SkillCraftLevel}} = 0
 +
  | This is possible for every player above level 10.
 +
  | {{#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 an [[Master Shop|Alchemy Shop]] with the complete list of necessary items in the inventory. <!--
 +
                      -->{{#if: {{#pos: {{#ask: [[-Has subobject::{{PAGENAME}}]] [[Personalized::Yes]] }} | {{PAGENAME}} }}
 +
                            | Additionally, this item contains personalized ingredients. The exact ingredients needed differ from player to player and are chosen from a small list of possible options. The easiest way to find out which resources someone needs, is to try to buy the item from an [[Master Shop|Alchemy Shop]] and note down the list of missing resources.
 +
                          }}
 +
      | 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 [[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.
 +
                          }}
 +
    }}
 +
}}<!--
 +
 +
-->{{#vardefine: BoMText | {{BoM}} }} {{#if: {{#pos: {{#var: BoMText}}<!--checks if BoM would have enough depth to make sense (at least 1 recipe iteration deep) and only displays it if that's the case-->
 +
                                            | **
 +
                                          }}
 +
                                    | <h2>Bill of Materials</h2>{{#var: BoMText}}<br><br>
 +
                                  }}
 +
}}<!--
 +
-->{{#switch: {{#show: {{#var: source}} |?ItemType#}}
 +
  | Resource = <h1>Usage List</h1>{{UsageList}}
 +
  | 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.
 +
}}<!--
  
<!-- Set iteminfo -->
+
Set iteminfo -->
 
{{#set:
 
{{#set:
 
| ItemID={{{ItemID|[[??]]}}}
 
| ItemID={{{ItemID|[[??]]}}}
| CraftCommand={{{CraftCommand}}}
+
| InGameName={{{InGameName|[[??]]}}}
| note={{{note}}}
+
| CraftCommand={{{CraftCommand|[[??]]}}}
 +
| DetailedDescription={{{DetailedDescription|}}}
 +
| note={{{note|}}}
  
 
| BoolEventItem={{{BoolEventItem|false}}}
 
| BoolEventItem={{{BoolEventItem|false}}}
 +
| Event={{{Event|}}}
  
 
<!--please choose: Weapon/Cape/Protective Gear/Piece of Equipment/Recipe (Item)/Consumable/Resource/Misc/Special Equippable-->
 
<!--please choose: Weapon/Cape/Protective Gear/Piece of Equipment/Recipe (Item)/Consumable/Resource/Misc/Special Equippable-->
Line 48: Line 97:
 
| BoolEnchantment={{{BoolEnchantment|}}}
 
| BoolEnchantment={{{BoolEnchantment|}}}
 
<!--e.g. Type of arrows needed-->
 
<!--e.g. Type of arrows needed-->
| Ammunition={{{Ammunition}}}
+
| Ammunition={{{Ammunition|}}}
 
 
  
| BoolDepositGuild={{{BoolDepositGuild}}}
+
| BoolDepositGuild={{{BoolDepositGuild|}}}
| ShopSellPrice={{{ShopSellPrice}}}
+
| ShopSellPrice={{{ShopSellPrice|}}}
| ShopBuyPrice={{{ShopBuyPrice}}}
+
| ShopBuyPrice={{{ShopBuyPrice|}}}
  
| BoolExchange={{{BoolExchange|false}}}
+
| BoolExchange={{{BoolExchange|}}}
 
| BoolAuction={{{BoolAuction|}}}
 
| BoolAuction={{{BoolAuction|}}}
 
| BoolCraft={{{BoolCraft|}}}
 
| BoolCraft={{{BoolCraft|}}}
 +
| BoolRecipeIncomplete={{{BoolRecipeIncomplete|}}}
  
 
<!--Choose: Crafting (Skill)/Alchemy (Skill)-->
 
<!--Choose: Crafting (Skill)/Alchemy (Skill)-->
Line 65: Line 114:
  
 
| BoolQuest={{{BoolQuest|}}}
 
| BoolQuest={{{BoolQuest|}}}
| PerceptionLevel={{{BoolQuest|}}}
+
| PerceptionLevel={{{PerceptionLevel|}}}
 
<!-- Minimum level players need to have not regarding perception level (eg level 40 for bauxite)-->
 
<!-- Minimum level players need to have not regarding perception level (eg level 40 for bauxite)-->
 
| PlayerQuestMinLevel={{{PlayerQuestMinLevel|}}}
 
| PlayerQuestMinLevel={{{PlayerQuestMinLevel|}}}
Line 85: Line 134:
 
| QuestValleyNight={{{QuestValleyNight|}}}
 
| QuestValleyNight={{{QuestValleyNight|}}}
  
| QuestForayMorning={{{QuestForayMorning|false}}}
+
| QuestForayMorning={{{QuestForayMorning|}}}
| QuestForayDay={{{QuestForayDay|false}}}
+
| QuestForayDay={{{QuestForayDay|}}}
| QuestForayEvening={{{QuestForayEvening|false}}}
+
| QuestForayEvening={{{QuestForayEvening|}}}
| QuestForayNight={{{QuestForayNight|false}}}
+
| QuestForayNight={{{QuestForayNight|}}}
  
 
<!-- Enchantment atk bonus (increment, not total) -->
 
<!-- Enchantment atk bonus (increment, not total) -->
Line 101: Line 150:
 
| EnchantDef3={{{EnchantDef3|}}}
 
| EnchantDef3={{{EnchantDef3|}}}
 
| EnchantDef4={{{EnchantDef4|}}}
 
| EnchantDef4={{{EnchantDef4|}}}
}}
 
  
{{#subobject:
+
<!-- Enchantment mana bonus (increment, not total) -->
|Crafting ingredient=
+
| EnchantMana1={{{EnchantMana1|}}}
|Qty=
+
| EnchantMana2={{{EnchantMana2|}}}
}}
+
| EnchantMana3={{{EnchantMana3|}}}
{{#subobject:
+
| EnchantMana4={{{EnchantMana4|}}}
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
}}
 
{{#subobject:
 
|Crafting ingredient=
 
|Qty=
 
 
}}
 
}}

Latest revision as of 22:13, 2 October 2020

{{:Category:}}

Contents


Properties

Properties of Item
Identifier code
Type ,
Weight
Depositable in Guild no
Event item no