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
m 1 revision imported
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 8: Line 8:
   </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>
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 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>
        <data source="weight">
    <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">
    <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=Example
   | title=ExampleAmmo
   | image=Example.jpg
   | image=test.png
  | caption-image=Example
  | terminal_effectiveness=Example
  | damage=Example
  | penetration=Example
  | chance_to_wound=Example
  | piercing=Example
  | logistics=Example
  | stack_size=Example
  | cost=Example
  | weight=0.1 kg
  | reputation_requirement=IGC Tier 2
  }}
<pre>
{{IRRAmmunition
  | title=Example
  | image=Example.jpg
   | caption-image=Example
   | caption-image=Example
  | terminal_effectiveness=Example
   | damage=69
   | damage=67
   | penetration=420
   | penetration=23
   | chance_to_wound=2
   | chance_to_wound=12%
   | piercing=3
   | piercing=2
   | stack_size=60
  | logistics=Example
   | cost=15
   | stack_size=20
   | weight=0.1
   | cost=$123
   | weight=0.1 kg
   | reputation_requirement=IGC Tier 2
   | reputation_requirement=IGC Tier 2
  | vendor_name=test_name
  | gameplay_tag=tag.of.the.item
  | caliber=69x420
   }}
   }}
</pre>
<templatedata>
<templatedata>
{
{
"params": {
    "params": {
"terminal_effectiveness": {
        "terminal_effectiveness": {
"suggested": true
            "suggested": true
},
        },
"damage": {
        "damage": {
"suggested": true
            "suggested": true
},
        },
"penetration": {
        "penetration": {
"suggested": true
            "suggested": true
},
        },
"chance_to_wound": {
        "chance_to_wound": {
"suggested": true
            "suggested": true
},
        },
"logistics": {
        "logistics": {
"suggested": true
            "suggested": true
},
        },
"stack_size": {
        "stack_size": {
"suggested": true
            "suggested": true
},
        },
"cost": {
        "cost": {
"suggested": true
            "suggested": true
},
        },
"title": {
        "title": {
"suggested": true
            "suggested": true
},
        },
"image": {
        "image": {
"suggested": true
            "suggested": true
},
        },
"caption-image": {
        "caption-image": {
"suggested": true
            "suggested": true
},
        },
"piercing": {
        "piercing": {
"suggested": true
            "suggested": true
},
        },
"weight": {
        "weight": {
"suggested": true
            "suggested": true
},
        },
"reputation_requirement": {
        "reputation_requirement": {
"suggested": true
            "suggested": true
}
        },
},
        "vendor_name": {
"sets": [],
            "suggested": true
"paramOrder": [
        },
"title",
        "gameplay_tag": {
"image",
            "suggested": true
"caption-image",
        },
"terminal_effectiveness",
        "caliber": {
"damage",
            "suggested": true
"penetration",
        }
"chance_to_wound",
    },
"piercing",
    "sets": [],
"logistics",
    "paramOrder": [
"stack_size",
        "title",
"cost",
        "image",
"weight",
        "caption-image",
"reputation_requirement"
        "terminal_effectiveness",
],
        "damage",
"format": "block"
        "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