Template:IRRWeapon: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (13 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<infobox> | <infobox> | ||
<title source=" | <title source="title"> | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
</title> | </title> | ||
<image source=" | <image source="image"></image> | ||
<group> | <group> | ||
<header source="in-game_information">In-Game Information</header> | <header source="in-game_information">In-Game Information</header> | ||
| Line 14: | Line 12: | ||
<data source="caliber"> | <data source="caliber"> | ||
<label>Caliber</label> | <label>Caliber</label> | ||
</data> | |||
<data source="weight"> | |||
<label>Weight</label> | |||
<format> {{{weight}}} kg</format> | |||
</data> | </data> | ||
<data source="cost"> | <data source="cost"> | ||
<label>Cost</label> | <label>Cost</label> | ||
<format>{{{cost}}} $</format> | |||
</data> | </data> | ||
<data source=" | <data source="reputation_requirement"> | ||
<label>Reputation</label> | <label>Reputation Requirement</label> | ||
</data> | </data> | ||
<data source=" | <data source="fire_modes"> | ||
<label> | <label>Fire Modes</label> | ||
</data> | </data> | ||
<data source=" | <data source="fire_rate"> | ||
<label> | <label>Rate of Fire</label> | ||
</data> | </data> | ||
<data source=" | </group> | ||
<label> | <group> | ||
<header>Internal stats</header> | |||
<data source="vendor_name"> | |||
<label>Spawn Code</label> | |||
</data> | </data> | ||
<data source=" | <data source="gameplay_tag"> | ||
<label> | <label>Shop Category</label> | ||
</data> | </data> | ||
</group> | </group> | ||
</infobox> | </infobox> | ||
{{#cargo_store:_table=TableWeapons | |||
|image={{{image|}}} | |||
|category={{{category|}}} | |||
|caliber={{{caliber|}}} | |||
|cost={{{cost|}}} | |||
|reputation_requirement={{{reputation_requirement|}}} | |||
|fire_modes={{{fire_modes|}}} | |||
|fire_rate={{{fire_rate|}}} | |||
|weight={{{weight|}}} | |||
|vendor_name={{{vendor_name|}}} | |||
|gameplay_tag={{{gameplay_tag|}}} | |||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=TableWeapons | |||
|image=File | |||
|category=String | |||
|caliber=String | |||
|cost=Integer | |||
|weight=Float | |||
|reputation_requirement=String | |||
|fire_modes=String | |||
|fire_rate=String | |||
|vendor_name=String | |||
|gameplay_tag=String | |||
}} | |||
{{IRRWeapon | {{IRRWeapon | ||
| | | title = test gun | ||
| | | image = test.png | ||
| caption- | | caption-image = test caption | ||
| | | caliber = 123.45mm | ||
| | | cost = 179 | ||
| | | reputation_requirement = IGC Lvl 2 | ||
| | | fire_modes = Semi-Auto, Full-Auto | ||
| fire_rate = 67 | |||
| weight = 12 | |||
| caliber = 69x420 | |||
| gameplay_tag = test.tag | |||
| vendor_name = test_name | |||
}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "title": { | ||
"suggested": true | |||
}, | |||
"image": { | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "cost": { | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "category": { | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "caliber": { | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "reputation_requirement": { | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "fire_modes": { | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "fire_rate": { | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"vendor_name": { | |||
"suggested": true | "suggested": true | ||
}, | }, | ||
"gameplay_tag": { | |||
"suggested": true | "suggested": true | ||
} | } | ||
| Line 89: | Line 119: | ||
"sets": [], | "sets": [], | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "title", | ||
" | "image", | ||
" | "category", | ||
" | "caliber", | ||
" | "cost", | ||
" | "reputation_requirement", | ||
" | "fire_modes", | ||
" | "fire_rate", | ||
"vendor_name", | |||
] | "gameplay_tag" | ||
], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:02, 25 October 2026
This template defines the table "TableWeapons". View table.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | Unknown | suggested |
| image | image | no description | Unknown | suggested |
| category | category | no description | Unknown | suggested |
| caliber | caliber | no description | Unknown | suggested |
| cost | cost | no description | Unknown | suggested |
| reputation_requirement | reputation_requirement | no description | Unknown | suggested |
| fire_modes | fire_modes | no description | Unknown | suggested |
| fire_rate | fire_rate | no description | Unknown | suggested |
| vendor_name | vendor_name | no description | Unknown | suggested |
| gameplay_tag | gameplay_tag | no description | Unknown | suggested |