Difference between revisions of "Template:Item/doc"

From Krafties
Jump to navigation Jump to search
m
Line 14: Line 14:
 
  | consume=
 
  | consume=
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
optional parameters
 
| margin=
 
 
 
*<code>name=</code> name of item
 
*<code>name=</code> name of item
 
*<code>image=</code> file-name of image (skipping it will display Krafties logo instead)
 
*<code>image=</code> file-name of image (skipping it will display Krafties logo instead)
 
*<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>margin=</code> (OPTIONAL) can use this to change the left side margin. Example: <code>margin=none</code>
 
 
====parameters that can be skipped (will then display ''default'' choice)====
 
====parameters that can be skipped (will then display ''default'' choice)====
 
*<code>alchemy=</code> ''default:no,'' else you write how much [[Experience]] you get when converting this item
 
*<code>alchemy=</code> ''default:no,'' else you write how much [[Experience]] you get when converting this item

Revision as of 10:48, 9 May 2017

This is a documentation subpage for Template:Item.
It contains usage information, categories and other content that is not part of the original template page.
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=
| image=
| desc=
| alchemy=
| ingredient=
| loot=
| craft=
| enchant=
| consume=
}}
  • name= name of item
  • image= file-name of image (skipping it will display Krafties logo instead)
  • desc= adds short description, such as what happens when consumed

parameters that can be skipped (will then display default choice)

  • 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
  • loot= default:yes You can write no or unknown (or any other Table Cell Templates can work)
  • craft= default:no, You can write yes or unknown (or any other Table Cell Templates can work)
  • enchant= default:no, You can write yes or unknown (or any other Table Cell Templates can work)
  • consume= default:no, You can write yes or unknown (or any other Table Cell Templates can work)