Template:IRRAmmunition: Difference between revisions
Template page
More actions
m 1 revision imported |
No edit summary |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
</image> | </image> | ||
<group> | <group> | ||
<header | <header>Terminal Effectiveness</header> | ||
<data source="damage"> | <data source="damage"> | ||
<label>Damage</label> | <label>Damage</label> | ||
| Line 17: | Line 17: | ||
<data source="chance_to_wound"> | <data source="chance_to_wound"> | ||
<label>Chance to Wound</label> | <label>Chance to Wound</label> | ||
<format>{{{chance_to_wound}}}%</format> | |||
</data> | </data> | ||
<data source="piercing"> | <data source="piercing"> | ||
| Line 23: | Line 24: | ||
</group> | </group> | ||
<group> | <group> | ||
<header | <header>Logistics</header> | ||
<data source="stack_size"> | <data source="stack_size"> | ||
<label>Stack Size</label> | <label>Stack Size</label> | ||
| Line 29: | Line 30: | ||
<data source="cost"> | <data source="cost"> | ||
<label>Cost</label> | <label>Cost</label> | ||
<format>Single: {{{cost}}} ${{#if:{{{cost|}}}|<br />Stack: {{#expr: {{{cost}}} * {{{stack_size}}} round 2 }} $}}</format> | |||
</data> | </data> | ||
<data source="weight"> | |||
<label>Weight</label> | <label>Weight</label> | ||
<format>Single: {{{weight}}} kg{{#if:{{{stack_size|}}}|<br />Stack: {{#expr: {{{weight}}} * {{{stack_size}}} round 2 }} kg}}</format> | |||
</data> | </data> | ||
<data source="reputation_requirement"> | |||
<label>Reputation Requirement</label> | <label>Reputation Requirement</label> | ||
</data> | |||
</group> | |||
<group> | |||
<header>Internal stats</header> | |||
<data source="vendor_name"> | |||
<label>Spawn Code</label> | |||
</data> | |||
<data source="gameplay_tag"> | |||
<label>Shop Category</label> | |||
</data> | </data> | ||
</group> | </group> | ||
</infobox> | </infobox> | ||
{{#cargo_store:_table=TableAmmunition | |||
|image={{{image|}}} | |||
|damage={{{damage|}}} | |||
|penetration={{{penetration|}}} | |||
|chance_to_wound={{{chance_to_wound|}}} | |||
|piercing={{{piercing|}}} | |||
|stack_size={{{stack_size|}}} | |||
|cost={{{cost|}}} | |||
|weight={{{weight|}}} | |||
|reputation_requirement={{{reputation_requirement|}}} | |||
|vendor_name={{{vendor_name|}}} | |||
|gameplay_tag={{{gameplay_tag|}}} | |||
|caliber={{{caliber|}}} | |||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=TableAmmunition | |||
|image=File | |||
|damage=Integer | |||
|penetration=Integer | |||
|chance_to_wound=Float | |||
|piercing=Integer | |||
|stack_size=Integer | |||
|cost=Integer | |||
|weight=Float | |||
|reputation_requirement=String | |||
|vendor_name=vendor_name | |||
|gameplay_tag=gameplay_tag | |||
|caliber=caliber | |||
}} | |||
Example usage: | Example usage: | ||
{{IRRAmmunition | {{IRRAmmunition | ||
| title= | | title=ExampleAmmo | ||
| image= | | image=test.png | ||
| caption-image=Example | | caption-image=Example | ||
| damage=69 | |||
| damage= | | penetration=420 | ||
| penetration= | | chance_to_wound=2 | ||
| chance_to_wound= | | piercing=3 | ||
| piercing= | | stack_size=60 | ||
| cost=15 | |||
| stack_size= | | weight=0.1 | ||
| cost= | |||
| weight=0.1 | |||
| reputation_requirement=IGC Tier 2 | | reputation_requirement=IGC Tier 2 | ||
| vendor_name=test_name | |||
| gameplay_tag=tag.of.the.item | |||
| caliber=69x420 | |||
}} | }} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | |||
"terminal_effectiveness": { | |||
"suggested": true | |||
}, | |||
"damage": { | |||
"suggested": true | |||
}, | |||
"penetration": { | |||
"suggested": true | |||
}, | |||
"chance_to_wound": { | |||
"suggested": true | |||
}, | |||
"logistics": { | |||
"suggested": true | |||
}, | |||
"stack_size": { | |||
"suggested": true | |||
}, | |||
"cost": { | |||
"suggested": true | |||
}, | |||
"title": { | |||
"suggested": true | |||
}, | |||
"image": { | |||
"suggested": true | |||
}, | |||
"caption-image": { | |||
"suggested": true | |||
}, | |||
"piercing": { | |||
"suggested": true | |||
}, | |||
"weight": { | |||
"suggested": true | |||
}, | |||
"reputation_requirement": { | |||
"suggested": true | |||
}, | |||
"vendor_name": { | |||
"suggested": true | |||
}, | |||
"gameplay_tag": { | |||
"suggested": true | |||
}, | |||
"caliber": { | |||
"suggested": true | |||
} | |||
}, | |||
"sets": [], | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption-image", | |||
"terminal_effectiveness", | |||
"damage", | |||
"penetration", | |||
"chance_to_wound", | |||
"piercing", | |||
"logistics", | |||
"stack_size", | |||
"cost", | |||
"weight", | |||
"reputation_requirement", | |||
"vendor_name", | |||
"gameplay_tag", | |||
"caliber" | |||
], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:03, 25 October 2026
This template defines the table "TableAmmunition". View table.
Example usage:
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | Unknown | suggested |
| image | image | no description | Unknown | suggested |
| caption-image | caption-image | no description | Unknown | suggested |
| terminal_effectiveness | terminal_effectiveness | no description | Unknown | suggested |
| damage | damage | no description | Unknown | suggested |
| penetration | penetration | no description | Unknown | suggested |
| chance_to_wound | chance_to_wound | no description | Unknown | suggested |
| piercing | piercing | no description | Unknown | suggested |
| logistics | logistics | no description | Unknown | suggested |
| stack_size | stack_size | no description | Unknown | suggested |
| cost | cost | no description | Unknown | suggested |
| weight | weight | no description | Unknown | suggested |
| reputation_requirement | reputation_requirement | no description | Unknown | suggested |
| vendor_name | vendor_name | no description | Unknown | suggested |
| gameplay_tag | gameplay_tag | no description | Unknown | suggested |
| caliber | caliber | no description | Unknown | suggested |