Template:IRRAmmunition: Difference between revisions
Template page
More actions
m 3 revisions imported |
added cargo support |
||
| Line 38: | Line 38: | ||
</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|}}} | |||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=TableAmmunition | |||
|image=File | |||
|damage=Integer | |||
|penetration=Integer | |||
|chance_to_wound=String | |||
|piercing=Integer | |||
|stack_size=Integer | |||
|cost=String | |||
|weight=String | |||
|reputation_requirement=String | |||
}} | |||
Example usage: | Example usage: | ||
{{IRRAmmunition | {{IRRAmmunition | ||
| title=Example | | title=Example | ||
| image= | | image=test.png | ||
| caption-image=Example | | caption-image=Example | ||
| terminal_effectiveness=Example | | terminal_effectiveness=Example | ||
Revision as of 22:59, 22 October 2026
This template defines the table "TableAmmunition". View table.
Example usage:
{{IRRAmmunition
| title=Example
| image=Example.jpg
| caption-image=Example
| terminal_effectiveness=Example
| damage=67
| penetration=23
| chance_to_wound=12%
| piercing=2
| logistics=Example
| stack_size=20
| cost=$123
| weight=0.1 kg
| reputation_requirement=IGC Tier 2
}}
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 |