Template:Profession info

Revision as of 21:28, 26 November 2024 by BlackHawk (talk | contribs) (Created page with "<includeonly>{{#invoke:Skill info|main}}</includeonly><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Profession info/doc. [edit] [history] [purge]
Template:Profession info invokes function main in Module:Skill info using Lua.

This template functions as a general-purpose profession template.

Usage

The template parameters are as follows:

{{Profession info
|name = Subject name
|profession = Profession name
|level = Profession level
|xp = Profession xp
|duration = The duration for the interaction in seconds
|respawn = The respawn time in seconds
|tool = Tool required for the interaction
|input = Items used in the interaction
}}

All of these parameters, with the exception of profession, level and xp are optional. Any inputs that are omitted are not shown in the info box.

Example

For example, a Ballan Wraddock rewards Fisher experience when interacted with.

{{Profession info
|name = Ballan Wraddock
|profession = Fisher
|level = 31
|xp = 123
|duration = 20
|respawn = 60
|tool = [[Fishing Rod]]
|input = [[Blotchy Maggots]]
}}

Script error: No such module "Skill info".

Parameters

This section lists more in-depth information for each of the parameters can be used in this template.

name

The name appearing at the top of the Profession info box. By default this is the page name.

profession

The name for a given profession. If this is omitted for a profession, no icon will be displayed. This also automatically becomes the profession label (format: [[Profession|Profession XP]]).

level

The level for the associated profession.

xp

Experience for the specified profession box.

duration

The duration of the interation in seconds.

respawn

The respawn time in seconds.

input

Any items used in the interaction.

tool

The tool used in the interaction.