Template:Profession: Difference between revisions
mNo edit summary |
m (improve unknown state) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< |
<span style="padding: 0px 4px 0px 0px;">{{{2|}}}</span>{{#switch: {{lc:{{{1|}}}}} |
||
| guard = [[File:Guard small icon.png|18x18px]] |
| guard = [[File:Guard small icon.png|18x18px]] |
||
| chef = [[File:Chef small icon.png|18x18px]] |
| chef = [[File:Chef small icon.png|18x18px]] |
||
Line 18: | Line 18: | ||
| leatherworker = [[File:Leatherworker small icon.png|18x18px]] |
| leatherworker = [[File:Leatherworker small icon.png|18x18px]] |
||
| merchant = [[File:Merchant small icon.png|18x18px]] |
| merchant = [[File:Merchant small icon.png|18x18px]] |
||
| #default = [[File: |
| #default = [[File:Unknown episode infobox icon.png|18x18px]]}} {{#ifeq: {{{3|}}} | 1 | | {{#if:{{{1|}}} | [[{{ucfirst:{{{1|}}}}}]] | {{Unknown}} }}}}<noinclude>{{/doc}}</noinclude> |
||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"example": "guard", |
|||
"type": "string", |
|||
"required": true, |
|||
"label": "Profession", |
|||
"description": "Name of the profession" |
|||
}, |
|||
"2": { |
|||
"example": "10", |
|||
"type": "number", |
|||
"required": true, |
|||
"label": "Profession Level/Exp Amount", |
|||
"description": "Level/Exp Amount of the profession", |
|||
"default": "1" |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
Latest revision as of 06:26, 17 November 2024
Unknown (edit)
Displays a profession name along with its icon. Useful for listing profession requirements or rewards
Parameter | Description | Type | Status | |
---|---|---|---|---|
Profession name | 1 | The name of the Profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions
| String | required |
Profession Amount | 2 | Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.
| Number | suggested |
Hide Label | 3 | Whether to hide the profession label. Set to 1 to hide the label, default is 0.
| Boolean | suggested |
{{Profession|miner}} Displays Profession Name {{Profession|miner|10}} Displays Profession Name and Level {{Profession|miner|100|1}} Displays with Profession name hidden