Template:Profession info/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 12: Line 12:
|xp = Profession xp
|xp = Profession xp
|duration = The duration for the interaction in seconds
|duration = The duration for the interaction in seconds
|respawn = The respawn time in seconds
|tool = Tool required for the interaction
|tool = Tool required for the interaction
|input = Items used in the interaction
|input = Items used in the interaction
Line 28: Line 29:
|xp = 123
|xp = 123
|duration = 20
|duration = 20
|respawn = 60
|tool = [[Fishing Rod]]
|tool = [[Fishing Rod]]
|input = [[Blotchy Maggots]]
|input = [[Blotchy Maggots]]
Line 39: Line 41:
|xp = 123
|xp = 123
|duration = 20
|duration = 20
|respawn = 60
|tool = [[Fishing Rod]]
|tool = [[Fishing Rod]]
|input = [[Blotchy Maggots]]
|input = [[Blotchy Maggots]]
Line 60: Line 63:
===duration===
===duration===
The duration of the interation in seconds.
The duration of the interation in seconds.

===respawn===
The respawn time in seconds.


===input===
===input===

Latest revision as of 23:38, 26 November 2024

This is a documentation subpage for Template:Profession info.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Profession info invokes function main in Module: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]]
}}
Ballan Wraddock
Level required31 Fisher
Fisher XP123 xp
Duration20 seconds
Respawn time60 seconds
Required toolFishing Rod
Required inputBlotchy Maggots

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.