Difference between revisions of "Template:AFV"
Jump to navigation
Jump to search
(new AFV template) |
m (Protected "Template:AFV" [edit=sysop:move=sysop] [cascading]) |
||
| (12 intermediate revisions by 5 users not shown) | |||
| Line 4: | Line 4: | ||
|- | |- | ||
<!----------Image----------> | <!----------Image----------> | ||
| − | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}| | + | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px]]|}} |
{{!-}} | {{!-}} | ||
|- | |- | ||
| + | {{#if:{{{caption|}}}| | ||
| + | {{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:center;" {{!}} {{{caption}}} | ||
| + | {{!}}- | ||
| + | }} | ||
!colspan="2" align="center" style="color: black; height: 24px; background: #4F7942 no-repeat scroll top left;"|'''Specifications''' | !colspan="2" align="center" style="color: black; height: 24px; background: #4F7942 no-repeat scroll top left;"|'''Specifications''' | ||
|- | |- | ||
| Line 62: | Line 66: | ||
{{#if:{{{maxarmor|}}} | <!--then:--> | {{#if:{{{maxarmor|}}} | <!--then:--> | ||
{{!}} '''Max. thickness''' | {{!}} '''Max. thickness''' | ||
| − | {{!}} {{{maxarmor|}}} | + | {{!}} {{{maxarmor|}}}| <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 69: | Line 73: | ||
{{!}} '''Primary amament''' | {{!}} '''Primary amament''' | ||
{{!}} {{{primary|}}} | <!--else--> | {{!}} {{{primary|}}} | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | {{#if:{{{wpnrange|}}} | <!--then:--> | ||
| + | {{!}} '''Range of main armament''' | ||
| + | {{!}} {{{wpnrange|}}} | <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 74: | Line 83: | ||
{{!}} '''Secondary armament''' | {{!}} '''Secondary armament''' | ||
{{!}} {{{secondary|}}} | <!--else--> | {{!}} {{{secondary|}}} | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | {{#if:{{{action|}}} | <!--then:--> | ||
| + | {{!}} '''Time to action''' | ||
| + | {{!}} {{{action|}}} | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | {{#if:{{{ammo|}}} | <!--then:--> | ||
| + | {{!}} '''Ammunition types''' | ||
| + | {{!}} {{{ammo|}}} | <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 114: | Line 133: | ||
{{!}} '''Power/weight''' | {{!}} '''Power/weight''' | ||
{{!}} {{{ptw|}}} | <!--else--> | {{!}} {{{ptw|}}} | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | {{#if:{{{trans|}}} | <!--then:--> | ||
| + | {{!}} '''Transmission''' | ||
| + | {{!}} {{{trans|}}} | <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 122: | Line 146: | ||
{{Parm|name|Name or designation of AFV|no|Defaults to page name}} | {{Parm|name|Name or designation of AFV|no|Defaults to page name}} | ||
{{Parm|image|Picture of AFV|no|only the file name is required}} | {{Parm|image|Picture of AFV|no|only the file name is required}} | ||
| + | {{Parm|caption|Image caption|no|}} | ||
{{Parm|type|Type eg Main Battle Tank|no|}} | {{Parm|type|Type eg Main Battle Tank|no|}} | ||
{{Parm|origin|Country of origin|no|}} | {{Parm|origin|Country of origin|no|}} | ||
| Line 133: | Line 158: | ||
{{Parm|maxarmor|Max thickness of armor|no|}} | {{Parm|maxarmor|Max thickness of armor|no|}} | ||
{{Parm|primary|Primary armament|no|}} | {{Parm|primary|Primary armament|no|}} | ||
| + | {{Parm|wpnrange|Range of primary weapon|no|}} | ||
{{Parm|secondary|Secondary armament|no|}} | {{Parm|secondary|Secondary armament|no|}} | ||
| + | {{Parm|action|Time to action|no|}} | ||
| + | {{Parm|ammo|Ammunition types|no|}} | ||
{{Parm|suspension|Suspension type|no|eg Torsion bar}} | {{Parm|suspension|Suspension type|no|eg Torsion bar}} | ||
{{Parm|road|Max road speed|no|}} | {{Parm|road|Max road speed|no|}} | ||
| Line 141: | Line 169: | ||
{{Parm|power|Power output|no|hp or kW}} | {{Parm|power|Power output|no|hp or kW}} | ||
{{Parm|ptw|Power/weight ratio|no|}} | {{Parm|ptw|Power/weight ratio|no|}} | ||
| + | {{Parm|trans|Transmission type|no}} | ||
}} | }} | ||
| Line 149: | Line 178: | ||
|name= | |name= | ||
|image= | |image= | ||
| + | |caption= | ||
|type= | |type= | ||
|origin= | |origin= | ||
| Line 160: | Line 190: | ||
|maxarmor= | |maxarmor= | ||
|primary= | |primary= | ||
| + | |wpnrange= | ||
|secondary= | |secondary= | ||
| + | |action= | ||
| + | |ammo= | ||
|suspension= | |suspension= | ||
|road= | |road= | ||
| Line 168: | Line 201: | ||
|power= | |power= | ||
|ptw= | |ptw= | ||
| + | |trans= | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
</pre> | </pre> | ||
| + | [[Category:Navigation box]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 00:16, February 17, 2009
| AFV | |
|---|---|
| Specifications |
| Template: AFV | |
|---|---|
| Use on | Article pages |
| Use for | Armored Fighting Vehicles |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | Name or designation of AFV | no | Defaults to page name |
| image | Picture of AFV | no | only the file name is required |
| caption | Image caption | no | |
| type | Type eg Main Battle Tank | no | |
| origin | Country of origin | no | |
| year | Year first entered production | no | |
| length | Length | no | |
| width | Width | no | |
| height | Height | no | |
| weight | Weight | no | |
| crew | Crew | no | If APC, eg 3+12 |
| armor | armor type | no | eg Chobham |
| maxarmor | Max thickness of armor | no | |
| primary | Primary armament | no | |
| wpnrange | Range of primary weapon | no | |
| secondary | Secondary armament | no | |
| action | Time to action | no | |
| ammo | Ammunition types | no | |
| suspension | Suspension type | no | eg Torsion bar |
| road | Max road speed | no | |
| offroad | Max off-road speed | no | |
| range | Max operational range | no | |
| engine | Engine type | no | eg 12 cyl. diesel |
| power | Power output | no | hp or kW |
| ptw | Power/weight ratio | no | |
| trans | Transmission type | no | |
Sample Data Block
The following may be copied and pasted at the top of the page being edited
{{AFV
|name=
|image=
|caption=
|type=
|origin=
|year=
|length=
|width=
|height=
|weight=
|crew=
|armor=
|maxarmor=
|primary=
|wpnrange=
|secondary=
|action=
|ammo=
|suspension=
|road=
|offroad=
|range=
|engine=
|power=
|ptw=
|trans=
}}