User:Californ1a/T/Professions: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
 
Line 15: Line 15:
{{#ifeq:{{#var:vert}}|no|
{{#ifeq:{{#var:vert}}|no|
{{!}}-
{{!}}-
{{!}} [[File:Guard icon.png|{{#var:size}}|link=Guard]] {{{guard|0}}}{{#if:{{{guard goal|}}}|/{{{guard goal}}}}}
{{!}} [[File:Guard small icon.png|{{#var:size}}|link=Guard]] {{{guard|0}}}{{#if:{{{guard goal|}}}|/{{{guard goal}}}}}
{{!}} [[File:Chef icon.png|{{#var:size}}|link=Chef]] {{{chef|0}}}{{#if:{{{chef goal|}}}|/{{{chef goal}}}}}
{{!}} [[File:Chef small icon.png|{{#var:size}}|link=Chef]] {{{chef|0}}}{{#if:{{{chef goal|}}}|/{{{chef goal}}}}}
{{!}} [[File:Fisher icon.png|{{#var:size}}|link=Fisher]] {{{fisher|0}}}{{#if:{{{fisher goal|}}}|/{{{fisher goal}}}}}
{{!}} [[File:Fisher small icon.png|{{#var:size}}|link=Fisher]] {{{fisher|0}}}{{#if:{{{fisher goal|}}}|/{{{fisher goal}}}}}
{{!}} [[File:Forager icon.png|{{#var:size}}|link=Forager]] {{{forager|0}}}{{#if:{{{forager goal|}}}|/{{{forager goal}}}}}
{{!}} [[File:Forager small icon.png|{{#var:size}}|link=Forager]] {{{forager|0}}}{{#if:{{{forager goal|}}}|/{{{forager goal}}}}}
{{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]] {{{alchemist|0}}}{{#if:{{{alchemist goal|}}}|/{{{alchemist goal}}}}}
{{!}} [[File:Alchemist small icon.png|{{#expr:{{#sub:{{#var:size}}|0|-2}}-5}}px|link=Alchemist]] {{{alchemist|0}}}{{#if:{{{alchemist goal|}}}|/{{{alchemist goal}}}}}
|
|
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} [[File:Guard icon.png|{{#var:size}}|link=Guard]]
{{!}}style="border:none" {{!}} [[File:Guard small icon.png|{{#var:size}}|link=Guard]]
{{!}}style="border:none" {{!}} [[File:Chef icon.png|{{#var:size}}|link=Chef]]
{{!}}style="border:none" {{!}} [[File:Chef small icon.png|{{#var:size}}|link=Chef]]
{{!}}style="border:none" {{!}} [[File:Fisher icon.png|{{#var:size}}|link=Fisher]]
{{!}}style="border:none" {{!}} [[File:Fisher small icon.png|{{#var:size}}|link=Fisher]]
{{!}}style="border:none" {{!}} [[File:Forager icon.png|{{#var:size}}|link=Forager]]
{{!}}style="border:none" {{!}} [[File:Forager small icon.png|{{#var:size}}|link=Forager]]
{{!}}style="border:none" {{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]]
{{!}}style="border:none" {{!}} [[File:Alchemist small icon.png|{{#expr:{{#sub:{{#var:size}}|0|-2}}-5}}px|link=Alchemist]]
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} {{{guard|0}}}{{#if:{{{guard goal|}}}|/{{{guard goal}}}}}
{{!}}style="border:none" {{!}} {{{guard|0}}}{{#if:{{{guard goal|}}}|/{{{guard goal}}}}}
Line 41: Line 41:
{{#ifeq:{{#var:vert}}|no|
{{#ifeq:{{#var:vert}}|no|
{{!}}-
{{!}}-
{{!}} [[File:Scout icon.png|{{#var:size}}|link=Scout]] {{{scout|0}}}{{#if:{{{scout goal|}}}|/{{{scout goal}}}}}
{{!}} [[File:Scout small icon.png|{{#var:size}}|link=Scout]] {{{scout|0}}}{{#if:{{{scout goal|}}}|/{{{scout goal}}}}}
{{!}} [[File:Gatherer icon.png|{{#var:size}}|link=Gatherer]] {{{gatherer|0}}}{{#if:{{{gatherer goal|}}}|/{{{gatherer goal}}}}}
{{!}} [[File:Gatherer small icon.png|{{#var:size}}|link=Gatherer]] {{{gatherer|0}}}{{#if:{{{gatherer goal|}}}|/{{{gatherer goal}}}}}
{{!}} [[File:Woodcutter icon.png|{{#var:size}}|link=Woodcutter]] {{{woodcutter|0}}}{{#if:{{{woodcutter goal|}}}|/{{{woodcutter goal}}}}}
{{!}} [[File:Woodcutter small icon.png|{{#var:size}}|link=Woodcutter]] {{{woodcutter|0}}}{{#if:{{{woodcutter goal|}}}|/{{{woodcutter goal}}}}}
{{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]] {{{carpenter|0}}}{{#if:{{{carpenter goal|}}}|/{{{carpenter goal}}}}}
{{!}} [[File:Carpenter small icon.png|{{#var:size}}|link=Carpenter]] {{{carpenter|0}}}{{#if:{{{carpenter goal|}}}|/{{{carpenter goal}}}}}
|
|
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} [[File:Scout icon.png|{{#var:size}}|link=Scout]]
{{!}}style="border:none" {{!}} [[File:Scout small icon.png|{{#var:size}}|link=Scout]]
{{!}}style="border:none" {{!}} [[File:Gatherer icon.png|{{#var:size}}|link=Gatherer]]
{{!}}style="border:none" {{!}} [[File:Gatherer small icon.png|{{#var:size}}|link=Gatherer]]
{{!}}style="border:none" {{!}} [[File:Woodcutter icon.png|{{#var:size}}|link=Woodcutter]]
{{!}}style="border:none" {{!}} [[File:Woodcutter small icon.png|{{#var:size}}|link=Woodcutter]]
{{!}}style="border:none" {{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]]
{{!}}style="border:none" {{!}} [[File:Carpenter small icon.png|{{#var:size}}|link=Carpenter]]
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} {{{scout|0}}}{{#if:{{{scout goal|}}}|/{{{scout goal}}}}}
{{!}}style="border:none" {{!}} {{{scout|0}}}{{#if:{{{scout goal|}}}|/{{{scout goal}}}}}
Line 68: Line 68:
{{#ifeq:{{#var:vert}}|no|
{{#ifeq:{{#var:vert}}|no|
{{!}}-
{{!}}-
{{!}}[[File:Minefighter icon.png|{{#var:size}}|link=Minefighter]] {{{minefighter|0}}}{{#if:{{{minefighter goal|}}}|/{{{minefighter goal}}}}}
{{!}}[[File:Minefighter small icon.png|{{#var:size}}|link=Minefighter]] {{{minefighter|0}}}{{#if:{{{minefighter goal|}}}|/{{{minefighter goal}}}}}
{{!}}[[File:Bonewright icon.png|{{#var:size}}|link=Bonewright]] {{{bonewright|0}}}{{#if:{{{bonewright goal|}}}|/{{{bonewright goal}}}}}
{{!}}[[File:Bonewright small icon.png|{{#var:size}}|link=Bonewright]] {{{bonewright|0}}}{{#if:{{{bonewright goal|}}}|/{{{bonewright goal}}}}}
{{!}}[[File:Miner icon.png|{{#var:size}}|link=Miner]] {{{miner|0}}}{{#if:{{{miner goal|}}}|/{{{miner goal}}}}}
{{!}}[[File:Miner small icon.png|{{#var:size}}|link=Miner]] {{{miner|0}}}{{#if:{{{miner goal|}}}|/{{{miner goal}}}}}
{{!}}[[File:Blacksmith icon.png|{{#var:size}}|link=Blacksmith]] {{{blacksmith|0}}}{{#if:{{{blacksmith goal|}}}|/{{{blacksmith goal}}}}}
{{!}}[[File:Blacksmith small icon.png|{{#var:size}}|link=Blacksmith]] {{{blacksmith|0}}}{{#if:{{{blacksmith goal|}}}|/{{{blacksmith goal}}}}}
{{!}}[[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]] {{{stonemason|0}}}{{#if:{{{stonemason goal|}}}|/{{{stonemason goal}}}}}
{{!}}[[File:Stonemason small icon.png|{{#var:size}}|link=Stonemason]] {{{stonemason|0}}}{{#if:{{{stonemason goal|}}}|/{{{stonemason goal}}}}}
|
|
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} [[File:Minefighter icon.png|{{#var:size}}|link=Minefighter]]
{{!}}style="border:none" {{!}} [[File:Minefighter small icon.png|{{#var:size}}|link=Minefighter]]
{{!}}style="border:none" {{!}} [[File:Bonewright icon.png|{{#var:size}}|link=Bonewright]]
{{!}}style="border:none" {{!}} [[File:Bonewright small icon.png|{{#var:size}}|link=Bonewright]]
{{!}}style="border:none" {{!}} [[File:Miner icon.png|{{#var:size}}|link=Miner]]
{{!}}style="border:none" {{!}} [[File:Miner small icon.png|{{#var:size}}|link=Miner]]
{{!}}style="border:none" {{!}} [[File:Blacksmith icon.png|{{#var:size}}|link=Blacksmith]]
{{!}}style="border:none" {{!}} [[File:Blacksmith small icon.png|{{#var:size}}|link=Blacksmith]]
{{!}}style="border:none" {{!}} [[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]]
{{!}}style="border:none" {{!}} [[File:Stonemason small icon.png|{{#var:size}}|link=Stonemason]]
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} {{{minefighter|0}}}{{#if:{{{minefighter goal|}}}|/{{{minefighter goal}}}}}
{{!}}style="border:none" {{!}} {{{minefighter|0}}}{{#if:{{{minefighter goal|}}}|/{{{minefighter goal}}}}}
Line 94: Line 94:
{{#ifeq:{{#var:vert}}|no|
{{#ifeq:{{#var:vert}}|no|
{{!}}-
{{!}}-
{{!}}[[File:Watchperson icon.png|{{#var:size}}|link=Watchperson]] {{#var:watchperson}}{{#if:{{#var:watchperson goal}}|/{{#var:watchperson goal}}}}
{{!}}[[File:Watchperson small icon.png|{{#var:size}}|link=Watchperson]] {{#var:watchperson}}{{#if:{{#var:watchperson goal}}|/{{#var:watchperson goal}}}}
{{!}}[[File:Detective icon.png|{{#var:size}}|link=Detective]] {{{detective|0}}}{{#if:{{{detective goal|}}}|/{{{detective goal}}}}}
{{!}}[[File:Detective small icon.png|{{#var:size}}|link=Detective]] {{{detective|0}}}{{#if:{{{detective goal|}}}|/{{{detective goal}}}}}
{{!}}[[File:Leatherworker icon.png|{{#var:size}}|link=Leatherworker]] {{{leatherworker|0}}}{{#if:{{{leatherworker goal|}}}|/{{{leatherworker goal}}}}}
{{!}}[[File:Leatherworker small icon.png|{{#var:size}}|link=Leatherworker]] {{{leatherworker|0}}}{{#if:{{{leatherworker goal|}}}|/{{{leatherworker goal}}}}}
{{!}}[[File:Merchant icon.png|{{#var:size}}|link=Merchant]] {{{merchant|0}}}{{#if:{{{merchant goal|}}}|/{{{merchant goal}}}}}
{{!}}[[File:Merchant small icon.png|{{#var:size}}|link=Merchant]] {{{merchant|0}}}{{#if:{{{merchant goal|}}}|/{{{merchant goal}}}}}
|
|
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} [[File:Watchperson icon.png|{{#var:size}}|link=Watchperson]]
{{!}}style="border:none" {{!}} [[File:Watchperson small icon.png|{{#var:size}}|link=Watchperson]]
{{!}}style="border:none" {{!}} [[File:Detective icon.png|{{#var:size}}|link=Detective]]
{{!}}style="border:none" {{!}} [[File:Detective small icon.png|{{#var:size}}|link=Detective]]
{{!}}style="border:none" {{!}} [[File:Leatherworker icon.png|{{#var:size}}|link=Leatherworker]]
{{!}}style="border:none" {{!}} [[File:Leatherworker small icon.png|{{#var:size}}|link=Leatherworker]]
{{!}}style="border:none" {{!}} [[File:Merchant icon.png|{{#var:size}}|link=Merchant]]
{{!}}style="border:none" {{!}} [[File:Merchant small icon.png|{{#var:size}}|link=Merchant]]
{{!}}-
{{!}}-
{{!}}style="border:none" {{!}} {{#var:watchperson}}{{#if:{{#var:watchperson goal}}|/{{#var:watchperson goal}}}}
{{!}}style="border:none" {{!}} {{#var:watchperson}}{{#if:{{#var:watchperson goal}}|/{{#var:watchperson goal}}}}

Latest revision as of 00:49, 30 November 2024

Template documentation
This documentation is transcluded from User:Californ1a/T/Professions/doc. [edit] [history] [purge]

The Professions template can be used to show a player's levels in each profession.

{{User:Californ1a/T/Professions
|vertical = "yes" or "no" to swap whether the level is displayed below the icon or beside it; default "no" if not provided.
|free = "yes" or "no" to display only free episodes; default "no" if not provided.
|date = "now" or any custom date
|<profession> = <level>
|<profession> goal = <goal level>
}}

Setting the date param to "now" will use the last edit date of the page the template is used on.

Examples

Vertical

{{User:Californ1a/T/Professions
|vertical = yes
|guard = 10
|chef = 10
|fisher = 10
|forager = 10
|alchemist = 10
|scout = 10
|gatherer = 10
|woodcutter = 10
|carpenter = 10
|minefighter = 10
|bonewright = 10
|miner = 10
|blacksmith = 10
|stonemason = 10
|watchperson = 10
|detective = 10
|leatherworker = 10
|merchant = 10
}}

Produces:

Professions (180)
Hopeport (50)
10 10 10 10 10
Hopeforest (40)
10 10 10 10
Mine of Mantuban (50)
10 10 10 10 10
Crenopolis (40)
10 10 10 10
Last Updated:
{{{date}}}

Horizontal

{{User:Californ1a/T/Professions
|vertical = no
|guard = 10
|chef = 10
|fisher = 10
|forager = 10
|alchemist = 10
|scout = 10
|gatherer = 10
|woodcutter = 10
|carpenter = 10
|minefighter = 10
|bonewright = 10
|miner = 10
|blacksmith = 10
|stonemason = 10
|watchperson = 10
|detective = 10
|leatherworker = 10
|merchant = 10
}}

Produces:

Professions (180)
Hopeport (50)
10 10 10 10 10
Hopeforest (40)
10 10 10 10
Mine of Mantuban (50)
10 10 10 10 10
Crenopolis (40)
10 10 10 10
Last Updated:
{{{date}}}

Free

{{User:Californ1a/T/Professions
|free = yes
|guard = 10
|chef = 10
|fisher = 10
|forager = 10
|alchemist = 10
|scout = 10
|gatherer = 10
|woodcutter = 10
|carpenter = 10
}}

Produces:

Professions (90)
Hopeport (50)
10 10 10 10 10
Hopeforest (40)
10 10 10 10
Last Updated:
{{{date}}}

Date

{{User:Californ1a/T/Professions
|free = yes
|date = now
}}

Produces:

Professions (0)
Hopeport (0)
0 0 0 0 0
Hopeforest (0)
0 0 0 0
Last Updated:
30 November 2024

Goals

{{User:Californ1a/T/Professions
|free = yes
|date = 12 December 1920
|guard = 10
|guard goal = 20
|chef = 20
|fisher = 20
|forager = 10
|forager goal = 20
|alchemist = 10
}}

Produces:

Professions (70)
Hopeport (70)
10/20 20 20 10/20 10
Hopeforest (0)
0 0 0 0
Last Updated:
12 December 1920

Goals vertical

{{User:Californ1a/T/Professions
|vertical = yes
|date = now
|free = yes
|guard = 10
|guard goal = 20
|chef = 20
|fisher = 20
|forager = 10
|forager goal = 20
|alchemist = 10
}}

Produces:

Professions (70)
Hopeport (70)
10/20 20 20 10/20 10
Hopeforest (0)
0 0 0 0
Last Updated:
30 November 2024


Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

The Professions template is used to display a player's profession levels.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Verticalvertical

Whether to have the profession level below the icon or beside it

Default
no
Example
yes
Booleanoptional
Freefree

Whether to display only the free episodes

Default
no
Example
yes
Booleanoptional
Datedate

If provided, displays a last updated date underneath. Can be either 'now' to use last revision date of the page, or any custom date string

Example
now
Stringoptional
Guardguard

Guard level

Default
0
Example
10
Numberoptional
Guard Goalguard goal

Guard goal level

Default
Example
10
Numberoptional
Chefchef

Chef level

Default
0
Example
10
Numberoptional
Chef Goalchef goal

Chef goal level

Default
Example
10
Numberoptional
Fisherfisher

Fisher level

Default
0
Example
10
Numberoptional
Fisher Goalfisher goal

Fisher goal level

Default
Example
10
Numberoptional
Foragerforager

Forager level

Default
0
Example
10
Numberoptional
Forager Goalforager goal

Forager goal level

Default
Example
10
Numberoptional
Alchemistalchemist

Alchemist level

Default
0
Example
10
Numberoptional
Alchemist Goalalchemist goal

Alchemist goal level

Default
Example
10
Numberoptional
Scoutscout

Scout level

Default
0
Example
10
Numberoptional
Scout Goalscout goal

Scout goal level

Default
Example
10
Numberoptional
Gatherergatherer

Gatherer level

Default
0
Example
10
Numberoptional
Gatherer Goalgatherer goal

Gatherer goal level

Default
Example
10
Numberoptional
Woodcutterwoodcutter

Woodcutter level

Default
0
Example
10
Numberoptional
Woodcutter Goalwoodcutter goal

Woodcutter goal level

Default
Example
10
Numberoptional
Carpentercarpenter

Carpenter level

Default
0
Example
10
Numberoptional
Carpenter Goalcarpenter goal

Carpenter goal level

Default
Example
10
Numberoptional
Minefighterminefighter

Minefighter level

Default
0
Example
10
Numberoptional
Minefighter Goalminefighter goal

Minefighter goal level

Default
Example
10
Numberoptional
Bonewrightbonewright

Bonewright level

Default
0
Example
10
Numberoptional
Bonewright Goalbonewright goal

Bonewright goal level

Default
Example
10
Numberoptional
Minerminer

Miner level

Default
0
Example
10
Numberoptional
Miner Goalminer goal

Miner goal level

Default
Example
10
Numberoptional
Blacksmithblacksmith

Blacksmith level

Default
0
Example
10
Numberoptional
Blacksmith Goalblacksmith goal

Blacksmith goal level

Default
Example
10
Numberoptional
Stonemasonstonemason

Stonemason level

Default
0
Example
10
Numberoptional
Stonemason Goalstonemason goal

Stonemason goal level

Default
Example
10
Numberoptional
Watchpersonwatchperson watchman watchwoman

Watchperson level

Default
0
Example
10
Numberoptional
Watchperson Goalwatchperson goal watchman goal watchwoman goal

Watchperson goal level

Default
Example
10
Numberoptional
Detectivedetective

Detective level

Default
0
Example
10
Numberoptional
Detective Goaldetective goal

Detective goal level

Default
Example
10
Numberoptional
Leatherworkerleatherworker

Leatherworker level

Default
0
Example
10
Numberoptional
Leatherworker Goalleatherworker goal

Leatherworker goal level

Default
Example
10
Numberoptional
Merchantmerchant

Merchant level

Default
0
Example
10
Numberoptional
Merchant Goalmerchant goal

Merchant goal level

Default
Example
10
Numberoptional