Deep Rock Galactic Wiki
Cenrus (talk | contribs)
(Undo revision 5343 by Cenrus (talk))
Tag: Undo
(portable infobox update)
 
(2 intermediate revisions by 2 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|300px}}}]] | {{!}} colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}
 
  +
<header>Details</header>
|-
 
  +
<data source="hardness">
! colspan="2" class="infoboxdetails" | Details
 
  +
<label>Rock Hardness</label>
|-
 
  +
<default>Unknown</default>
! width=110 {{!}} Rock Hardness
 
  +
</data>
{{!}} {{{hardness}}}
 
  +
<data source="abundant">
|-
 
  +
<label>Crafting Materials</label>
! rowspan="2" style="vertical-align:middle; width:40%;" | Crafting<br/>Materials
 
| {{#if:{{{abundant|}}} | {{icon resource|{{{abundant|}}}}} [[{{{abundant|}}}]] | {{{abundant|}}} }} (Abundant)
+
<format>{{#if:{{{abundant|}}} | {{icon resource|{{{abundant|}}}}} [[{{{abundant|}}}]] }} (Abundant)
  +
|-
 
| {{#if:{{{scarce|}}} | {{icon resource|{{{scarce|}}}}} [[{{{scarce|}}}]] | {{{scarce|}}} }} (Scarce)
+
{{#if:{{{scarce|}}} | {{icon resource|{{{scarce|}}}}} [[{{{scarce|}}}]] | <nowiki/>}} (Scarce)
  +
</format>
|-
 
  +
</data>
! Unique Hazard(s)
 
  +
<data source="hazard"> <label>Unique Hazards</label> </data>
{{!}} {{{hazard}}}
 
  +
<data source="enemies"> <label>Unique Enemy Type(s)</label> </data>
|}<noinclude>
 
  +
</group>
 
</infobox><noinclude>
 
{{clear}}{{doc}}
 
{{clear}}{{doc}}
[[Category:Infobox templates]]</noinclude>
+
[[Category:Infobox templates]]
  +
[[es:Plantilla:Biome infobox]]</noinclude>

Latest revision as of 23:53, 30 August 2021

Template-info.png Documentation

This infobox is used to provide a quick summary overview of a biome's characteristics.

Usage

{{Biome infobox
| name     = //Name of the biome
| image    = //Image to use
| size     = //optional, default is 300px
| hardness = //Hardness. How many pickaxe hits it takes to mine a piece of the biome's main surface.
| abundant = //Abundant crafting mineral
| scarce   = //Scarce crafting mineral
| hazard   = //Any unique hazards present in the biome.
| enemies  = //Optional. Enemies exclusive to this region
}}

Example

{{Biome infobox
| name     = Salt Pits
| image    = Salt pits preview.png
| abundant = Enor Pearl
| scarce   = Bismor
| hazard   = Unstable Stalactites
| enemies  = Glyphid Warrior
}}

Hardness Guide

  • 1 — Soft
  • 2 — Medium
  • 3 — Hard
  • 4 — Very Hard