Template:Profession: Difference between revisions
(default to icon only, slightly larger, icon links to page instead of file) |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{{2|}}} |
<includeonly>{{#if:{{{2|}}}|{{{2}}} }}{{#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]] |
|||
}}{{#ifeq: {{{3|}}} | 1 | {{#if:{{{1|}}} | [[{{ucfirst:{{{1|}}}}}]] | {{Unknown}} }} }}</includeonly><noinclude>{{/doc}}</noinclude> |
Latest revision as of 08:32, 26 November 2024
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Profession | 1 | The profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions
| String | required |
Level/Exp | 2 | Optional: Specify a level or exp amount to display alongside the clickpic.
| Number | suggested |
Show profession name | 3 | Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.
| Boolean | suggested |