Difference between revisions of "Template:Infobox Item"

From BatWiki
Jump to: navigation, search
(rearranged fields to match armour template)
m (changed to use switches and to be included to missing C's)
Line 3: Line 3:
 
! Stats:
 
! Stats:
 
|-
 
|-
| {{{stats|''Unknown'' <includeonly>[[Category:Missing stats]]</includeonly>}}}
+
| {{#if: {{{stats|}}} | {{{stats}}} | ''Missing stats'' <includeonly>[[Category:Missing stats]]</includeonly>}}
 
|-  
 
|-  
 
! Weight:
 
! Weight:
 
|-
 
|-
| {{#if: {{{weight|}}} | [[Category:{{{weight}}}]] {{{weight}}} : | ''Weight category unknown''<includeonly>[[Category:Missing weight category]]</includeonly> :}} {{#if: {{{kg|}}}| {{{kg}}} kg | ''Weight in kg's unknown'' <includeonly>[[Category:Missing weight in kg's]]</includeonly> }}
+
| {{#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> }}
 
|-  
 
|-  
 
! Made of:
 
! Made of:
 
|-
 
|-
| {{{material|''Unknown'' <includeonly>[[Category:Missing material]]</includeonly>}}}
+
| {{#if: {{{material|}}} | {{{material}}} | ''Missing material'' <includeonly>[[Category:Missing material]]</includeonly>}}
 
|-  
 
|-  
 
! Quality:
 
! Quality:
 
|-
 
|-
| {{{quality|''Unknown'' <includeonly>[[Category:Missing quality]]</includeonly>}}}
+
| {{#if: {{{quality|}}} | {{{quality}}} | ''Missing quality'' <includeonly>[[Category:Missing quality]]</includeonly>}}
 
|-  
 
|-  
 
! Sacvalue:
 
! Sacvalue:
 
|-
 
|-
| {{{sacvalue|''Unknown'' <includeonly>[[Category:Missing sacvalue]]</includeonly>}}}
+
| {{#if: {{{sacvalue|}}} | {{{sacvalue}}} | ''Missing sacvalue'' <includeonly>[[Category:Missing sacvalue]]</includeonly>}}
 
|-  
 
|-  
 
! From:
 
! From:
 
|-
 
|-
| {{{from|''Unknown'' <includeonly>[[Category:Missing where gained]]</includeonly>}}}
+
| {{#if: {{{from|}}} | {{{from}}} | ''Missing where from gained'' <includeonly>[[Category:Missing where gained]]</includeonly>}}
 
|-  
 
|-  
 
! Handles:
 
! Handles:
 
|-
 
|-
| {{{handles|''Unknown'' <includeonly>[[Category:Missing handles]]</includeonly>}}}
+
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles'' <includeonly>[[Category:Missing handles]]</includeonly>}}
 
|-
 
|-
 
! Desc:
 
! Desc:
 
|-
 
|-
| {{{desc|''No longdesc available'' <includeonly>[[Category:Missing description]]</includeonly>}}}
+
| {{#if: {{{desc|}}} | {{{desc}}} | ''Missing description'' <includeonly>[[Category:Missing description]]</includeonly>}} {{#if:{{{tale|}}}| <br>It contains a tale;<br>{{{tale}}}}}
{{#if:{{{tale|}}}| It contains a tale;
+
 
+
{{{tale}}}}}
+
 
|-  
 
|-  
 
! Other info:
 
! Other info:

Revision as of 20:36, 31 May 2008

Infobox Item
Stats:
Missing stats
Weight:
Missing weight category: Missing weight in kg's
Made of:
Missing material
Quality:
Missing quality
Sacvalue:
Missing sacvalue
From:
Missing where from gained
Handles:
Missing handles
Desc:
Missing description
Other info:
No other important information

<analytics uacct="UA-3466433-1" ></analytics>