Template:Profession/doc: Difference between revisions
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
"3": { |
"3": { |
||
"label": "Hide Label", |
"label": "Hide Label", |
||
"description": "Whether to hide the profession label. Set to |
"description": "Whether to hide the profession label. Set to 1 to hide the label, default is 0.", |
||
"default": " |
"default": "0", |
||
⚫ | |||
"type": "boolean", |
"type": "boolean", |
||
"suggested": true |
"suggested": true |
||
⚫ | |||
} |
} |
||
} |
} |
||
} |
} |
||
</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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Profession name | 1 | The name of the Profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions
| String | required |
Profession Amount | 2 | Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.
| Number | suggested |
Hide Label | 3 | Whether to hide the profession label. Set to 1 to hide the label, default is 0.
| Boolean | suggested |
{{Profession|miner}} Displays Profession Name {{Profession|miner|10}} Displays Profession Name and Level {{Profession|miner|100|1}} Displays with Profession name hidden