Difference between revisions of "Template:Infobox Gun"

From AHWiki
Jump to: navigation, search
(New page: {| align="right" style="border:1px solid #B5BFA7;margin-left:1em;background-color:#E9EFE0;font-size:0.9em;" {{!}}- {{!}} colspan="2" style="text-align:center;background-color:#9BC07F;font-...)
 
 
(11 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}}}'''
Line 9: Line 9:
 
}}
 
}}
 
{{#if:{{{type|<noinclude>-</noinclude>}}}|
 
{{#if:{{{type|<noinclude>-</noinclude>}}}|
−
! style="text-align:right;" valign="top" {{!}} Type  
+
! style="text-align:left;" valign="top" {{!}} Type  
 
{{!}} {{{type}}}
 
{{!}} {{{type}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{cartridge|<noinclude>-</noinclude>}}}|
 
{{#if:{{{cartridge|<noinclude>-</noinclude>}}}|
−
! style="text-align:right;" valign="top" {{!}} Cartridge
+
! style="text-align:left;" valign="top" {{!}} Cartridge
 
{{!}} {{{cartridge}}}
 
{{!}} {{{cartridge}}}
 
{{!}}-
 
{{!}}-
Line 20: Line 20:
 
{{!}}-
 
{{!}}-
 
{{#if:{{{country|<noinclude>-</noinclude>}}}|
 
{{#if:{{{country|<noinclude>-</noinclude>}}}|
−
! style="text-align:right;" valign="top" {{!}} Country of origin
+
! style="text-align:left;" valign="top" {{!}} Country of Origin
 
{{!}} {{{country}}}
 
{{!}} {{{country}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{manufacturer|<noinclude>-</noinclude>}}}|
 
{{#if:{{{manufacturer|<noinclude>-</noinclude>}}}|
−
! style="text-align:right" valign="top" {{!}} Manufacturer
+
! style="text-align:left" valign="top" {{!}} Manufacturer
 
{{!}} {{{manufacturer}}}
 
{{!}} {{{manufacturer}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
−
{{#if:{{{wingspan|<noinclude>-</noinclude>}}}|
+
{{#if:{{{weight|<noinclude>-</noinclude>}}}|
−
! style="text-align:right" valign="top" {{!}} Specifications
+
! style="text-align:left" valign="top" {{!}} Weight
−
{{!}} {{#if:{{{weight|<noinclude>-</noinclude>}}}|Weight {{{weight}}}<br/>}}{{#if:{{{length|<noinclude>-
+
{{!}} {{{weight}}}
−
</noinclude>}}}|Length {{{length}}}<br/>}}{{#if:{{{barrellength|<noinclude>-
+
{{!}}-
−
</noinclude>}}}|Barrel Length {{{barrellength}}}}}
+
}}
 +
{{#if:{{{length|<noinclude>-</noinclude>}}}|
 +
! style="text-align:left" valign="top" {{!}} Overall Length
 +
{{!}} {{{length}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{barrellength|<noinclude>-</noinclude>}}}|
 +
! style="text-align:left" valign="top" {{!}} Barrel Length
 +
{{!}} {{{barrellength}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if:{{{rateoffire|<noinclude>-</noinclude>}}}|
 
{{#if:{{{rateoffire|<noinclude>-</noinclude>}}}|
−
! style="text-align:right" valign="top" {{!}} Rate of Fire
+
! style="text-align:left" valign="top" {{!}} Rate of Fire
 
{{!}} {{{rateoffire}}}
 
{{!}} {{{rateoffire}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{muzzlevelocity|<noinclude>-</noinclude>}}}|
 +
! style="text-align:left" valign="top" {{!}} Muzzle Velocity
 +
{{!}} {{{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.