Difference between revisions of "Template:Item/doc"

From Krafties
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
:'''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.
 
:'''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==
 
==Usage==
 
  <nowiki>{{Item</nowiki>
 
  <nowiki>{{Item</nowiki>
Line 14: Line 15:
 
  | consume=
 
  | consume=
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 
 
*<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>
 
*<code>margin=</code> (OPTIONAL) can use this to change the left side margin. Example: <code>margin=none</code>
====Commands 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
 
*<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 09:36, 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=
| margin=
| 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
  • margin= (OPTIONAL) can use this to change the left side margin. Example: margin=none

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)