Difference between revisions of "Template:Infobox Item"

From BatWiki
Jump to: navigation, search
m
m (clean up, Replaced: UA-3466433-1 → UA-3466433-3, using AWB)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="width: 35em; text-align: left; font-size: 95%;"
+
<includeonly>[[Category: Equipment]]
|+ style="font-size: larger;" | '''{{{name}}}'''
+
{| class="infobox" cellspacing="3"
! Desc:
+
|+ {{{name|}}}  [[Category:Item]]
 +
! align="right" valign="top" | Description:
 +
|
 +
{| style="width: 35em;" cellpadding="0" cellspacing="0"
 +
| {{#if: {{{description|{{{desc|}}}}}} | {{{description|{{{desc|}}}}}} | Missing ''description'' [[Category:Missing description]]}} {{#if:{{{tale|}}}| <br>It contains a tale;<br>{{{tale}}} }}
 +
|}
 +
|-
 +
! align="right" | Stats:
 +
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 +
|-
 +
! align="right" | It looks
 +
| {{#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:
 +
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | ''Missing sacvalue'' [[Category:Missing sacvalue]]}}
 +
|-
 +
! align="right" | It is called:
 +
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles [[Category:Missing handles]]}}
 +
|-
 +
! align="right" | Made of:
 +
| {{#if: {{{material|}}} | {{{material}}} | ''Missing material'' [[Category:Missing material]]}}
 +
|-
 +
! align="right" | Size:
 +
| {{#if: {{{size|}}} | {{{size}}} | Missing ''size'' [[Category:Missing size]]}}
 +
|-
 +
! align="right" | Quality:
 +
| {{#if: {{{quality|}}} | {{{quality}}} | Missing ''quality'' [[Category:Missing quality]]}}
 +
|-
 +
! align="right" | From:
 +
| {{#if: {{{from|}}} | {{{from}}} | Missing where ''from'' gained [[Category:Missing where gained]]}}
 +
|-
 +
! align="right" | {{#if: {{{other|}}} | Other info:}}
 +
| {{#if: {{{other|}}} | {{{other}}} }}
 +
|}<analytics uacct="UA-3466433-3" ></analytics></includeonly><noinclude>This is a template for adding [[item]]s.
 +
== Copy & Paste ==
 +
<nowiki>{{</nowiki> {{PAGENAME}}<br>
 +
<nowiki>| name =&nbsp;</nowiki><br>
 +
<nowiki>|</nowiki> description =&nbsp;<br>
 +
<nowiki>|</nowiki> ''tale'' =&nbsp;<br>
 +
<nowiki>|</nowiki> stats =&nbsp;<br>
 +
<nowiki>|</nowiki> weight =&nbsp;<br>
 +
<nowiki>|</nowiki> kg =&nbsp;<br>
 +
<nowiki>|</nowiki> sacvalue =&nbsp;<br>
 +
<nowiki>|</nowiki> handles =&nbsp;<br>
 +
<nowiki>|</nowiki> material =&nbsp;<br>
 +
<nowiki>|</nowiki> size =&nbsp;<br>
 +
<nowiki>|</nowiki> quality =&nbsp;<br>
 +
<nowiki>|</nowiki> from =&nbsp;<br>
 +
<nowiki>|</nowiki> ''other'' =&nbsp;<br>
 +
<nowiki>}}</nowiki>
 +
{|  cellspacing="3"
 +
|+
 +
== Explanation ==
 +
! align="right" | Fields
 +
| &
 +
! align="left" | Instructions how to fill 'em. Fields in ''italics'' should be remove if not used.
 +
|-
 +
! align="right" | name || :
 +
| Items long desc including all auras/glows.
 +
|-
 +
! align="right" | description ||:
 +
|Fill with all what you see when looking at it before any auras/glows or type.
 
|-
 
|-
| {{{desc|''No longdesc available''}}}
+
! align="right" | tale ||:
{{#if:{{{tale|}}}| It contains a tale;
+
| If the item has tale, use this field.
 
+
{{{tale}}}}}
+
|-
+
! Weight:
+
 
|-
 
|-
| {{{weight|}}}{{ #ifeq:{{{weight|-}}}|{{{kg|+}}}||&#58;&#160;}}{{#if: {{{kg|}}}|{{{kg|}}} kg}}{{ #ifeq:{{{weight|}}}|{{{kg|}}}|''Unknown''}}
+
! align="right" | stats ||:
|-
+
| Items (magical) properties.
! Handles:
+
 
|-
 
|-
| {{{handles|''Unknown''}}}
+
! align="right" | weight ||:
 +
| From looking at the item "It looks <weight>."
 
|-
 
|-
! Stats:
+
! align="right" | kg || :
 +
| What the item really weights. Either sell it to shop and view it or use [[An ivory amulet in the shape of small scales|scales]]. Or you can pick up coins until you see you carried weight changing as ten coins weight one gram.
 
|-
 
|-
| {{{stats|''Unknown''}}}
+
! align="right" | sacvalue || :
|-
+
| The value [[damogran]] shows for the item when writing inv at him.
! Made of:
+
 
|-
 
|-
| {{{material|''Unknown''}}}
+
! align="right" | handles || :
|-
+
| Shown by [[identify|id]] "It is called <handles>." before slots.
! Sacvalue:
+
 
|-
 
|-
| {{{sacvalue|''Unknown''}}}
+
! align="right" | size || :
|-
+
| Shown by [[identify|id]] after weight.
! Quality:
+
 
|-
 
|-
| {{{quality|''Unknown''}}}
+
! align="right" | material || :
|-
+
| Shown by [[identify|id]] "made of <material>" after size and before the unaccurate sacvalue.
! From:
+
 
|-
 
|-
| {{{from|''Unknown''}}}
+
! align="right" | quality || :
|-
+
| Shown by [[identify|id]] "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
! Other info:
+
 
|-
 
|-
| {{{other|''No other important information''}}}
+
! align="right" | other || :
|-
+
| If any other important, use this field.
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
 
|}
 
|}
[[Category:Item]] {{#if: {{{weight|}}}|[[Category:{{{weight}}}]]}}
+
[[Category:Template]]</noinclude>

Latest revision as of 12:03, 23 June 2009

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.