Template:Profession/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
(Support Blacksmith/Stonemason dual icon)
Line 35: Line 35:
"type": "string",
"type": "string",
"required": true,
"required": true,
"suggestedvalues": ["guard", "chef", "fisher", "forager", "alchemist", "scout", "gatherer", "woodcutter", "carpenter", "minefighter", "bonewright", "miner", "blacksmith", "stonemason", "watchperson", "detective", "leatherworker", "merchant", "shieldbearer", "builder", "armorer", "unknown_gathering"]
"suggestedvalues": ["guard", "chef", "fisher", "forager", "alchemist", "scout", "gatherer", "woodcutter", "carpenter", "minefighter", "bonewright", "miner", "blacksmith", "stonemason", "blacksmith_stonemason", "watchperson", "detective", "leatherworker", "merchant", "shieldbearer", "builder", "armorer", "unknown_gathering"]
},
},
"2": {
"2": {

Revision as of 10:16, 3 December 2024

This is a documentation subpage for Template:Profession.
It contains usage information, categories, and other content that is not part of the original template page.

The Profession clickpic template displays a clickable profession icon that links to the profession page.

Usage

Display profession clickpic (ex. )

{{PC|miner}} {{Profession|miner}}


Display profession clickpic and level (ex. 10 )

{{PC|miner|10}} {{Profession|miner|10}}


Display with profession clickpic, level, and Name (ex. 100  Miner)

{{PC|miner|100|1}} {{Profession|miner|100|1}}

Parameters

Displays a clickable profession icon that links to the profession page. Useful for listing profession requirements or rewards

Template parameters

ParameterDescriptionTypeStatus
Profession1

The profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions

Suggested values
guard chef fisher forager alchemist scout gatherer woodcutter carpenter minefighter bonewright miner blacksmith stonemason blacksmith_stonemason watchperson detective leatherworker merchant shieldbearer builder armorer unknown_gathering
Stringrequired
Level/Exp2

Optional: Specify a level or exp amount to display alongside the clickpic.

Example
50
Numbersuggested
Show profession name3

Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.

Default
0
Auto value
0
Booleansuggested