Difference between revisions of "Template:Infobox Shield"

From BatWiki
Jump to: navigation, search
m (+C:Template)
m (updated the template to show right info for empty fields)
Line 3: Line 3:
 
! Stats:
 
! Stats:
 
|-
 
|-
| {{{stats|''Unknown'' <includeonly>[[Category:Missing stats]]</includeonly>}}}
+
| {{#if: {{{stats|}}} | {{{stats}}} | ''Missing stats'' <includeonly>[[Category:Missing stats]]</includeonly>}}
 
|-
 
|-
 
! Shield type:
 
! Shield type:
Line 11: Line 11:
 
! 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>}}
 
|-
 
|-
 
! Handles:
 
! Handles:
 
|-
 
|-
| {{{handles|''Unknown'' <includeonly>[[Category:Missing handles]]</includeonly>}}}
+
| {{#if: {{{handles|}}} | {{{handles}}} | ''Missing handles'' <includeonly>[[Category:Missing handles]]</includeonly>}}
 
|-  
 
|-  
 
! From:
 
! From:
 
|-
 
|-
| {{{from|''Unknown'' <includeonly>[[Category:Missing where gained]]</includeonly>}}}
+
| {{#if: {{{from|}}} | {{{from}}} | ''Missing where from gained'' <includeonly>[[Category:Missing where gained]]</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|}}}
+
 
|}
 
|}
 
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>
 
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>

Revision as of 22:26, 9 June 2008

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

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