Difference between revisions of "Template:Item"

From Krafties
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
{|class=pinktable style="width:700px;margin:none"
 
{|class=pinktable style="width:700px;margin:none"
 
|+ style="text-align:left"|{{ucfirst:{{{name}}}}}
 
|+ style="text-align:left"|{{ucfirst:{{{name}}}}}
|rowspan=4 style="width:100px"|[[File:{{{image|}}}|100px|link=]]
+
|rowspan=5 style="width:100px"|[[File:{{{image|}}}|100px|link=]]
 +
!Loot
 +
|{{{loot|{{yes}}}}}
 +
|colspan=2 rowspan=4 style="text-align:left;padding-left:5px;"|{{ucfirst:{{{desc| }}}}}
 +
|-
 
!Consumable
 
!Consumable
 
|{{{consume|{{no}}}}}
 
|{{{consume|{{no}}}}}
|colspan=2 rowspan=3 style="text-align:left;padding-left:5px;"|{{ucfirst:{{{desc| }}}}}
 
 
|-
 
|-
 
!style="width:80px"|Crafted
 
!style="width:80px"|Crafted
Line 23: Line 26:
 
*<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>loot=</code> '''only add when item is NOT lootable''', then insert <code>{{[[Template:no|no]]}}</code>
 
*<code>consume=</code> '''only add when item is consumable''', then insert <code>{{[[Template:yes|yes]]}}</code>
 
*<code>consume=</code> '''only add when item is consumable''', then insert <code>{{[[Template:yes|yes]]}}</code>
 
*<code>desc=</code> adds short description, such as what happens when consumed
 
*<code>desc=</code> adds short description, such as what happens when consumed

Revision as of 02:00, 1 April 2015

{{{name}}}
[[File:|100px|link=]] Loot Yes
Consumable No
Crafted No
Enchanted No
Alchemy No Ingredient
in recipes
N/A
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= name of item
  • image= file-name of image
  • loot= only add when item is NOT lootable, then insert {{no}}
  • 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}}
  • enchant= only add if item is enchanted, 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