Difference between revisions of "Template:Infobox Armour"

From BatWiki
Jump to: navigation, search
m
m (fixed the problem about using empty fields not creating missing categorys)
Line 4: Line 4:
 
! Stats:
 
! Stats:
 
|-
 
|-
| {{{stats|''Unknown'' <includeonly>[[Category:Missing stats]]</includeonly>}}}
+
| {{#if: {{{stats|}}} | {{{stats}}} | ''Missing stats'' <includeonly>[[Category:Missing stats]]</includeonly>}}
 
|-  
 
|-  
 
! Slot:
 
! Slot:
Line 126: Line 126:
 
! 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 from 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:
 
|-
 
|-
| {{{other|''No other important information''}}}
+
| {{#if: {{{other|}}} | {{{other}}} | ''No other important information''}}
 
|-  
 
|-  
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
|}
 
|}
 
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>
 
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>

Revision as of 15:40, 27 May 2008

Infobox Armour
Stats:
Missing stats
Slot:
Missing type/slot
Armour type:
Missing type
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>