Template:Infobox GroundVehicle: Difference between revisions

From Agropelter Archives
Jump to navigation Jump to search
Created page with "{{#cargo_declare: _table=Vehicles |Name=String |Type=String |Speed=String |Length=String |Image=String }} {{#cargo_store: _table=Vehicles |Name={{{Name|}}} |Type={{{Type|}}} |Speed={{{Speed|}}} |Length={{{Length|}}} |Image={{{Image|}}} }} {| class="infobox" style="float:right; clear:right; margin:0 0 1em 1em; width:250px; font-size:90%; border:1px solid #aaa; background-color:#f9f9f9;" |- ! colspan="2" style="text-align:center; font-size:110%; b..."
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_declare:
<includeonly>
  _table=Vehicles
{| class="infobox" style="width: 400px; border: 1px solid #aaa; background: #f9f9f9; font-size: 90%; line-height: 1.4em;"
  |Name=String
|-
  |Type=String
! colspan="2" style="text-align:center; background:{{{headercolor|#829682}}}; color:white; font-size:110%;" | {{{name|Ground Vehicle}}}
  |Speed=String
  |Length=String
  |Image=String
}}
 
{{#cargo_store:
  _table=Vehicles
  |Name={{{Name|}}}
  |Type={{{Type|}}}
  |Speed={{{Speed|}}}
  |Length={{{Length|}}}
  |Image={{{Image|}}}
}}
 
{| class="infobox" style="float:right; clear:right; margin:0 0 1em 1em; width:250px; font-size:90%; border:1px solid #aaa; background-color:#f9f9f9;"
|-
|-
! colspan="2" style="text-align:center; font-size:110%; background:#cfc;" | {{{Name|}}}
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|390px]]
|-
|-
| colspan="2" style="text-align:center;" | [[File:{{{Image|}}}|250px]]
| colspan="2" style="border-top:1px solid #aaa;" |
|-
|-
! Type
! Type
| {{{Type|}}}
| {{{type|}}}
|-
! In service
| {{{inservice|}}}
|-
! Wars
| {{{wars|}}}
|-
|-
! Speed
! colspan="2" style="text-align:center; background:{{{headercolor|#829682}}}; color:white; font-size:110%;" | Specifications
| {{{Speed|}}}
|-
! Mass
| {{{mass|}}}
|-
|-
! Length
! Length
| {{{Length|}}}
| {{{length|}}}
|-
! Width
| {{{width|}}}
|-
! Height
| {{{height|}}}
|-
! Crew
| {{{crew|}}}
|-
| colspan="2" style="border-top:1px solid #aaa;" |
|-
! Main Armament
| {{{mainarmament|}}}
|-
! Secondary Armament
| {{{secarmament|}}}
|-
! Engine
| {{{engine|}}}
|-
! Operational Range
| {{{range|}}}
|-
! Maximum Speed
| {{{maxspeed|}}}
|}
|}
</includeonly>
<noinclude>
== Usage ==
<pre>
{{Infobox GroundVehicle
| name        = LAV-25
| type        = Infantry fighting vehicle
| inservice    = 1983-present
| mass        = LAV-25: 12.80 t (14.11 short tons)
| length      = 6.39 m (21 ft 0 in)
| width        = 2.50 m (8 ft 2 in)
| height      = 2.69 m (8 ft 10 in)
| crew        = 3+6
| mainarmament = M242 Bushmaster 25 mm chain gun with 210 rounds of ammunition
| secarmament  = Two M240 7.62 mm machine guns with 660 rounds of ammunition, one mounted co-axially and one pintle-mounted on the roof
| engine      = Detroit Diesel 6V53T 300hp
| range        = 660 km (410 mi)
| maxspeed    = 100 km/h (62 mph) on road
}}
</pre>
<templatedata>
{
  "description": "Infobox for ground vehicles (tanks, APCs, IFVs, etc.).",
  "params": {
    "name": {
      "label": "Name",
      "description": "The vehicle's name/designation",
      "type": "string",
      "required": true
    },
    "image": {
      "label": "Image",
      "description": "File name of an image (without 'File:' prefix)",
      "type": "string"
    },
    "type": {
      "label": "Type",
      "description": "Vehicle type/role",
      "type": "string"
    },
    "inservice": {
      "label": "In service",
      "description": "Years or period of service",
      "type": "string"
    },
    "wars": {
      "label": "Wars",
      "description": "Wars/conflicts the vehicle was used in",
      "type": "string"
    },
    "mass": {
      "label": "Mass",
      "description": "Weight/mass of the vehicle",
      "type": "string"
    },
    "length": {
      "label": "Length",
      "description": "Vehicle length",
      "type": "string"
    },
    "width": {
      "label": "Width",
      "description": "Vehicle width",
      "type": "string"
    },
    "height": {
      "label": "Height",
      "description": "Vehicle height",
      "type": "string"
    },
    "crew": {
      "label": "Crew",
      "description": "Number of crew/passengers",
      "type": "string"
    },
    "mainarmament": {
      "label": "Main armament",
      "description": "Primary weapon system",
      "type": "string"
    },
    "secarmament": {
      "label": "Secondary armament",
      "description": "Secondary weapon(s)",
      "type": "string"
    },
    "engine": {
      "label": "Engine",
      "description": "Engine type/specs",
      "type": "string"
    },
    "range": {
      "label": "Operational range",
      "description": "Range in km/mi",
      "type": "string"
    },
    "maxspeed": {
      "label": "Maximum speed",
      "description": "Top speed on road",
      "type": "string"
    }
  }
}
</templatedata>
</noinclude>

Latest revision as of 23:16, 20 October 2026




Usage

{{Infobox GroundVehicle
| name         = LAV-25
| type         = Infantry fighting vehicle
| inservice    = 1983-present
| mass         = LAV-25: 12.80 t (14.11 short tons)
| length       = 6.39 m (21 ft 0 in)
| width        = 2.50 m (8 ft 2 in)
| height       = 2.69 m (8 ft 10 in)
| crew         = 3+6
| mainarmament = M242 Bushmaster 25 mm chain gun with 210 rounds of ammunition
| secarmament  = Two M240 7.62 mm machine guns with 660 rounds of ammunition, one mounted co-axially and one pintle-mounted on the roof
| engine       = Detroit Diesel 6V53T 300hp
| range        = 660 km (410 mi)
| maxspeed     = 100 km/h (62 mph) on road
}}

Infobox for ground vehicles (tanks, APCs, IFVs, etc.).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

The vehicle's name/designation

Stringrequired
Imageimage

File name of an image (without 'File:' prefix)

Stringoptional
Typetype

Vehicle type/role

Stringoptional
In serviceinservice

Years or period of service

Stringoptional
Warswars

Wars/conflicts the vehicle was used in

Stringoptional
Massmass

Weight/mass of the vehicle

Stringoptional
Lengthlength

Vehicle length

Stringoptional
Widthwidth

Vehicle width

Stringoptional
Heightheight

Vehicle height

Stringoptional
Crewcrew

Number of crew/passengers

Stringoptional
Main armamentmainarmament

Primary weapon system

Stringoptional
Secondary armamentsecarmament

Secondary weapon(s)

Stringoptional
Engineengine

Engine type/specs

Stringoptional
Operational rangerange

Range in km/mi

Stringoptional
Maximum speedmaxspeed

Top speed on road

Stringoptional