Difference between revisions of "Template:Infobox Item"

From BatWiki
Jump to: navigation, search
m (changed to use switches and to be included to missing C's)
m (clean up, Replaced: UA-3466433-1 → UA-3466433-3, using AWB)
 
(10 intermediate revisions by 2 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|{{PAGENAME}}}}}''' <includeonly> [[Category:Item]] </includeonly>
+
{| class="infobox" cellspacing="3"
! Stats:
+
|+ {{{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.
 
|-
 
|-
| {{#if: {{{stats|}}} | {{{stats}}} | ''Missing stats'' <includeonly>[[Category:Missing stats]]</includeonly>}}
+
! align="right" | tale ||:
|-
+
| If the item has tale, use this field.
! Weight:
+
 
|-
 
|-
| {{#if: {{{weight|}}} | [[Category:{{{weight}}}]] {{{weight}}} | ''Missing weight category''<includeonly>[[Category:Missing weight category]]</includeonly>}}: {{#if: {{{kg|}}}| {{{kg}}} kg | ''Missing weight in kg's'' <includeonly>[[Category:Missing weight in kg's]]</includeonly> }}
+
! align="right" | stats ||:
|-
+
| Items (magical) properties.
! Made of:
+
 
|-
 
|-
| {{#if: {{{material|}}} | {{{material}}} | ''Missing material'' <includeonly>[[Category:Missing material]]</includeonly>}}
+
! align="right" | weight ||:
|-
+
| From looking at the item "It looks <weight>."
! Quality:
+
 
|-
 
|-
| {{#if: {{{quality|}}} | {{{quality}}} | ''Missing quality'' <includeonly>[[Category:Missing quality]]</includeonly>}}
+
! 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.
! Sacvalue:
+
 
|-
 
|-
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | ''Missing sacvalue'' <includeonly>[[Category:Missing sacvalue]]</includeonly>}}
+
! align="right" | sacvalue || :
|-
+
| The value [[damogran]] shows for the item when writing inv at him.
! From:
+
 
|-
 
|-
| {{#if: {{{from|}}} | {{{from}}} | ''Missing where from gained'' <includeonly>[[Category:Missing where gained]]</includeonly>}}
+
! align="right" | handles || :
|-
+
| Shown by [[identify|id]] "It is called <handles>." before slots.
! Handles:
+
 
|-
 
|-
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles'' <includeonly>[[Category:Missing handles]]</includeonly>}}
+
! align="right" | size || :
 +
| Shown by [[identify|id]] after weight.
 
|-
 
|-
! Desc:
+
! align="right" | material || :
 +
| Shown by [[identify|id]] "made of <material>" after size and before the unaccurate sacvalue.
 
|-
 
|-
| {{#if: {{{desc|}}} | {{{desc}}} | ''Missing description'' <includeonly>[[Category:Missing description]]</includeonly>}} {{#if:{{{tale|}}}| <br>It contains a tale;<br>{{{tale}}}}}
+
! 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|}}}
+
 
|}
 
|}
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>
+
[[Category:Template]]</noinclude>

Latest revision as of 13: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.