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 1: | Line 1: | ||
{{Documentation}} |
{{Documentation}} |
||
{{Shortcut|Template:PC}} |
|||
Display Profession Icon |
|||
The '''Profession clickpic''' template displays a clickable profession icon that links to the profession page. |
|||
==Usage== |
|||
Display profession clickpic (ex. {{PC|miner}}) |
|||
<code><nowiki>{{PC|miner}}</nowiki></code> |
|||
<code><nowiki>{{Profession|miner}}</nowiki></code> |
<code><nowiki>{{Profession|miner}}</nowiki></code> |
||
{{Profession|miner}} |
|||
Display Profession Icon and Level |
|||
Display profession clickpic and level (ex. {{PC|miner|10}}) |
|||
<code><nowiki>{{PC|miner|10}}</nowiki></code> |
|||
<code><nowiki>{{Profession|miner|10}}</nowiki></code> |
<code><nowiki>{{Profession|miner|10}}</nowiki></code> |
||
{{Profession|miner|10}} |
|||
Display with Profession Icon, Level, and Name |
|||
Display with profession clickpic, level, and Name (ex. {{PC|miner|100|1}}) |
|||
<code><nowiki>{{PC|miner|100|1}}</nowiki></code> |
|||
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code> |
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code> |
||
{{Profession|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}} |
|||
|- |
|||
| miner || {{PC|miner}} |
|||
|- |
|||
| 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== |
|||
<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 36: | ||
}, |
}, |
||
"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", |