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:IRRWeapon: Difference between revisions

Template page
No edit summary
No edit summary
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<infobox>
<infobox>
   <title source="title1"/>
   <title source="title">
   <image source="image1">
    <default>{{PAGENAME}}</default>
     <caption source="caption-image1"/>
  </title>
  </image>
   <image source="image"></image>
  <data source="category">
  <group>
     <label>Category</label>
     <header source="in-game_information">In-Game Information</header>
  </data>
    <data source="category">
  <data source="ammunition">
      <label>Category</label>
     <label>Ammunition</label>
    </data>
   </data>
    <data source="caliber">
   <data source="cost">
      <label>Caliber</label>
     <label>Cost</label>
    </data>
   </data>
    <data source="weight">
      <label>Weight</label>
      <format> {{{weight}}} kg</format>
    </data>
     <data source="cost">
      <label>Cost</label>
      <format>{{{cost}}} $</format>
    </data>
    <data source="reputation_requirement">
      <label>Reputation Requirement</label>
    </data>
    <data source="fire_modes">
      <label>Fire Modes</label>
     </data>
    <data source="fire_rate">
      <label>Rate of Fire</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>
   </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>
Example usage:
{{#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
   | title1=Example
   | title = test gun
   | image1=Example.jpg
   | image = test.png
   | caption-image1=Example
   | caption-image = test caption
   | category=Example
   | caliber = 123.45mm
   | ammunition=Example
   | cost = 179
   | cost=Example}}
   | reputation_requirement = IGC Lvl 2
<pre>
   | fire_modes = Semi-Auto, Full-Auto
{{IRRWeapon
   | fire_rate = 67
   | title1=Example
   | weight = 12
   | image1=Example.jpg
   | caliber = 69x420
   | caption-image1=Example
   | gameplay_tag = test.tag
   | category=Example
   | vendor_name = test_name
   | ammunition=Example
}}
   | cost=Example}}
 
</pre>
<templatedata>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption-image1":{"suggested":true},"category":{"suggested":true},"ammunition":{"suggested":true},"cost":{"suggested":true}},"sets":[],"maps":{}}
{
"params": {
"title": {
"suggested": true
},
"image": {
"suggested": true
},
"cost": {
"suggested": true
},
"category": {
"suggested": true
},
"caliber": {
"suggested": true
},
"reputation_requirement": {
"suggested": true
},
"fire_modes": {
"suggested": true
},
"fire_rate": {
"suggested": true
},
        "vendor_name": {
"suggested": true
},
        "gameplay_tag": {
"suggested": true
}
},
"sets": [],
"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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
titletitle

no description

Unknownsuggested
imageimage

no description

Unknownsuggested
categorycategory

no description

Unknownsuggested
calibercaliber

no description

Unknownsuggested
costcost

no description

Unknownsuggested
reputation_requirementreputation_requirement

no description

Unknownsuggested
fire_modesfire_modes

no description

Unknownsuggested
fire_ratefire_rate

no description

Unknownsuggested
vendor_namevendor_name

no description

Unknownsuggested
gameplay_taggameplay_tag

no description

Unknownsuggested