Deep Rock Galactic Wiki
Deep Rock Galactic Wiki
(Slot parameter is no longer case sensitive. Slot parameter no longer requires 1, 2, 3, or 4 to be suffixed with -st,-nd,-rd, or -th.)
m
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
<infobox>
{| class="infoboxtable"
 
  +
<title source="name"><default>{{PAGENAME}}</default>}</title>
|-
 
  +
<image source="image"></image>
! colspan="2" class="infoboxname" | {{{name}}}
 
 
<navigation>{{#if:{{{image|}}}||''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}}}}</navigation>
|-
 
  +
<group>
{{#if: {{{image|}}} | {{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}{{!}}{{{size|250px}}}]] | {{!}} colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}
 
  +
<header>Equipment Details</header>
|-
 
  +
<data source="type">
! colspan="2" class="infoboxdetails" | Equipment Details
 
  +
<label>Type</label>
|-
 
  +
<default>Unknown</default>
! width=75 style="vertical-align:middle;" | Type
 
  +
</data>
| {{{type|Unknown}}}
 
  +
<data source="used">
|-
 
! Used by
+
<label>Used by</label>
  +
</data>
| {{{used|Unknown}}}
 
  +
<data source="slot">
|-
 
  +
<label>Slot</label>
! Slot
 
| {{#switch: {{lc:{{{slot|}}}}}
+
<format>{{#switch: {{lc:{{{slot|}}}}}
| 1 = Primary
+
| 1 = Primary
| 2 = Secondary
+
| 2 = Secondary
| 3 = Third
+
| 3 = Mobility
| 4 = Fourth
+
| 4 = Utility
| grenade = Grenade
+
| grenade = Grenade
| flare = Flare
+
| flare = Flare
| armor = Armor
+
| armor = Armor
| misc = Miscellaneous
+
| melee = Melee
| none = None
+
| misc = Miscellaneous
  +
}}</format>
| #default = Unknown
 
  +
</data>
}}
 
  +
<data source="hitscan">
|-
 
  +
<label>Hitscan</label>
! Availability
 
| {{#switch: {{{availability|}}}
+
<format>{{#switch: {{lc:{{{hitscan|}}}}}
| 0 = {{tooltip|Unobtainable|Cannot be acquired}}
+
| no = {{tooltip|No|Bullets have travel distance}}
| 1 = {{tooltip|Default|Available from the beginning}}
+
| yes = {{tooltip|Yes|Bullets have no travel distance}}
  +
}}</format>
| 2 = {{tooltip|Unlockable|Can be unlocked via assignment}}
 
  +
</data>
| 3 = {{tooltip|Limited|Is/Was available for a limited time}}
 
  +
<data source="availability">
| #default = Unknown
 
  +
<label>Availability</label>
}}
 
  +
<format>{{#switch: {{{availability|}}}
|}<noinclude>
 
  +
| 0 = {{tooltip|Unobtainable|Cannot be acquired}}
  +
| 1 = {{tooltip|Default|Available from the beginning}}
 
| 2 = {{tooltip|Unlock|Can be unlocked via assignment or/and purchase}}
 
| 3 = {{tooltip|Limited|Is/Was available for a limited time}}
  +
}}</format>
  +
</data>
  +
</group>
  +
</infobox>
  +
 
<noinclude>
 
{{clear}}{{doc}}
 
{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>
  +
[[es:Plantilla:Equipment infobox]]

Latest revision as of 19:53, 30 August 2021


Template-info.png Documentation

This infobox is used to create a summary of some key details about equipment.

Usage

{{equipment infobox
| name         = //Name of the equipment.
| image        = //Image of the equipment.
| size         = //Optional. Default is 250px.
| type         = //Equipment type. See guide below for info.
| used         = //Optional. Used by which class. See guide below for info.
| slot         = //Optional. Slot used for equipment. See guide below for info.
| hitscan      = //Optional. Used for weapon equipment. See guide below for info.
| availability = //Optional. Availability of equipment. See guide below for info.
}}

Example

{{equipment infobox
| name         = weaponized bug
| image        = maggot.png
| size         = 175px
| type         = Biological Weapon
| used         = Karl
| slot         = misc
| availability = 0
}}

Type Guide

This field will display whatever you type. These are taken from the in-game upgrade terminal, equipment type is displayed right below the name. Some examples:

  • Support Tool - anything ranging from Platform Gun to Shield Generator
  • Heavy Weapon - anything ranging from Grenade Launcher to Minigun
  • Shotgun - applies to Warthog and Jury-Rigged Boomstick shotguns
  • Throwable - any type of grenade
  • Armor - any type of armor

Used By Guide

This field will display whatever you type. Which classes can equip this item. Some examples:

  • Scout — Can be equipped by Scout only
  • Engineer — Can be equipped by Engineer only
  • Gunner, Driller — Can be equipped by Gunner and Driller
  • All class — Can be equipped by everyone

Slot Guide

Which slot the equipment occupies.
Simply pass the corresponding word or number, and the template will handle the rest. Parameter is not case sensitive.

  • 1 — Primary
  • 2 — Secondary
  • 3 — Mobility
  • 4 — Utility
  • grenade — Grenade
  • flare — Flare
  • armor — Armor
  • melee — Melee
  • misc — Miscellaneous

Hitscan Guide

Is the weapon hitscan or projectile?
Simply pass the corresponding yes or no answer, and the template will handle the rest.

  • no — No
  • yes — Yes

Availability Guide

How can the equipment be acquired.
Simply pass the corresponding number and the template will handle the rest.

  • 0 — Unobtainable
  • 1 — Default
  • 2 — Unlock
  • 3 — Limited