Difference between revisions of "Template:Weapon"

1,582 bytes added ,  17:04, 22 January 2019
Added Templatedata
(Move title to css)
(Added Templatedata)
 
(One intermediate revision by one other user not shown)
Line 29: Line 29:
| {{#ifeq: {{{WeaponIllegal}}} | 1 | Illegal | Legal}}
| {{#ifeq: {{{WeaponIllegal}}} | 1 | Illegal | Legal}}
|}
|}
</div>
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
[[Category:Weapon Templates]]
[[Category:Weapon Templates]]
<templatedata>
{
"params": {
"Image": {
"label": "Image Filename - Make sure its uploaded!",
"example": "mk1.png",
"type": "wiki-file-name",
"required": true
},
"WepType": {
"label": "Type of Weapon",
"description": "Weapon type (I.e. Pistol, Rifle etc)",
"example": "Pistol, Rifle",
"type": "string"
},
"LicenseType": {
"label": "Licence Type required to buy weapon",
"description": "Licences include Handgun, Rebel, Advanced Rebel",
"example": "Handgun, Rebel, Advanced Rebel",
"type": "string",
"required": true
},
"BuyPrice": {
"label": "Cost to buy Weapon",
"description": "Total buy price at full price.",
"example": "100,000",
"type": "number",
"required": true
},
"BulletCaliber": {
"label": "Bullet Calliber",
"description": "Bullet Calibre accepted",
"example": "5.56, 6.5, 7.2",
"type": "string",
"required": true
},
"FireModes": {
"label": "Fire Modes",
"description": "Available Fire Modes",
"example": "Single Shot, Burst Fire, Full Auto",
"type": "string",
"required": true
},
"ROF": {
"label": "Rate of Fire",
"description": "Max Rate of Fire",
"example": "700",
"type": "number",
"required": true
},
"Storage": {
"label": "Storage Locations on person",
"description": "Where can you store this weapon?",
"example": "Uniform, Vest, Backpack",
"type": "string",
"required": true
},
"WeaponIllegal": {
"label": "Legal Status",
"description": "Is this weapon legal or not?",
"type": "boolean"
}
}
}
</templatedata>
</noinclude>
</noinclude>
563

edits