Template:Profession: Difference between revisions

mNo edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{{2|}}} {{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#if:{{{2|}}}|{{{2}}}&nbsp;}}{{#switch: {{lc:{{{1|}}}}}
| guard = [[File:Guard small icon.png|21x21px|link=Guard]]
| guard = [[File:Guard small icon.png|21x21px|link=Guard]]
| chef = [[File:Chef small icon.png|21x21px|link=Chef]]
| chef = [[File:Chef small icon.png|21x21px|link=Chef]]
Line 18: Line 18:
| leatherworker = [[File:Leatherworker small icon.png|21x21px|link=Leatherworker]]
| leatherworker = [[File:Leatherworker small icon.png|21x21px|link=Leatherworker]]
| merchant = [[File:Merchant small icon.png|21x21px|link=Merchant]]
| merchant = [[File:Merchant small icon.png|21x21px|link=Merchant]]
| shieldbearer = [[File:Shieldbearer small icon.png|21x21px|link=Shieldbearer]]
| builder = [[File:Builder small icon.png|21x21px|link=Builder]]
| armorer = [[File:Armorer small icon.png|21x21px|link=Armorer]]
| unknown_gathering = [[File:Unknown Gathering small icon.png|21x21px|link=Unknown Gathering]]
| #default = [[File:Professions small icon.png|21x21px|link=Professions]]
| #default = [[File:Professions small icon.png|21x21px|link=Professions]]
}}{{#ifeq: {{{3|}}} | 1 | &nbsp;{{#if:{{{1|}}} | [[{{ucfirst:{{{1|}}}}}]] | {{Unknown}} }} }}</includeonly><noinclude>{{/doc}}</noinclude>
}}{{#ifeq: {{{3|}}} | 1 | &nbsp;{{#if:{{{1|}}} | [[{{ucfirst:{{{1|}}}}}]] | {{Unknown}} }} }}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 08:32, 26 November 2024

Template documentation
This documentation is transcluded from Template:Profession/doc. [edit] [history] [purge]

The Profession clickpic template displays a clickable profession icon that links to the profession page.

Usage

Display profession clickpic (ex. )

{{PC|miner}} {{Profession|miner}}


Display profession clickpic and level (ex. 10 )

{{PC|miner|10}} {{Profession|miner|10}}


Display with profession clickpic, level, and Name (ex. 100  Miner)

{{PC|miner|100|1}} {{Profession|miner|100|1}}

Parameters

Displays a clickable profession icon that links to the profession page. Useful for listing profession requirements or rewards

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Profession1

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 shieldbearer builder armorer unknown_gathering
Stringrequired
Level/Exp2

Optional: Specify a level or exp amount to display alongside the clickpic.

Example
50
Numbersuggested
Show profession name3

Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.

Default
0
Auto value
0
Booleansuggested