Jump to content
Toggle menu
  • 20 articles
  • 87 files
  • 13 users
  • 460 edits
Incursion Red River Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:IRRAmmunition: Difference between revisions

Template page
Created page with "<includeonly> <infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption-image1"/> </image> <group> <header source="terminal_effectiveness">Terminal Effectiveness</header> <data source="damage"> <label>Damage</label> </data> <data source="armour_penetration"> <label>Armour Penetration</label> </data> <data source="chance_to_wound"> <label>Chance to..."
 
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<infobox>
<infobox>
   <title source="title1">
   <title source="title">
     <default>{{PAGENAME}}</default>
     <default>{{PAGENAME}}</default>
   </title>
   </title>
   <image source="image1">
   <image source="image">
     <caption source="caption-image1"/>
     <caption source="caption-image"/>
   </image>
   </image>
   <group>
   <group>
     <header source="terminal_effectiveness">Terminal Effectiveness</header>
     <header>Terminal Effectiveness</header>
     <data source="damage">
     <data source="damage">
       <label>Damage</label>
       <label>Damage</label>
     </data>
     </data>
     <data source="armour_penetration">
     <data source="penetration">
       <label>Armour Penetration</label>
       <label>Penetration</label>
     </data>
     </data>
     <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="field4">
     <data source="piercing">
       <label>Field4</label>
       <label>Piercing</label>
     </data>
     </data>
   </group>
   </group>
   <group>
   <group>
     <header source="logistics">Logistics</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 source="weight">
      <label>Weight</label>
      <format>Single: {{{weight}}} kg{{#if:{{{stack_size|}}}|<br />Stack: {{#expr: {{{weight}}} * {{{stack_size}}} round 2 }} kg}}</format>
    </data>
    <data source="reputation_requirement">
      <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
   | title1=Example
   | title=ExampleAmmo
   | image1=Example.jpg
   | image=test.png
   | caption-image1=Example
   | caption-image=Example
  | terminal_effectiveness=Example
   | damage=69
   | damage=Example
   | penetration=420
   | armour_penetration=Example
   | chance_to_wound=2
   | chance_to_wound=Example
   | piercing=3
  | field4=Example
   | stack_size=60
   | logistics=Example
   | cost=15
   | stack_size=Example
   | weight=0.1
   | cost=Example}}
   | reputation_requirement=IGC Tier 2
<pre>
   | vendor_name=test_name
{{IRRAmmunition
   | gameplay_tag=tag.of.the.item
  | title1=Example
   | caliber=69x420
   | image1=Example.jpg
   }}
   | caption-image1=Example
   | terminal_effectiveness=Example
   | damage=Example
  | armour_penetration=Example
  | chance_to_wound=Example
  | field4=Example
  | logistics=Example
   | stack_size=Example
   | cost=Example}}
</pre>
<templatedata>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption-image1":{"suggested":true},"terminal_effectiveness":{"suggested":true},"damage":{"suggested":true},"armour_penetration":{"suggested":true},"chance_to_wound":{"suggested":true},"field4":{"suggested":true},"logistics":{"suggested":true},"stack_size":{"suggested":true},"cost":{"suggested":true}},"sets":[],"maps":{}}
{
    "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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
titletitle

no description

Unknownsuggested
imageimage

no description

Unknownsuggested
caption-imagecaption-image

no description

Unknownsuggested
terminal_effectivenessterminal_effectiveness

no description

Unknownsuggested
damagedamage

no description

Unknownsuggested
penetrationpenetration

no description

Unknownsuggested
chance_to_woundchance_to_wound

no description

Unknownsuggested
piercingpiercing

no description

Unknownsuggested
logisticslogistics

no description

Unknownsuggested
stack_sizestack_size

no description

Unknownsuggested
costcost

no description

Unknownsuggested
weightweight

no description

Unknownsuggested
reputation_requirementreputation_requirement

no description

Unknownsuggested
vendor_namevendor_name

no description

Unknownsuggested
gameplay_taggameplay_tag

no description

Unknownsuggested
calibercaliber

no description

Unknownsuggested