Deep Rock Galactic Wiki
(Added an option to center the icon in a table.)
m (fixing alignment issues)
Line 4: Line 4:
 
[[File:Frame Overclock {{{1|Clean}}}.png|100px|link=]] <!-- Overclock base image (Clean/Balanced/Unstable) --->
 
[[File:Frame Overclock {{{1|Clean}}}.png|100px|link=]] <!-- Overclock base image (Clean/Balanced/Unstable) --->
 
{{#ifeq: {{{1|Clean}}} | Clean
 
{{#ifeq: {{{1|Clean}}} | Clean
| <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -57%);"> <!-- Special spacing with Clean to have it centred -->
+
| <div style="position: absolute; top: 40%; left: 50%; transform: translate(-50%, -57%);"> <!-- Special spacing with Clean to have it centered -->
| <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
+
| <div style="position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%);">
 
}}
 
}}
 
{{#if: {{{2|}}} |
 
{{#if: {{{2|}}} |

Revision as of 14:44, 29 August 2021

Template-info.png Documentation

{{Icon overclock full}} is used to insert icon images of overclocks with their icons overlayed.

Usage

{{Icon overclock full|Clean}} creates

Frame Overclock Clean.png

{{Icon overclock full|Clean|Cold}} creates

Frame Overclock Clean.png

Icon Upgrade Cold.png

{{Icon overclock full|Balanced|Cold}} creates

Frame Overclock Balanced.png

Icon Upgrade Cold.png

{{Icon overclock full|Unstable|Cold}} creates

Frame Overclock Unstable.png

Icon Upgrade Cold.png

The option 'Center' can be added after the Icon Upgrade or Icon Overclock name to center the Icon in a table.

Upgrades

See Category:Overclock icons for list of icon images.

Use portion of filename between 'Icon Upgrade' or 'Icon Overclock' and '.png' for the template.

Notes

  • Size is 100px.
  • Image names are case sensitive.