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
 
(14 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"></image>
    <caption source="caption-image1"/>
  </image>
   <group>
   <group>
     <header source="in-game_information">In-Game Information</header>
     <header source="in-game_information">In-Game Information</header>
Line 14: Line 12:
     <data source="caliber">
     <data source="caliber">
       <label>Caliber</label>
       <label>Caliber</label>
    </data>
    <data source="weight">
      <label>Weight</label>
      <format> {{{weight}}} kg</format>
     </data>
     </data>
     <data source="cost">
     <data source="cost">
       <label>Cost</label>
       <label>Cost</label>
      <format>{{{cost}}} $</format>
     </data>
     </data>
     <data source="reputation">
     <data source="reputation_requirement">
       <label>Reputation</label>
       <label>Reputation Requirement</label>
     </data>
     </data>
     <data source="ergonomics">
     <data source="fire_modes">
       <label>Ergonomics</label>
       <label>Fire Modes</label>
     </data>
     </data>
     <data source="recoil">
     <data source="fire_rate">
       <label>Recoil</label>
       <label>Rate of Fire</label>
     </data>
     </data>
     <data source="firemodes">
  </group>
       <label>Firemodes</label>
  <group>
    <header>Internal stats</header>
     <data source="vendor_name">
       <label>Spawn Code</label>
     </data>
     </data>
     <data source="firerate">
     <data source="gameplay_tag">
       <label>Firerate</label>
       <label>Shop Category</label>
     </data>
     </data>
   </group>
   </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
{{IRRWeapon
|image=File
  | title1=Example
|category=String
  | image1=Example.jpg
|caliber=String
  | caption-image1=Example
|cost=Integer
  | category=Example
|weight=Float
  | ammunition=Example
|reputation_requirement=String
  | cost=Example
|fire_modes=String
  | reputation=Example}}
|fire_rate=String
<pre>
|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
   | reputation=Example}}
  | fire_modes = Semi-Auto, Full-Auto
</pre>
  | fire_rate = 67
   | weight = 12
   | caliber = 69x420
   | gameplay_tag = test.tag
   | vendor_name = test_name
}}
 
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"title1": {
"title": {
"suggested": true
},
"image1": {
"suggested": true
"suggested": true
},
},
"caption-image1": {
"image": {
"suggested": true
"suggested": true
},
},
"Ergonomics": {
"cost": {
"suggested": true
"suggested": true
},
},
"Recoil": {
"category": {
"suggested": true
"suggested": true
},
},
"Firemodes": {
"caliber": {
"suggested": true
"suggested": true
},
},
"Firerate": {
"reputation_requirement": {
"suggested": true
"suggested": true
},
},
"Reputation": {
"fire_modes": {
"suggested": true
"suggested": true
},
},
"Cost": {
"fire_rate": {
"suggested": true
"suggested": true
},
},
"Category": {
        "vendor_name": {
"suggested": true
"suggested": true
},
},
"Caliber": {
        "gameplay_tag": {
"suggested": true
"suggested": true
}
}
Line 95: Line 119:
"sets": [],
"sets": [],
"paramOrder": [
"paramOrder": [
"title1",
"title",
"image1",
"image",
"caption-image1",
"category",
"Category",
"caliber",
"Caliber",
"cost",
"Cost",
"reputation_requirement",
"Reputation",
"fire_modes",
"Ergonomics",
"fire_rate",
"Recoil",
        "vendor_name",
"Firemodes",
        "gameplay_tag"
"Firerate"
],
]
"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