Editing Template:Profession/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
==Usage== |
==Usage== |
||
Display |
Display Profession clickpic |
||
<code><nowiki>{{PC|miner}}</nowiki></code> |
<code><nowiki>{{PC|miner}}</nowiki></code> |
||
<code><nowiki>{{Profession|miner}}</nowiki></code> |
<code><nowiki>{{Profession|miner}}</nowiki></code> |
||
⚫ | |||
Display Profession clickpic and Level |
|||
Display profession clickpic and level (ex. {{PC|miner|10}}) |
|||
<code><nowiki>{{PC|miner|10}}</nowiki></code> |
<code><nowiki>{{PC|miner|10}}</nowiki></code> |
||
<code><nowiki>{{Profession|miner|10}}</nowiki></code> |
<code><nowiki>{{Profession|miner|10}}</nowiki></code> |
||
{{PC|miner|10}} |
|||
⚫ | |||
⚫ | |||
<code><nowiki>{{PC|miner|100|1}}</nowiki></code> |
<code><nowiki>{{PC|miner|100|1}}</nowiki></code> |
||
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code> |
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code> |
||
{{PC|miner|100|1}} |
|||
{| class="wikitable" |
|||
|+ Supported Professions |
|||
|- |
|||
| guard || {{PC|guard}} |
|||
|- |
|||
| chef || {{PC|chef}} |
|||
|- |
|||
| fisher || {{PC|fisher}} |
|||
|- |
|||
| forager || {{PC|forager}} |
|||
|- |
|||
| alchemist || {{PC|alchemist}} |
|||
|- |
|||
| scout || {{PC|scout}} |
|||
|- |
|||
| gatherer || {{PC|gatherer}} |
|||
|- |
|||
| woodcutter || {{PC|woodcutter}} |
|||
|- |
|||
| carpenter || {{PC|carpenter}} |
|||
|- |
|||
| minefighter || {{PC|minefighter}} |
|||
|- |
|||
| bonewright || {{PC|bonewright}} |
|||
|- |
|||
⚫ | |||
|- |
|||
| blacksmith || {{PC|blacksmith}} |
|||
|- |
|||
| stonemason || {{PC|stonemason}} |
|||
|- |
|||
| blacksmith_stonemason || {{PC|blacksmith_stonemason}} |
|||
|- |
|||
| blacksmith_bonewright || {{PC|blacksmith_bonewright}} |
|||
|- |
|||
| stonemason_bonewright || {{PC|stonemason_bonewright}} |
|||
|- |
|||
| blacksmith_stonemason_bonewright || {{PC|blacksmith_stonemason_bonewright}} |
|||
|- |
|||
| watchperson || {{PC|watchperson}} |
|||
|- |
|||
| detective || {{PC|detective}} |
|||
|- |
|||
| leatherworker || {{PC|leatherworker}} |
|||
|- |
|||
| merchant || {{PC|merchant}} |
|||
|- |
|||
| shieldbearer || {{PC|shieldbearer}} |
|||
|- |
|||
| builder || {{PC|builder}} |
|||
|- |
|||
| armorer || {{PC|armorer}} |
|||
|- |
|||
| unknown_gathering || {{PC|unknown_gathering}} |
|||
|} |
|||
==Parameters== |
==Parameters== |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"description": "Displays a |
"description": "Displays a profession name along with its icon. Useful for listing profession requirements or rewards", |
||
"params": { |
"params": { |
||
"1": { |
"1": { |
||
"label": "Profession", |
"label": "Profession name", |
||
"description": "The |
"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 |
"suggestedvalues": ["guard", "chef", "fisher", "forager", "alchemist", "scout", "gatherer", "woodcutter", "carpenter", "minefighter", "bonewright", "miner", "blacksmith", "stonemason", "watchperson", "detective", "leatherworker", "merchant", "shieldbearer", "builder", "armorer", "unknown_gathering"] |
||
}, |
}, |
||
"2": { |
"2": { |
||
"label": " |
"label": "Profession Amount", |
||
"description": " |
"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", |
"example": "50", |
||
"type": "number", |
"type": "number", |
||
Line 102: | Line 44: | ||
}, |
}, |
||
"3": { |
"3": { |
||
"label": "Show |
"label": "Show Label", |
||
"description": " |
"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", |