Difference between revisions of "Template:Infobox Gun"

From AHWiki
Jump to: navigation, search
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
−
{| align="right" style="border:1px solid #B5BFA7;margin-left:1em;background-color:#E9EFE0;font-size:0.9em;"
+
{| width="260px" style="float:right;clear:right;border:1px solid #B5BFA7;margin:0 0 1em 1em;background-color:#E9EFE0;font-size:0.9em;"
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;background-color:#9BC07F;font-size:1.2em;" {{!}} '''{{{name}}}'''
 
{{!}} colspan="2" style="text-align:center;background-color:#9BC07F;font-size:1.2em;" {{!}} '''{{{name}}}'''
 
{{!}}-
 
{{!}}-
−
 
+
{{#if: {{{image|<noinclude>-</noinclude>}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image}}}|225px|{{{name}}}]]
 +
{{{caption<includeonly>|</includeonly>}}}
 +
{{!}}-
 +
}}
 
{{#if:{{{type|<noinclude>-</noinclude>}}}|
 
{{#if:{{{type|<noinclude>-</noinclude>}}}|
 
! style="text-align:left;" valign="top" {{!}} Type  
 
! style="text-align:left;" valign="top" {{!}} Type  
Line 16: Line 20:
 
{{!}}-
 
{{!}}-
 
{{#if:{{{country|<noinclude>-</noinclude>}}}|
 
{{#if:{{{country|<noinclude>-</noinclude>}}}|
−
! style="text-align:left;" valign="top" {{!}} Country of origin
+
! style="text-align:left;" valign="top" {{!}} Country of Origin
 
{{!}} {{{country}}}
 
{{!}} {{{country}}}
 
{{!}}-
 
{{!}}-
Line 48: Line 52:
 
! style="text-align:left" valign="top" {{!}} Muzzle Velocity
 
! style="text-align:left" valign="top" {{!}} Muzzle Velocity
 
{{!}} {{{muzzlevelocity}}}
 
{{!}} {{{muzzlevelocity}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{damagevalue|<noinclude>-</noinclude>}}}|
 +
! style="text-align:left" valign="top" {{!}} [[AH Damage Value]]
 +
{{!}} {{{damagevalue}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}

Latest revision as of 23:42, 13 November 2008

{{{name}}}
[[Image:{{{image}}}|225px|{{{name}}}]]

{{{caption}}}

Type {{{type}}}
Cartridge {{{cartridge}}}
Country of Origin {{{country}}}
Manufacturer {{{manufacturer}}}
Weight {{{weight}}}
Overall Length {{{length}}}
Barrel Length {{{barrellength}}}
Rate of Fire {{{rateoffire}}}
Muzzle Velocity {{{muzzlevelocity}}}
AH Damage Value {{{damagevalue}}}
how to edit

For the moment you'll need to go to the documentation subpage to see the doc for this template.