Template:Profession/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
No edit summary |
||
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 |
"suggested": true |
||
}, |
|||
"3": { |
|||
"label": "Hide Label", |
|||
"description": "Whether to hide the profession label. Set to true to hide the label, default is false.", |
|||
"default": "false", |
|||
"type": "boolean", |
|||
"suggested": true, |
|||
"suggestedvalues": ["true","false"] |
|||
} |
} |
||
} |
} |
Revision as of 05:49, 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 true to hide the label, default is false.
| Boolean | suggested |