Difference between revisions of "Template:Infobox Item"

From BatWiki
Jump to: navigation, search
m
(Updated weight fields with switch to fix weight categorys.)
Line 10: Line 10:
 
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 
|-
 
|-
! align="right" | Weight:
+
! align="right" | It looks
| {{#if: {{{weight|}}} | [[Category:{{{weight}}}]] {{{weight}}} | ''Weight'' category unknown[[Category:Missing weight category]]}} {{#if: {{{kg|}}}| ({{{kg}}} kg) | (Weight in ''kg''s unknown) [[Category:Missing weight in kg's]] }}
+
| {{#if: {{{weight|}}} | {{ #switch: {{lc:{{{weight}}}}}  <!-- switch that includes the armour to right weight category -->
 +
| very light weight = Very light weight  [[Category:Very light weight]]
 +
| light weight = Light weight  [[Category:Light weight]]
 +
| bit heavy
 +
| a bit heavy = A bit heavy  [[Category:A bit heavy]]
 +
| heavy = Heavy  [[Category:Heavy]]
 +
| very heavy = Very heavy  [[Category:Very heavy]]
 +
| very very heavy = Very very heavy  [[Category:Very very heavy]]
 +
| ridiculously heavy = Ridiculously heavy  [[Category:Ridiculously heavy]]
 +
| {{{weight}}} }} | Missing '''weight''' category [[Category:Missing weight category]]}} {{#if: {{{kg|}}}| ({{{kg}}} kg) | (Weight in ''kg''s unknown) [[Category:Missing weight in kg's]] }}
 
|-
 
|-
 
! align="right" | Sacvalue:
 
! align="right" | Sacvalue:

Revision as of 14:25, 17 August 2008

This is a template for adding items.

Copy & Paste

{{ Infobox Item
| name = 
| description = 
| tale
| stats = 
| weight = 
| kg = 
| sacvalue = 
| handles = 
| material = 
| size = 
| quality = 
| from = 
| other
}}

Explanation

Fields & Instructions how to fill 'em. Fields in italics should be remove if not used.
name  : Items long desc including all auras/glows.
description : Fill with all what you see when looking at it before any auras/glows or type.
tale : If the item has tale, use this field.
stats : Items (magical) properties.
weight : From looking at the item "It looks <weight>."
kg  : What the item really weights. Either sell it to shop and view it or use scales. Or you can pick up coins until you see you carried weight changing as ten coins weight one gram.
sacvalue  : The value damogran shows for the item when writing inv at him.
handles  : Shown by id "It is called <handles>." before slots.
size  : Shown by id after weight.
material  : Shown by id "made of <material>" after size and before the unaccurate sacvalue.
quality  : Shown by id "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
other  : If any other important, use this field.