Changes

3,363 bytes added ,  10:11, July 11, 2007
new template rifles & handguns
{| class="infobox bordered" style="float: width:23em; right; margin: 0 0 0.5em 0.5em; text-align: left; font-size: 85%; margin-left:5px" border=0 align="right" cellpadding="2" cellspacing="0" width="250"
|-
!colspan="2" align="center" style="color: black; font-size: 120%; height: 20px; background: #C3B091 no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}'''
|-
<!----------Image---------->
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px]]|}}
{{!-}}
|-
!colspan="2" align="center" style="color: black; height: 24px; background: #C3B091 no-repeat scroll top left;"|'''Specifications'''
|-
<!---------Type---------->
{{#if:{{{type|}}} | <!--then:-->
{{!}} '''Type'''
{{!}} [[{{{type|}}}]] | <!--else-->
}}
{{!-}}
<!---------Origin---------->
{{#if:{{{origin|}}} | <!--then:-->
{{!}} '''Origin'''
{{!}} [[{{{origin|}}}]] | <!--else-->
}}
{{!-}}
<!---------Manufacturing history---------->
{{#if:{{{design|}}} | <!--then:-->
{{!}} '''Designed'''
{{!}} {{{design|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{manuf|}}} | <!--then:-->
{{!}} '''Manufactured'''
{{!}} {{{manuf|}}} | <!--else-->
}}
{{!-}}
<!---------Dimensions---------->
{{#if:{{{length|}}} | <!--then:-->
{{!}} '''Length'''
{{!}} {{{length|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{barrel|}}} | <!--then:-->
{{!}} '''Barrel length'''
{{!}} {{{barrel|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{weight|}}} | <!--then:-->
{{!}} '''Weight'''
{{!}} {{{weight|}}} | <!--else-->
}}
{{!-}}
<!---------Ammo---------->
{{#if:{{{cart|}}} | <!--then:-->
{{!}} '''Cartridge'''
{{!}} {{{cart|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{calibre|}}} | <!--then:-->
{{!}} '''Calibre'''
{{!}} {{{calibre|}}} | <!--else-->
}}
{{!-}}
<!---------Mechanism---->
{{#if:{{{action|}}} | <!--then:-->
{{!}} '''Action'''
{{!}} {{{action|}}}]| <!--else-->
}}
{{!-}}
{{#if:{{{rof|}}} | <!--then:-->
{{!}} '''Rate of fire'''
{{!}} {{{rof|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{velocity|}}} | <!--then:-->
{{!}} '''Velocity'''
{{!}} {{{velocity|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{range|}}} | <!--then:-->
{{!}} '''Effective range'''
{{!}} {{{range|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{feed|}}} | <!--then:-->
{{!}} '''Feed system'''
{{!}} {{{feed|}}} | <!--else-->
}}
{{!-}}
{{#if:{{{sights|}}} | <!--then:-->
{{!}} '''Sights'''
{{!}} {{{sights|}}} | <!--else-->
}}
{{!-}}
|}<noinclude>

{{TemplateDoc|pages=Article pages|purpose=Rifles and handguns|cat=}}
{{Parms|
{{Parm|name|Name or designation of weapon|no|Defaults to page name}}
{{Parm|image|Picture of weapon|no|Only the file name is required}}
{{Parm|type|Type eg Pistol|no|}}
{{Parm|origin|Country of origin|no|}}
{{Parm|design|Year of design|no|}}
{{Parm|manuf|Year first manufactured|no|}}
{{Parm|length|Length|no|}}
{{Parm|barrel|Barrel length|no|}}
{{Parm|weight|Weight|no|}}
{{Parm|cart|Cartridge type|no|}}
{{Parm|calibre|Cartridge calibre|no|}}
{{Parm|action|Firing action|no|}}
{{Parm|rof|Rate of fire|no|}}
{{Parm|velocity|Projectile velocity|no|}}
{{Parm|range|Effective range|no|}}
{{Parm|feed|Feed system|no|}}
{{Parm|sights|sights type|no|}}
}}

===Sample Data Block===
The following may be copied and pasted at the top of the page being edited
<pre>
<nowiki>{{</nowiki>AFV
|name=
|image=
|type=
|origin=
|year=
|length=
|barrel=
|weight=
|cart=
|calibre=
|action=
|rof=
|velocity=
|range=
|feed=
|sights=
<nowiki>}}</nowiki>
</pre>

</noinclude>
6,786

edits