Template:Profession info: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
m (BlackHawk moved page User:BlackHawk/Skill info to User:BlackHawk/Profession info without leaving a redirect)
No edit summary
Line 1:
<includeonly>{{#invoke:User:BlackHawk/SkillProfession info|main}}</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 21:31, 26 November 2024

Template documentation
This documentation is transcluded from Template:Profession info/doc. [edit] [history] [purge]
Template:Profession info invokes function main in Module:User:BlackHawk/Profession 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 "User:BlackHawk/Profession 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.