Template:Profession/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
==Usage== |
==Usage== |
||
Display |
Display profession clickpic (ex. {{PC|miner}}) |
||
<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}} |
|||
==Parameters== |
==Parameters== |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"description": "Displays a profession |
"description": "Displays a clickable profession icon that links to the profession page. Useful for listing profession requirements or rewards", |
||
"params": { |
"params": { |
||
"1": { |
"1": { |
||
"label": "Profession |
"label": "Profession", |
||
"description": "The |
"description": "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 37: | Line 38: | ||
}, |
}, |
||
"2": { |
"2": { |
||
"label": " |
"label": "Level/Exp", |
||
"description": " |
"description": "Optional: Specify a level or exp amount to display alongside the clickpic.", |
||
"example": "50", |
"example": "50", |
||
"type": "number", |
"type": "number", |
||
Line 44: | Line 45: | ||
}, |
}, |
||
"3": { |
"3": { |
||
"label": "Show |
"label": "Show profession name", |
||
"description": "Whether to show the profession |
"description": "Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.", |
||
"default": "0", |
"default": "0", |
||
"autovalue": "0", |
"autovalue": "0", |