Template:Profession: Difference between revisions

mNo edit summary
m (improve unknown state)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<b style="padding: 0px 4px;">{{{2|}}}</b>{{#switch: {{lc:{{{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:Guard small icon.png|18x18px]]}} {{#if:{{{1|}}} | [[{{ucfirst:{{{1|}}}}}]] | }}<noinclude>
| #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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Profession name1

The name of the Profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions

Suggested values
guard chef fisher forager alchemist scout gatherer woodcutter carpenter minefighter bonewright miner blacksmith stonemason watchperson detective leatherworker merchant
Stringrequired
Profession Amount2

Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.

Example
50
Numbersuggested
Hide Label3

Whether to hide the profession label. Set to 1 to hide the label, default is 0.

Default
0
Auto value
0
Booleansuggested
{{Profession|miner}} Displays Profession Name
{{Profession|miner|10}} Displays Profession Name and Level
{{Profession|miner|100|1}} Displays with Profession name hidden