Template:OreInfobox/doc: Difference between revisions

From Rock Revolution Wiki
Content added Content deleted
m (add image to template example)
(Add color codes to ore name and spawn message and add relevant notices regarding it)
 
Line 14: Line 14:
; music: The music the ore plays. Does not display if not set.
; music: The music the ore plays. Does not display if not set.
; description: The description of the ore. Defaults to "No description available."
; description: The description of the ore. Defaults to "No description available."

<strong>Note</strong>: <source enclose="none">spawn_message</source> and <source enclose="none">name</source> should use span elements with CSS styling to match the color of the ore.
=== Example ===
=== Example ===
{{OreInfobox
{{OreInfobox
| name = Obtainium
| name = <span style="color: #0349FC">Obtainium</span>
| image = [[File:Flaming cat.gif]]
| image = [[File:Flaming cat.gif]]
| spawn_message = <i style="color: #0349FC">How obtainable...</i>
| spawn_message = <i style="color: #0349FC">How obtainable...</i>
Line 29: Line 31:
<pre style="overflow:auto">
<pre style="overflow:auto">
{{OreInfobox
{{OreInfobox
| name = Obtainium
| name = <span style="color: #0349FC">Obtainium</span>
| image = [[File:Flaming cat.gif]]
| image = [[File:Flaming cat.gif]]
| spawn_message = <i style="color: #0349FC">How obtainable...</i>
| spawn_message = <i style="color: #0349FC">How obtainable...</i>

Latest revision as of 14:23, 22 November 2023

Template:Mbox

This template is used to display information pertaining to any ore in Rock Revolution.

Usage[edit]

name
The name of the ore being displayed. Defaults to the name of the page it's being displayed on.
image
The image of the ore.
spawn_message
The message displayed when the ore spawns. For ores below Wondrous rarity, this can simply be omitted.
tier
The tier of the ore.
layer
The the ore is found in.
creator
The creator(s) of the ore. Defaults to "Unknown."
rarity
The rarity of / chance of obtaining the ore.
color
The color of the ore. Does not display if not set.
music
The music the ore plays. Does not display if not set.
description
The description of the ore. Defaults to "No description available."

Note: spawn_message and name should use span elements with CSS styling to match the color of the ore.

Example[edit]

Obtainium
How obtainable...
Info
Tier
Outrageous
LayerPavement Layer
Creator(s)Joshument
Rarity1/128,000,000
Miscellaneous
Color

#0349FC (3, 73, 252)

MusicAbsolute Zero
Description
An ore that appears to be obtainable!


{{OreInfobox
 | name = <span style="color: #0349FC">Obtainium</span>
 | image = [[File:Flaming cat.gif]]
 | spawn_message = <i style="color: #0349FC">How obtainable...</i>
 | tier = {{Tier|Outrageous}}
 | layer = [[Pavement Layer]]
 | creator = Joshument
 | rarity = 1/128,000,000
 | color = {{ColorCode|0349FC}}
 | music = [https://www.youtube.com/watch?v=QqA1vtFemb8 Absolute Zero]
 | description = An ore that appears to be obtainable!
}}