Difference between revisions of "Template:Item"

From Krafties
Jump to navigation Jump to search
m
Line 1: Line 1:
 
<onlyinclude><div style="display:inline-block">
 
<onlyinclude><div style="display:inline-block">
{|class=pinktable style="width:300px;margin-left:{{{margin|30px}}};font-size:11px;text-align:center;border-width:2px"
+
{|class=pinktable style="width:350px;margin-left:{{{margin|30px}}};font-size:11px;text-align:center;border-width:2px"
 
!colspan=4 style="text-align:left;font-size:12px;"|<h4>{{ucfirst:{{{name| }}}}}</h4>
 
!colspan=4 style="text-align:left;font-size:12px;"|<h4>{{ucfirst:{{{name| }}}}}</h4>
 
|-
 
|-
|colspan=2 style="background-color:#fff;border-width:2px;height:100px;"|[[File:{{{image|Logo big.png}}}|100x100px|link=]]
+
|colspan=4 |[[File:{{{image|Logo big.png}}}|left|100x100px|link=]] {{ucfirst:{{{desc| }}}}}
|colspan=2 valign=top style="text-align:left;text-align:left;padding-left:5px;width:600px;border-width:2px"|{{ucfirst:{{{desc| }}}}}
+
 
 
|-
 
|-
!style="width:50px"|[[Loot]]
+
!style="width:25%"|[[Loot]]
 
|{{{{{loot|yes}}}}}
 
|{{{{{loot|yes}}}}}
!style="width:50px"|Consume
+
!style="width:25%"|Consume
 
|{{{{{consume|no}}}|style=width:60px}}
 
|{{{{{consume|no}}}|style=width:60px}}
 
|-
 
|-
Line 14: Line 14:
 
|{{{{{craft|no}}}}}
 
|{{{{{craft|no}}}}}
 
!rowspan=2|[[Alchemy]]
 
!rowspan=2|[[Alchemy]]
|rowspan=2|{{{alchemy|Not Convertable}}}
+
|rowspan=2 style="width:25%"|{{{alchemy|Not Convertable}}}
 
|-
 
|-
 
![[Enchanting Recipes|Enchanted]]
 
![[Enchanting Recipes|Enchanted]]

Revision as of 04:44, 25 January 2016

Logo big.png
Loot Yes Consume No
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>
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.

Commands

  • 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

Commands 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)

See Also