Template:Profession info/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} This template functions as a general-purpose profession template. ==Usage== This template features essentially two groups of data. First are several skill-related parameters, for up to 5 skills, that relate to the top of the info box. These represent levels and experience rates. Secondly there are several free-text inputs that have a customisable label. Most of the parameters listed serve the same function in terms of visible output, but they differ i...")
 
No edit summary
Line 4:
 
==Usage==
This template features essentially two groups of data. First are several skill-related parameters, for up to 5 skills, that relate to the top of the info box. These represent levels and experience rates. Secondly there are several free-text inputs that have a customisable label. Most of the parameters listed serve the same function in terms of visible output, but they differ in their associated SMW properties (if applicable). Any of the
 
The template parameters are as follows:
<pre>

Revision as of 22:45, 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
|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
|tool = [[Fishing Rod]]
|input = [[Blotchy Maggots]]
}}
Ballan Wraddock
Level required31 Fisher
Fisher XP123 xp
Duration? (edit)
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.

input

Any items used in the interaction.

tool

The tool used in the interaction.