Difference between revisions of "Template:Infobox Shield"

From BatWiki
Jump to: navigation, search
m (updated the template to show right info for empty fields)
m
Line 1: Line 1:
{| class="infobox bordered" style="width: 35em; text-align: left; font-size: 95%;"
+
<includeonly>{| class="infobox" cellspacing="3"
|+ style="font-size: larger;" | '''{{{name|{{PAGENAME}}}}}''' <includeonly>[[Category:Shield]]</includeonly>
+
|+ {{{name|}}}  [[Category:Shield]]
! Stats:
+
align="right" | Description:
 +
|
 +
{| {{#if: {{{description|{{{desc|}}}}}} | 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}}} }}
 +
|}
 
|-
 
|-
| {{#if: {{{stats|}}} | {{{stats}}} | ''Missing stats'' <includeonly>[[Category:Missing stats]]</includeonly>}}
+
!  align="right" | Shield type:
 +
| {{ #switch: {{lc:{{{type}}}}}
 +
| buckler
 +
| buckler shield = Buckler  [[Category:Buckler]]
 +
| full
 +
| full shield = Full shield  [[Category:Full shield]]
 +
| large
 +
| large shield = Large shield  [[Category:Buckler]]
 +
| medium
 +
| medium shield = Medium shield  [[Category:Buckler]]
 +
| target
 +
| Target shield = Target shield  [[Category:Buckler]]
 +
| Missing what ''type'' of shield [[Category:Missing type]]
 +
}}
 
|-
 
|-
! Shield type:
+
! align="right" | Stats:
 +
| {{ #if: {{{stats|}}} | {{{stats}}} | Missing ''stats'' [[Category:Missing stats]]}}
 
|-
 
|-
| {{#if: {{{type|}}} | [[:Category:{{{type}}}|{{{type}}}]]  [[Category:{{{type}}}]] | ''Not known'' <includeonly>[[Category:Missing type]]</includeonly> }}
+
!  align="right" | Weight:
 +
| {{#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]] }}
 
|-
 
|-
! Weight:
+
! align="right" | Sacvalue:
 +
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | ''Missing sacvalue'' [[Category:Missing sacvalue]]}}
 
|-
 
|-
| {{#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" | Handles:
 +
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles [[Category:Missing handles]]}}
 
|-
 
|-
! Made of:
+
! align="right" | Made of:
 +
| {{#if: {{{material|}}} | {{{material}}} | ''Missing material'' [[Category:Missing material]]}}
 
|-
 
|-
| {{#if: {{{material|}}} | {{{material}}} | ''Missing material'' <includeonly>[[Category:Missing material]]</includeonly>}}
+
!  align="right" | Size:
 +
| {{#if: {{{seze|}}} | {{{size}}} | Missing ''size'' [[Category:Missing size]]}}
 
|-
 
|-
! Quality:
+
! align="right" | Quality:
 +
| {{#if: {{{quality|}}} | {{{quality}}} | Missing ''quality'' [[Category:Missing quality]]}}
 
|-
 
|-
| {{#if: {{{quality|}}} | {{{quality}}} | ''Missing quality'' <includeonly>[[Category:Missing quality]]</includeonly>}}
+
!  align="right" | From:
 +
| {{#if: {{{from|}}} | {{{from}}} | Missing where ''from'' gained [[Category:Missing where gained]]}}
 
|-
 
|-
! Sacvalue:
+
! align="right" | Compares between:
 +
| {{#if: {{{wep1|}}} | {{{wep1}}} | ''Unknown'' [[Category:Missing weapon compares]]}} and {{#if: {{{wep2|}}} | {{{wep2}}} | ''Unknown'' }}
 
|-
 
|-
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | ''Missing sacvalue'' <includeonly>[[Category:Missing sacvalue]]</includeonly>}}
+
!  align="right"| {{#if: {{{other|}}} | Other info: }}
|-
+
| {{#if: {{{other|}}} | {{{other}}} }}
! Handles:
+
|}<analytics uacct="UA-3466433-1" ></analytics></includeonly><noinclude><nowiki>{{</nowiki> {{PAGENAME}}<br>
|-
+
<nowiki>|</nowiki> name = <br>
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles'' <includeonly>[[Category:Missing handles]]</includeonly>}}
+
<nowiki>|</nowiki> description = <br>
|-
+
<nowiki>|</nowiki> tale = <br>
! From:
+
<nowiki>|</nowiki> type = <br>
|-
+
<nowiki>|</nowiki> stats = <br>
| {{#if: {{{from|}}} | {{{from}}} | ''Missing where from gained'' <includeonly>[[Category:Missing where gained]]</includeonly>}}
+
<nowiki>|</nowiki> weight = <br>
|-
+
<nowiki>|</nowiki> kg = <br>
! Desc:
+
<nowiki>|</nowiki> sacvalue = <br>
|-
+
<nowiki>|</nowiki> handles = <br>
| {{#if: {{{desc|}}} | {{{desc}}} | ''Missing description'' <includeonly>[[Category:Missing description]]</includeonly>}} {{#if:{{{tale|}}}| <br>It contains a tale;<br>{{{tale}}}}}
+
<nowiki>|</nowiki> material = <br>
|-
+
<nowiki>|</nowiki> size = <br>
! Other info:
+
<nowiki>|</nowiki> quality = <br>
|-
+
<nowiki>|</nowiki> from = <br>
| {{#if: {{{other|}}} | {{{other}}} | ''No other important information''}}
+
<nowiki>|</nowiki> ''other'' = <br>
|}
+
<nowiki>}}</nowiki> [[Category:Template]]
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>
+
 
 +
Fields in ''italics'' are optional. Meaning if they are not used, remove them.
 +
* '''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.
 +
* '''Type''': From looking at the item "This <type> is in ______ condition."
 +
* '''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 [[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''': The value [[damogran]] shows for the item when writing inv at him.
 +
* '''Handles''': Shown by [[identify|id]] "It is called <handles>." before slots.
 +
* '''Size''': Shown by [[identify|id]] after weight after weight.
 +
* '''Material''': Shown by [[identify|id]] "made of <material>" after size and before the unaccurate sacvalue.
 +
* '''Quality''': Shown by [[identify|id]] "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
 +
* '''Other''': If any other important, use this field.</noinclude>

Revision as of 17:37, 3 July 2008

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

Fields in italics are optional. Meaning if they are not used, remove them.

  • 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.
  • Type: From looking at the item "This <type> is in ______ condition."
  • 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 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.