User:Californ1a/T/Professions: Difference between revisions
Californ1a (talk | contribs) mNo edit summary |
Californ1a (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:size|20px}}<!-- |
<includeonly>{{#vardefine:size|20px}}<!-- |
||
-->{{#vardefine:vert|{{yesno|{{{vertical|}}}|blank=no|false=no|true=yes}}}}<!-- |
-->{{#vardefine:vert|{{yesno|{{{vertical|}}}|blank=no|false=no|true=yes}}}}<!-- |
||
-->{{#vardefine:watchperson|{{{watchperson|{{{watchman|0}}}}}}}}<!-- |
-->{{#vardefine:watchperson|{{{watchperson|{{{watchman|{{{watchwoman|0}}}}}}}}}}}<!-- |
||
-->{{#vardefine:watchperson goal|{{{watchperson goal|{{{watchman goal|{{{watchwoman goal|}}}}}}}}}}}<!-- |
|||
-->{{#vardefine:hopeport|{{#expr:{{{guard|0}}}+{{{chef|0}}}+{{{fisher|0}}}+{{{forager|0}}}+{{{alchemist|0}}}}}}}<!-- |
-->{{#vardefine:hopeport|{{#expr:{{{guard|0}}}+{{{chef|0}}}+{{{fisher|0}}}+{{{forager|0}}}+{{{alchemist|0}}}}}}}<!-- |
||
-->{{#vardefine:hopeforest|{{#expr:{{{scout|0}}}+{{{gatherer|0}}}+{{{woodcutter|0}}}+{{{carpenter|0}}}}}}}<!-- |
-->{{#vardefine:hopeforest|{{#expr:{{{scout|0}}}+{{{gatherer|0}}}+{{{woodcutter|0}}}+{{{carpenter|0}}}}}}}<!-- |
||
Line 13: | Line 14: | ||
{{#ifeq:{{#var:vert}}|no| |
{{#ifeq:{{#var:vert}}|no| |
||
{{!}}- |
{{!}}- |
||
{{!}} [[File:Guard icon.png|{{#var:size}}|link=Guard]] {{{guard|0}}} |
{{!}} [[File:Guard icon.png|{{#var:size}}|link=Guard]] {{{guard|0}}}{{#if:{{{guard goal|}}}|/{{{guard goal}}}}} |
||
{{!}} [[File:Chef icon.png|{{#var:size}}|link=Chef]] {{{chef|0}}} |
{{!}} [[File:Chef icon.png|{{#var:size}}|link=Chef]] {{{chef|0}}}{{#if:{{{chef goal|}}}|/{{{chef goal}}}}} |
||
{{!}} [[File:Fisher icon.png|{{#var:size}}|link=Fisher]] {{{fisher|0}}} |
{{!}} [[File:Fisher icon.png|{{#var:size}}|link=Fisher]] {{{fisher|0}}}{{#if:{{{fisher goal|}}}|/{{{fisher goal}}}}} |
||
{{!}} [[File:Forager icon.png|{{#var:size}}|link=Forager]] {{{forager|0}}} |
{{!}} [[File:Forager icon.png|{{#var:size}}|link=Forager]] {{{forager|0}}}{{#if:{{{forager goal|}}}|/{{{forager goal}}}}} |
||
{{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]] {{{alchemist|0}}} |
{{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]] {{{alchemist|0}}}{{#if:{{{alchemist goal|}}}|/{{{alchemist goal}}}}} |
||
| |
| |
||
{{!}}- |
{{!}}- |
||
Line 26: | Line 27: | ||
{{!}}style="border:none" {{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]] |
{{!}}style="border:none" {{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]] |
||
{{!}}- |
{{!}}- |
||
{{!}}style="border:none" {{!}} {{{guard|0}}} |
{{!}}style="border:none" {{!}} {{{guard|0}}}{{#if:{{{guard goal|}}}|/{{{guard goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{chef|0}}} |
{{!}}style="border:none" {{!}} {{{chef|0}}}{{#if:{{{chef goal|}}}|/{{{chef goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{fisher|0}}} |
{{!}}style="border:none" {{!}} {{{fisher|0}}}{{#if:{{{fisher goal|}}}|/{{{fisher goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{forager|0}}} |
{{!}}style="border:none" {{!}} {{{forager|0}}}{{#if:{{{forager goal|}}}|/{{{forager goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{alchemist|0}}} |
{{!}}style="border:none" {{!}} {{{alchemist|0}}}{{#if:{{{alchemist goal|}}}|/{{{alchemist goal}}}}} |
||
}} |
}} |
||
|} |
|} |
||
Line 39: | Line 40: | ||
{{#ifeq:{{#var:vert}}|no| |
{{#ifeq:{{#var:vert}}|no| |
||
{{!}}- |
{{!}}- |
||
{{!}} [[File:Scout icon.png|{{#var:size}}|link=Scout]] {{{scout|0}}} |
{{!}} [[File:Scout icon.png|{{#var:size}}|link=Scout]] {{{scout|0}}}{{#if:{{{scout goal|}}}|/{{{scout goal}}}}} |
||
{{!}} [[File:Gatherer icon.png|{{#var:size}}|link=Gatherer]] {{{gatherer|0}}} |
{{!}} [[File:Gatherer icon.png|{{#var:size}}|link=Gatherer]] {{{gatherer|0}}}{{#if:{{{gatherer goal|}}}|/{{{gatherer goal}}}}} |
||
{{!}} [[File:Woodcutter icon.png|{{#var:size}}|link=Woodcutter]] {{{woodcutter|0}}} |
{{!}} [[File:Woodcutter icon.png|{{#var:size}}|link=Woodcutter]] {{{woodcutter|0}}}{{#if:{{{woodcutter goal|}}}|/{{{woodcutter goal}}}}} |
||
{{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]] {{{carpenter|0}}} |
{{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]] {{{carpenter|0}}}{{#if:{{{carpenter goal|}}}|/{{{carpenter goal}}}}} |
||
| |
| |
||
{{!}}- |
{{!}}- |
||
Line 50: | Line 51: | ||
{{!}}style="border:none" {{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]] |
{{!}}style="border:none" {{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]] |
||
{{!}}- |
{{!}}- |
||
{{!}}style="border:none" {{!}} {{{scout|0}}} |
{{!}}style="border:none" {{!}} {{{scout|0}}}{{#if:{{{scout goal|}}}|/{{{scout goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{gatherer|0}}} |
{{!}}style="border:none" {{!}} {{{gatherer|0}}}{{#if:{{{gatherer goal|}}}|/{{{gatherer goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{woodcutter|0}}} |
{{!}}style="border:none" {{!}} {{{woodcutter|0}}}{{#if:{{{woodcutter goal|}}}|/{{{woodcutter goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{carpenter|0}}} |
{{!}}style="border:none" {{!}} {{{carpenter|0}}}{{#if:{{{carpenter goal|}}}|/{{{carpenter goal}}}}} |
||
}} |
}} |
||
|} |
|} |
||
Line 66: | Line 67: | ||
{{#ifeq:{{#var:vert}}|no| |
{{#ifeq:{{#var:vert}}|no| |
||
{{!}}- |
{{!}}- |
||
{{!}}[[File:Minefighter icon.png|{{#var:size}}|link=Minefighter]] {{{minefighter|0}}} |
{{!}}[[File:Minefighter icon.png|{{#var:size}}|link=Minefighter]] {{{minefighter|0}}}{{#if:{{{minefighter goal|}}}|/{{{minefighter goal}}}}} |
||
{{!}}[[File:Bonewright icon.png|{{#var:size}}|link=Bonewright]] {{{bonewright|0}}} |
{{!}}[[File:Bonewright icon.png|{{#var:size}}|link=Bonewright]] {{{bonewright|0}}}{{#if:{{{bonewright goal|}}}|/{{{bonewright goal}}}}} |
||
{{!}}[[File:Miner icon.png|{{#var:size}}|link=Miner]] {{{miner|0}}} |
{{!}}[[File:Miner icon.png|{{#var:size}}|link=Miner]] {{{miner|0}}}{{#if:{{{miner goal|}}}|/{{{miner goal}}}}} |
||
{{!}}[[File:Blacksmith icon.png|{{#var:size}}|link=Blacksmith]] {{{blacksmith|0}}} |
{{!}}[[File:Blacksmith icon.png|{{#var:size}}|link=Blacksmith]] {{{blacksmith|0}}}{{#if:{{{blacksmith goal|}}}|/{{{blacksmith goal}}}}} |
||
{{!}}[[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]] {{{stonemason|0}}} |
{{!}}[[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]] {{{stonemason|0}}}{{#if:{{{stonemason goal|}}}|/{{{stonemason goal}}}}} |
||
| |
| |
||
{{!}}- |
{{!}}- |
||
Line 79: | Line 80: | ||
{{!}}style="border:none" {{!}} [[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]] |
{{!}}style="border:none" {{!}} [[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]] |
||
{{!}}- |
{{!}}- |
||
{{!}}style="border:none" {{!}} {{{minefighter|0}}} |
{{!}}style="border:none" {{!}} {{{minefighter|0}}}{{#if:{{{minefighter goal|}}}|/{{{minefighter goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{bonewright|0}}} |
{{!}}style="border:none" {{!}} {{{bonewright|0}}}{{#if:{{{bonewright goal|}}}|/{{{bonewright goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{miner|0}}} |
{{!}}style="border:none" {{!}} {{{miner|0}}}{{#if:{{{miner goal|}}}|/{{{miner goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{blacksmith|0}}} |
{{!}}style="border:none" {{!}} {{{blacksmith|0}}}{{#if:{{{blacksmith goal|}}}|/{{{blacksmith goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{stonemason|0}}} |
{{!}}style="border:none" {{!}} {{{stonemason|0}}}{{#if:{{{stonemason goal|}}}|/{{{stonemason goal}}}}} |
||
}} |
}} |
||
{{!}}} |
{{!}}} |
||
Line 92: | Line 93: | ||
{{#ifeq:{{#var:vert}}|no| |
{{#ifeq:{{#var:vert}}|no| |
||
{{!}}- |
{{!}}- |
||
{{!}}[[File:Watchperson icon.png|{{#var:size}}|link=Watchperson]] {{#var:watchperson}} |
{{!}}[[File:Watchperson 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}}} |
{{!}}[[File:Detective icon.png|{{#var:size}}|link=Detective]] {{{detective|0}}}{{#if:{{{detective goal|}}}|/{{{detective goal}}}}} |
||
{{!}}[[File:Leatherworker icon.png|{{#var:size}}|link=Leatherworker]] {{{leatherworker|0}}} |
{{!}}[[File:Leatherworker icon.png|{{#var:size}}|link=Leatherworker]] {{{leatherworker|0}}}{{#if:{{{leatherworker goal|}}}|/{{{leatherworker goal}}}}} |
||
{{!}}[[File:Merchant icon.png|{{#var:size}}|link=Merchant]] {{{merchant|0}}} |
{{!}}[[File:Merchant icon.png|{{#var:size}}|link=Merchant]] {{{merchant|0}}}{{#if:{{{merchant goal|}}}|/{{{merchant goal}}}}} |
||
| |
| |
||
{{!}}- |
{{!}}- |
||
Line 103: | Line 104: | ||
{{!}}style="border:none" {{!}} [[File:Merchant icon.png|{{#var:size}}|link=Merchant]] |
{{!}}style="border:none" {{!}} [[File:Merchant icon.png|{{#var:size}}|link=Merchant]] |
||
{{!}}- |
{{!}}- |
||
{{!}}style="border:none" {{!}} {{#var:watchperson}} |
{{!}}style="border:none" {{!}} {{#var:watchperson}}{{#if:{{#var:watchperson goal}}|/{{#var:watchperson goal}}}} |
||
{{!}}style="border:none" {{!}} {{{detective|0}}} |
{{!}}style="border:none" {{!}} {{{detective|0}}}{{#if:{{{detective goal|}}}|/{{{detective goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{leatherworker|0}}} |
{{!}}style="border:none" {{!}} {{{leatherworker|0}}}{{#if:{{{leatherworker goal|}}}|/{{{leatherworker goal}}}}} |
||
{{!}}style="border:none" {{!}} {{{merchant|0}}} |
{{!}}style="border:none" {{!}} {{{merchant|0}}}{{#if:{{{merchant goal|}}}|/{{{merchant goal}}}}} |
||
}} |
}} |
||
{{!}}} |
{{!}}} |
||
}} |
}} |
||
{{#if:{{{date|}}}|{{!}}- |
|||
{{!}} style="text-align:center" {{!}} <small><b>Last Updated:</b><br>{{#ifeq:{{{date}}}|now|{{#time:j F Y|{{REVISIONTIMESTAMP}}}}|{{{date}}}}}</small>}} |
|||
|}</includeonly><noinclude>{{/doc}}</noinclude> |
|}</includeonly><noinclude>{{/doc}}</noinclude> |
Revision as of 14:52, 25 November 2024
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:
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
|
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:
| ||||||||||
| ||||||||||
| ||||||||||
|
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:
| ||||||||||
|
Date
{{User:Californ1a/T/Professions |free = yes |date = now }}
Produces:
| ||||||||||
| ||||||||||
Last Updated: 25 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:
| ||||||||||
| ||||||||||
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:
| |||||||||||||||
| |||||||||||||||
Last Updated: 25 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.
|