Template:Profession info: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<includeonly>{{#invoke:Skill info|main}}</includeonly><noinclude>{{/doc}}</noinclude>")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Skill info|main}}</includeonly><noinclude>{{/doc}}</noinclude>
<includeonly>{{#invoke:Profession info|main}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 22:45, 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: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.