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> |
||
{{PC|miner}} |
|||
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}} |
|||
Line 85: | Line 84: | ||
<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, |
||
Line 95: | Line 94: | ||
}, |
}, |
||
"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 101: | ||
}, |
}, |
||
"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", |