Template:Profession/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
"description": "The name of the Profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions",
"description": "The name of the Profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions",
"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"]
},
},
"2": {
"2": {
"label": "Profession Amount",
"label": "Profession Amount",
"description": "Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.",
"description": "Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.",
"example": "50",
"type": "number",
"type": "number",
"suggested": true
},
"3": {
"label": "Hide Label",
"description": "Whether to hide the profession label. Set to 1 to hide the label, default is 0.",
"default": "0",
"autovalue": "0",
"type": "boolean",
"suggested": true
"suggested": true
}
}
Line 18: Line 28:
}
}
</templatedata>
</templatedata>
<pre>
{{Profession|miner}} Displays Profession Name
{{Profession|miner|10}} Displays Profession Name and Level
{{Profession|miner|100|1}} Displays with Profession name hidden
</pre>

Latest revision as of 06:53, 17 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
Hide Label3

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

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