Difference between revisions of "Template:Infobox Weapon"

From BatWiki
Jump to: navigation, search
m (cleaning up the code a bit)
Line 1: Line 1:
 
{| class="infobox bordered" style="width: 35em; text-align: left; font-size: 95%;"
 
{| class="infobox bordered" style="width: 35em; text-align: left; font-size: 95%;"
|+ style="font-size: larger;" | '''{{{name}}}'''
+
|+ style="font-size: larger;" | '''{{{name|{{PAGENAME}}}}}'''
 
! Stats:
 
! Stats:
 
|-  
 
|-  
Line 7: Line 7:
 
! Weapon type:
 
! Weapon type:
 
|-  
 
|-  
| {{#if: {{{type|}}}|[[:Category:{{{type}}}|{{{type}}}]]|''Not known''}}
+
| {{ #if: {{{type|}}} | [[:Category:{{{type}}}|{{{type}}}]]  [[Category:{{{type}}}]] | ''Not known'' }}
 
|-  
 
|-  
 
! Weight:
 
! Weight:
 
|-  
 
|-  
| {{{weight|}}}{{ #ifeq:{{{weight|}}}|{{{kg|}}}||: }}{{#if: {{{kg|}}}|{{{kg|}}} kg}}{{ #ifeq:{{{weight|}}}|{{{kg|}}}|''Unknown''}}
+
| {{#if: {{{weight|}}}| [[Category:{{{weight}}}]] {{{weight}}} : }} {{#if: {{{kg|}}}| {{{kg}}} kg|''Unknown''}} {{ #ifeq:{{{weight|}}}|{{{kg|}}}|''Unknown''}}
 
|-  
 
|-  
 
! Made of:
 
! Made of:
Line 47: Line 47:
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
|}
 
|}
[[Category:Weapon]]{{#if: {{{type|}}}| [[Category:{{{type}}}]]}}{{#if: {{{weight|}}}| [[Category:{{{weight}}}]]}}
+
[[Category:Weapon]]
 
<analytics uacct="UA-3466433-1" ></analytics>
 
<analytics uacct="UA-3466433-1" ></analytics>

Revision as of 02:09, 19 February 2008

Infobox Weapon
Stats:
Unknown
Weapon type:
Not known
Weight:
Unknown Unknown
Made of:
Unknown
Quality:
Unknown
Sacvalue:
Unknown
Handles:
Unknown
From:
Unknown
Compares between:
Unknown and Unknown
Desc:
Unknown
Other info:
No other important information

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