Difference between revisions of "Template:Item"

From Krafties
Jump to navigation Jump to search
m
m (Undo revision 12033 by MyraMidnight (talk))
Line 15: Line 15:
 
|{{{{{craft|no}}}}}
 
|{{{{{craft|no}}}}}
 
!rowspan=2|[[Alchemy]]
 
!rowspan=2|[[Alchemy]]
|rowspan=2 |{{{alchemy|}}}
+
|rowspan=2|{{{alchemy|Not Convertable}}}
 
|-
 
|-
 
![[Enchanting Recipes|Enchanted]]
 
![[Enchanting Recipes|Enchanted]]
Line 24: Line 24:
 
{|{{Template Explanation}}[[Category:Templates]]
 
{|{{Template Explanation}}[[Category:Templates]]
  
===<nowiki>{{Item|name=|image=|alchemy=|desc=}}</nowiki>===
+
===<nowiki>{{Item|name=|image=|desc=}}</nowiki>===
 
*<code>name=</code> name of item
 
*<code>name=</code> name of item
 
*<code>image=</code> file-name of image
 
*<code>image=</code> file-name of image
 
*<code>desc=</code> adds short description, such as what happens when consumed
 
*<code>desc=</code> adds short description, such as what happens when consumed
*<code>alchemy=</code> '' write how much [[Experience]] is earned when converting, '''else write <code>alchemy=<nowiki>{{no}}</nowiki></code>
 
 
;Variables you only add when answer is different than default (delete the command otherwise)
 
;Variables you only add when answer is different than default (delete the command otherwise)
 
*<code>loot=</code> ''default:yes'' '''only add when item is NOT lootable''', just write <code>loot=no</code>
 
*<code>loot=</code> ''default:yes'' '''only add when item is NOT lootable''', just write <code>loot=no</code>
Line 34: Line 33:
 
*<code>enchant=</code> ''default:no,'' '''only add if item is enchanted''', just write <code>enchant=yes</code>
 
*<code>enchant=</code> ''default:no,'' '''only add if item is enchanted''', just write <code>enchant=yes</code>
 
*<code>consume=</code> ''default:no,'' '''only add when item is consumable''', just write <code>consume=yes</code>
 
*<code>consume=</code> ''default:no,'' '''only add when item is consumable''', just write <code>consume=yes</code>
 +
*<code>alchemy=</code> ''default:no,'' else you write how much [[Experience]] you get when converting this item
 
*<code>ingredient=</code> ''default:n/a,'' else you list all the recipes this ingredient is part of
 
*<code>ingredient=</code> ''default:n/a,'' else you list all the recipes this ingredient is part of
  

Revision as of 16:04, 1 April 2015

[[File:|100px|link=]]
Loot Yes Consume No Ingredient
in recipes
N/A
Crafted No Alchemy Not Convertable
Enchanted No
Documentation icon Template documentation ( view · talk · edit)
Enchanted means if this item can be created through enchanting, not if it's enchanting ingredient. If it is a component for any recipe then add it to the recipe list. Same goes for crafted, it means if this item can be created through crafting.

Usage

{{Item
name= link= (OPTIONAL) image= desc= alchemy= ingredient= loot= craft= enchant= consume=
}}
  • name= name of item
  • link= (OPTIONAL) write page name for link within wiki.
  • image= file-name of image (skipping it will display Krafties logo instead)
  • desc= adds short description, such as what happens when consumed

parameters

  • alchemy= write how much Experience you get when converting this item (default: Not Convertible)
  • ingredient= list all the recipes this ingredient is part of
yes/no parameters
  • loot= answer yes, no or remove the parameter for default n/a
  • craft= answer yes, no or remove the parameter for default n/a
  • enchant= answer yes, no or remove the parameter for default n/a
  • consume= answer yes, no or remove the parameter for default n/a
The above documentation is transcluded from Template:Item/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>

{{Item|name=|image=|desc=}}

  • name= name of item
  • image= file-name of image
  • desc= adds short description, such as what happens when consumed
Variables you only add when answer is different than default (delete the command otherwise)
  • loot= default:yes only add when item is NOT lootable, just write loot=no
  • craft= default:no, only add when item can be crafted, just write craft=yes
  • enchant= default:no, only add if item is enchanted, just write enchant=yes
  • consume= default:no, only add when item is consumable, just write consume=yes
  • alchemy= default:no, else you write how much Experience you get when converting this item
  • ingredient= default:n/a, else you list all the recipes this ingredient is part of

See Also