Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
(Unify Template Style) |
(Added Templatedata) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" | {| class="infobox" | ||
|+ | |+ class="infobox-title"|{{PAGENAME}} | ||
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|200px]] | |colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|200px]] | ||
|- | |- | ||
Line 30: | Line 29: | ||
| {{#ifeq: {{{WeaponIllegal}}} | 1 | Illegal | Legal}} | | {{#ifeq: {{{WeaponIllegal}}} | 1 | Illegal | Legal}} | ||
|} | |} | ||
<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> |
Latest revision as of 16:04, 22 January 2019
[[File:{{{Image}}}|center|top|class=infobox-image|200px]] | |
Type: | [[{{{WepType}}}]] |
License Required: | {{{LicenseType}}} |
Buy Price: | £{{{BuyPrice}}} |
Weapon Stats | |
---|---|
Bullet Caliber: | {{{BulletCaliber}}} |
Fire Modes: | {{{FireModes}}} |
Rate of Fire: | {{{ROF}}} |
Storage: | {{{Storage}}} |
Legal Status | Legal |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image Filename - Make sure its uploaded! | Image | no description
| File | required |
Type of Weapon | WepType | Weapon type (I.e. Pistol, Rifle etc)
| String | optional |
Licence Type required to buy weapon | LicenseType | Licences include Handgun, Rebel, Advanced Rebel
| String | required |
Cost to buy Weapon | BuyPrice | Total buy price at full price.
| Number | required |
Bullet Calliber | BulletCaliber | Bullet Calibre accepted
| String | required |
Fire Modes | FireModes | Available Fire Modes
| String | required |
Rate of Fire | ROF | Max Rate of Fire
| Number | required |
Storage Locations on person | Storage | Where can you store this weapon?
| String | required |
Legal Status | WeaponIllegal | Is this weapon legal or not? | Boolean | optional |