Template:Profession/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
No edit summary
Line 18: Line 18:
},
},
"3": {
"3": {
"label": "Hide Label",
"label": "Show Label",
"description": "Whether to hide the profession label. Set to 1 to hide the label, default is 0.",
"description": "Whether to show the profession label. Set to 1 to show the label, default is 0.",
"default": "0",
"default": "0",
"autovalue": "0",
"autovalue": "0",
Line 29: Line 29:
</templatedata>
</templatedata>
<pre>
<pre>
{{Profession|miner}} Displays Profession Name
{{Profession|miner}} Displays Profession Icon
{{Profession|miner|10}} Displays Profession Name and Level
{{Profession|miner|10}} Displays Profession Icon and Level
{{Profession|miner|100|1}} Displays with Profession name hidden
{{Profession|miner|100|1}} Displays with Profession Icon, Level, and Name
</pre>
</pre>

Revision as of 01:09, 23 November 2024

Displays a profession name along with its icon. Useful for listing profession requirements or rewards

Template parameters

ParameterDescriptionTypeStatus
Profession name1

The name of 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 watchperson detective leatherworker merchant
Stringrequired
Profession Amount2

Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.

Example
50
Numbersuggested
Show Label3

Whether to show the profession label. Set to 1 to show the label, default is 0.

Default
0
Auto value
0
Booleansuggested
{{Profession|miner}} Displays Profession Icon
{{Profession|miner|10}} Displays Profession Icon and Level
{{Profession|miner|100|1}} Displays with Profession Icon, Level, and Name