Jump to content
Toggle menu
  • 19 articles
  • 89 files
  • 13 users
  • 561 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:IRRItem: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>
  <title source="title">
<group>
    <default>{{PAGENAME}}</default>
   <header>Generic Item Stats</header>
   </title>
  <data source="weight">
  <image source="image"></image>
    <label>Weight</label>
  <group>
    <format>{{{weight}}} kg</format>
    <header source="in-game_information">In-Game Information</header>
  </data>
    <data source="weight">
  <data source="cost">
      <label>Weight</label>
    <label>Cost</label>
      <format> {{{weight}}} kg</format>
    <format>{{{cost}}} $</format>
    </data>
  </data>
    <data source="cost">
  <data source="faction">
      <label>Cost</label>
    <label>Unlock</label>
      <format>{{{cost}}} $</format>
    <format><span style="font-weight:bold; color:{{#switch:{{lc:{{{faction|}}}}}|uics=#3a7bd5|vlf=#e6b800|igc=#d93025|#default=inherit}};">{{uc:{{{faction}}}}}</span>{{#if:{{{reputation_requirement|}}}|&nbsp;{{#switch:{{{reputation_requirement}}}|0=Tier 1|25=Tier 2|50=Tier 3|75=Tier 4|#default={{{reputation_requirement}}}&nbsp;rep}}}}</format>
    </data>
  </data>
    <data source="faction">
</group>
      <label>Unlock</label>
<group>
      <format><span style="font-weight:bold; color:{{#switch:{{lc:{{{faction|}}}}}|uics=#3a7bd5|vlf=#e6b800|igc=#d93025|#default=inherit}};">{{uc:{{{faction}}}}}</span>{{#if:{{{reputation_requirement|}}}|&nbsp;{{#switch:{{{reputation_requirement}}}|0=Tier 1|25=Tier 2|50=Tier 3|75=Tier 4|#default={{{reputation_requirement}}}&nbsp;rep}}}}</format>
  <header>Internal stats</header>
    </data>
  <data source="vendor_name">
  </group>
    <label>Spawn Code</label>
  <group>
  </data>
    <header>Internal stats</header>
  <data source="gameplay_tag">
    <data source="vendor_name">
    <label>Shop Category</label>
      <label>Spawn Code</label>
  </data>
    </data>
</group>
    <data source="gameplay_tag">
      <label>Shop Category</label>
    </data>
  </group>
{{#cargo_store:_table=TableItems
|image={{{image|}}}
|cost={{{cost|}}}
|faction={{{faction|}}}
|reputation_requirement={{{reputation_requirement|}}}
|weight={{{weight|}}}
|vendor_name={{{vendor_name|}}}
|gameplay_tag={{{gameplay_tag|}}}
}}
</includeonly>
</includeonly>
<noinclude>
{{#cargo_declare:_table=TableItems
|image=File
|cost=Integer
|weight=Float
|faction=String
|reputation_requirement=Integer
|vendor_name=String
|gameplay_tag=String
}}
{{IRRItem
  | title = test item
  | image = test.png
  | cost = 179
  | faction = IGC
  | reputation_requirement = 75
  | weight = 12
  | gameplay_tag = test.tag
  | vendor_name = test_name
}}
<templatedata>
{
"params": {
"title": {
"suggested": true
},
"image": {
"suggested": true
},
"cost": {
"suggested": true
},
"reputation_requirement": {
"suggested": true
},
        "vendor_name": {
"suggested": true
},
        "gameplay_tag": {
"suggested": true
}
},
"sets": [],
"paramOrder": [
"title",
"image",
"cost",
"reputation_requirement",
        "vendor_name",
        "gameplay_tag"
],
"format": "block"
}
</templatedata>
</noinclude>

Latest revision as of 18:26, 29 October 2026