Template:Profession/doc: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 6:
==Usage==
 
Display Professionprofession clickpic (ex. {{PC|miner}})
 
<code><nowiki>{{PC|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>{{Profession|miner|10}}</nowiki></code>
{{PC|miner|10}}
 
 
Display with Profession clickpic, Level, and Name
 
Display with Professionprofession clickpic, Levellevel, and Name (ex. {{PC|miner|100|1}})
 
<code><nowiki>{{PC|miner|100|1}}</nowiki></code>
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code>
{{PC|miner|100|1}}
 
==Parameters==
<templatedata>
{
"description": "Displays a clickable profession nameicon alongthat withlinks itsto iconthe profession page. Useful for listing profession requirements or rewards",
"params": {
"1": {
"label": "Profession name",
"description": "The name of the Professionprofession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions",
"type": "string",
"required": true,
Line 37 ⟶ 38:
},
"2": {
"label": "Profession AmountLevel/Exp",
"description": "AllowsOptional: you to specifySpecify a level or exp amount to display alongside the icon. Leave blank to display just icon and nameclickpic.",
"example": "50",
"type": "number",
Line 44 ⟶ 45:
},
"3": {
"label": "Show Labelprofession name",
"description": "Optional: Whether to show the profession labelname. Set to 1 to show the labelname, default is 0.",
"default": "0",
"autovalue": "0",
2,644

edits