Difference between revisions of "Template:Vehicle"

Jump to navigation Jump to search
227 bytes added ,  21:26, 15 January 2019
Add primary weapon to vehicle template
m (Remove floating tag)
(Add primary weapon to vehicle template)
Line 23: Line 23:
| '''Legal Status:'''
| '''Legal Status:'''
| {{#ifeq: {{{VehicleIllegal}}} | 1 | Illegal | Legal}}
| {{#ifeq: {{{VehicleIllegal}}} | 1 | Illegal | Legal}}
|- {{#if: {{{WeaponPrimary|}}} | | style="display: none;" }}
| '''Weapon:'''
| {{{WeaponPrimary}}}
|-
|-
| '''Trunk Space:'''
| '''Trunk Space:'''
Line 150: Line 153:
"required": true,
"required": true,
"description": "Indicates if the vehicle is illegal or not.  Set False for Legal and True for Illegal"
"description": "Indicates if the vehicle is illegal or not.  Set False for Legal and True for Illegal"
},
"WeaponPrimary": {
"description": "Name of the primary vehicle mounted weapon.",
"type": "line"
}
}
},
},
Line 168: Line 175:
"Seats",
"Seats",
"ArmourRating",
"ArmourRating",
"ClassName"
"ClassName",
"WeaponPrimary"
],
],
"format": "block"
"format": "block"

Navigation menu