Difference between revisions of "Template:Item"

From Krafties
Jump to navigation Jump to search
m
m
Line 11: Line 11:
 
|{{{craft|{{no|style=width:80px}}}}}
 
|{{{craft|{{no|style=width:80px}}}}}
 
!rowspan=2 style="width:80px"|Ingredient{{break}}in these {{break}}recipes
 
!rowspan=2 style="width:80px"|Ingredient{{break}}in these {{break}}recipes
|rowspan=2 style="width:200px"|<sub>{{{ingredient| }}}</sub>
+
|rowspan=2 style="width:300px"|<sub>{{{ingredient| }}}</sub>
 
|-
 
|-
 
![[Alchemy]]
 
![[Alchemy]]
Line 20: Line 20:
 
This is a table for arranging [[Items]] and [[Loot]] neatly
 
This is a table for arranging [[Items]] and [[Loot]] neatly
 
*Use it within <code>{{[[Template:ItemsTable|ItemsTable]]}}</code>
 
*Use it within <code>{{[[Template:ItemsTable|ItemsTable]]}}</code>
<pre style="width:350px">
+
<pre style="width:300px">
 
{{ItemsTable|
 
{{ItemsTable|
 
{{ItemsRow}}
 
{{ItemsRow}}

Revision as of 16:09, 31 March 2015

{{{name}}}
[[File:|90px|link=]] Consumable No
Craftable No Ingredient
in these
recipes
Alchemy 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>

This is a table for arranging Items and Loot neatly

{{ItemsTable|
{{ItemsRow}}
{{ItemsRow}}
}}

{{ItemsRow}}

  • name= name of item
  • image= file-name of image
  • consume= only add when item is consumable, then insert {{yes}}
  • desc= adds short description, such as what happens when consumed
  • craft= only add when item can be crafted, then insert {{yes}}
  • alchemy= how much Experience do you get when converting this item?
  • ingredient= list all the recipes this ingredient is part of

See Also