Template:Mining info/doc

From RuneRealm Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Mining info.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Mining info invokes function main in Module:Skill info using Lua.

This template displays skill information for Mining sources and resources.

Usage

{{Mining info
|name = Name of the rock
|version = (Optional) The version of the object (e.g. vein / rock)
|level = Mining level required
|xp = Mining XP given
|rock = (Optional) Link to the rock article. Only include this line on ore articles, not rock articles.
|tool = Required tool, such as [[Pickaxe]]
|time = Respawn time for the rock
}}

Note: Other than these parameters, this template also supports all parameters described in Template:Skill info. Setting one of the Skill info parameters will override the value set by the Mining info preset.

This template's parameters support Switch Infobox syntax, provided the version parameter is specified for the given number.

Example

Example rock:

{{Mining info
|name = Tin rock
|level = 1
|xp = 17.5
|tool = [[Pickaxe]]
|time = 2.4 seconds
}}

Example ore:

{{Mining info
|name = Tin rock
|level = 1
|xp = 17.5
|rock = [[Tin rock]]
|tool = [[Pickaxe]]
|time = 2.4 seconds
}}