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 (clean up, Replaced: UA-3466433-1 → UA-3466433-3, using AWB)
 
(13 intermediate revisions by one other user 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:Shield]]</includeonly>
+
{| class="infobox" cellspacing="3"
! Stats:
+
|+ {{{name|}}}  [[Category:Shield]]
 +
!  align="right" | 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" | 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:Large shield]]
 +
| medium
 +
| medium shield = Medium shield  [[Category:Medium shield]]
 +
| target
 +
| target shield = Target shield  [[Category:Target shield]]
 +
| Missing what ''type'' of shield [[Category:Missing type]]
 +
}}
 +
|-
 +
!  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]]}}
 
|-
 
|-
| {{#if: {{{stats|}}} | {{{stats}}} | ''Missing stats'' <includeonly>[[Category:Missing stats]]</includeonly>}}
+
!  align="right" | Made of:
 +
| {{#if: {{{material|}}} | {{{material}}} | ''Missing material'' [[Category:Missing material]]}}
 
|-
 
|-
! Shield type:
+
! align="right" | Size:
 +
| {{#if: {{{size|}}} | {{{size}}} | Missing ''size'' [[Category:Missing size]]}}
 
|-
 
|-
| {{#if: {{{type|}}} | [[:Category:{{{type}}}|{{{type}}}]]  [[Category:{{{type}}}]] | ''Not known'' <includeonly>[[Category:Missing type]]</includeonly> }}
+
!  align="right" | Quality:
 +
| {{#if: {{{quality|}}} | {{{quality}}} | Missing ''quality'' [[Category:Missing quality]]}}
 
|-
 
|-
! Weight:
+
! align="right" | From:
 +
| {{#if: {{{from|}}} | {{{from}}} | Missing where ''from'' gained [[Category:Missing where gained]]}}
 
|-
 
|-
| {{#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"| {{#if: {{{other|}}} | Other info: }}
 +
| {{#if: {{{other|}}} | {{{other}}} }}
 +
|}<analytics uacct="UA-3466433-3" ></analytics></includeonly><noinclude>Template for [[shield]]s.
 +
== Copy & Paste ==
 +
<nowiki>{{</nowiki> {{PAGENAME}}<br>
 +
<nowiki>|</nowiki> name =&nbsp;<br>
 +
<nowiki>|</nowiki> description =&nbsp;<br>
 +
<nowiki>|</nowiki> ''tale'' =&nbsp;<br>
 +
<nowiki>|</nowiki> type =&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.
 
|-
 
|-
! Made of:
+
| align="right" | '''name''' ||:
 +
| Items long desc including all auras/glows.
 
|-
 
|-
| {{#if: {{{material|}}} | {{{material}}} | ''Missing material'' <includeonly>[[Category:Missing material]]</includeonly>}}
+
| align="right" | '''description'''||:
 +
| Fill with all what you see when looking at it before any auras/glows or type.
 
|-
 
|-
! Quality:
+
| align="right" | '''tale'''||:
 +
| If the item has tale, insert it in this field.
 
|-
 
|-
| {{#if: {{{quality|}}} | {{{quality}}} | ''Missing quality'' <includeonly>[[Category:Missing quality]]</includeonly>}}
+
| align="right" | '''type'''||:
 +
| From looking at the item "This <type> is in ______ condition."
 
|-
 
|-
! Sacvalue:
+
| align="right" | '''stats'''||:
 +
| Items (magical) properties.
 
|-
 
|-
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | ''Missing sacvalue'' <includeonly>[[Category:Missing sacvalue]]</includeonly>}}
+
| align="right" | '''weight'''||:
 +
| From looking at the item "It looks <weight>."
 
|-
 
|-
! Handles:
+
| 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.
 
|-
 
|-
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles'' <includeonly>[[Category:Missing handles]]</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.
 
|-
 
|-
! Desc:
+
| align="right" | '''size'''||:
 +
| Shown by [[identify|id]] after idweight before material.
 
|-
 
|-
| {{#if: {{{desc|}}} | {{{desc}}} | ''Missing description'' <includeonly>[[Category:Missing description]]</includeonly>}} {{#if:{{{tale|}}}| <br>It contains a tale;<br>{{{tale}}}}}
+
| align="right" | '''material'''||:
 +
| Shown by [[identify|id]] "made of <material>" after size and before the unaccurate sacvalue.
 
|-
 
|-
! Other info:
+
| align="right" | '''quality'''||:
 +
| Shown by [[identify|id]] "and of <quality> quality." after unaccurate sacvalue and before weapon skill.
 
|-
 
|-
| {{#if: {{{other|}}} | {{{other}}} | ''No other important information''}}
+
| align="right" | '''other'''||:
 +
| If any other important, use this field.
 
|}
 
|}
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>
+
[[Category:Template]]</noinclude>

Latest revision as of 13:01, 23 June 2009

Template for shields.

Copy & Paste

{{ Infobox Shield
| name = 
| description = 
| tale
| type = 
| 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, insert it in 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 idweight before material.
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.