User:Californ1a/T/Professions: Difference between revisions
Californ1a (talk | contribs) mNo edit summary |
Californ1a (talk | contribs) m (Replaced content with "<includeonly>{{#invoke:Sandbox/User:Californ1a/T/Professions|main}}</includeonly><noinclude>{{/doc}}</noinclude>") Tag: Replaced |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Sandbox/User:Californ1a/T/Professions|main}}</includeonly><noinclude>{{/doc}}</noinclude> |
|||
<includeonly>{{#vardefine:size|20px}}<!-- |
|||
-->{{#vardefine:vert|{{yesno|{{{vertical|}}}|blank=no|false=no|true=yes}}}}<!-- |
|||
-->{{#vardefine:watchperson|{{{watchperson|{{{watchman|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:mantuban|{{#expr:{{{minefighter|0}}}+{{{bonewright|0}}}+{{{miner|0}}}+{{{blacksmith|0}}}+{{{stonemason|0}}}}}}}<!-- |
|||
-->{{#vardefine:crenopolis|{{#expr:{{#var:watchperson}}+{{{detective|0}}}+{{{leatherworker|0}}}+{{{merchant|0}}}}}}} |
|||
{| class="" |
|||
|+ style="font-weight:bold" | Professions ({{#expr:{{#var:hopeport}}+{{#var:hopeforest}}+{{#var:mantuban}}+{{#var:crenopolis}}}}) |
|||
| |
|||
{| class="wikitable center" style="margin:0;padding:0" |
|||
!colspan="5" style="background-color:#b99f46" | Hopeport ({{#var:hopeport}}) |
|||
{{#ifeq:{{#var:vert}}|no| |
|||
{{!}}- |
|||
{{!}} [[File:Guard icon.png|{{#var:size}}|link=Guard]] {{{guard|0}}} |
|||
{{!}} [[File:Chef icon.png|{{#var:size}}|link=Chef]] {{{chef|0}}} |
|||
{{!}} [[File:Fisher icon.png|{{#var:size}}|link=Fisher]] {{{fisher|0}}} |
|||
{{!}} [[File:Forager icon.png|{{#var:size}}|link=Forager]] {{{forager|0}}} |
|||
{{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]] {{{alchemist|0}}} |
|||
| |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} [[File:Guard icon.png|{{#var:size}}|link=Guard]] |
|||
{{!}}style="border:none" {{!}} [[File:Chef icon.png|{{#var:size}}|link=Chef]] |
|||
{{!}}style="border:none" {{!}} [[File:Fisher icon.png|{{#var:size}}|link=Fisher]] |
|||
{{!}}style="border:none" {{!}} [[File:Forager icon.png|{{#var:size}}|link=Forager]] |
|||
{{!}}style="border:none" {{!}} [[File:Alchemist icon.png|{{#var:size}}|link=Alchemist]] |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} {{{guard|0}}} |
|||
{{!}}style="border:none" {{!}} {{{chef|0}}} |
|||
{{!}}style="border:none" {{!}} {{{fisher|0}}} |
|||
{{!}}style="border:none" {{!}} {{{forager|0}}} |
|||
{{!}}style="border:none" {{!}} {{{alchemist|0}}} |
|||
}} |
|||
|} |
|||
|- |
|||
| |
|||
{| class="wikitable center" style="margin:0;padding:0" |
|||
!colspan="4" style="background-color:#84b876" | Hopeforest ({{#var:hopeforest}}) |
|||
{{#ifeq:{{#var:vert}}|no| |
|||
{{!}}- |
|||
{{!}} [[File:Scout icon.png|{{#var:size}}|link=Scout]] {{{scout|0}}} |
|||
{{!}} [[File:Gatherer icon.png|{{#var:size}}|link=Gatherer]] {{{gatherer|0}}} |
|||
{{!}} [[File:Woodcutter icon.png|{{#var:size}}|link=Woodcutter]] {{{woodcutter|0}}} |
|||
{{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]] {{{carpenter|0}}} |
|||
| |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} [[File:Scout icon.png|{{#var:size}}|link=Scout]] |
|||
{{!}}style="border:none" {{!}} [[File:Gatherer icon.png|{{#var:size}}|link=Gatherer]] |
|||
{{!}}style="border:none" {{!}} [[File:Woodcutter icon.png|{{#var:size}}|link=Woodcutter]] |
|||
{{!}}style="border:none" {{!}} [[File:Carpenter icon.png|{{#var:size}}|link=Carpenter]] |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} {{{scout|0}}} |
|||
{{!}}style="border:none" {{!}} {{{gatherer|0}}} |
|||
{{!}}style="border:none" {{!}} {{{woodcutter|0}}} |
|||
{{!}}style="border:none" {{!}} {{{carpenter|0}}} |
|||
}} |
|||
|} |
|||
|- |
|||
| |
|||
{| class="wikitable center" style="margin:0;padding:0" |
|||
!colspan="5" style="background-color:#68ABF1" | Mine of Mantuban ({{#var:mantuban}}) |
|||
{{#ifeq:{{#var:vert}}|no| |
|||
{{!}}- |
|||
{{!}}[[File:Minefighter icon.png|{{#var:size}}|link=Minefighter]] {{{minefighter|0}}} |
|||
{{!}}[[File:Bonewright icon.png|{{#var:size}}|link=Bonewright]] {{{bonewright|0}}} |
|||
{{!}}[[File:Miner icon.png|{{#var:size}}|link=Miner]] {{{miner|0}}} |
|||
{{!}}[[File:Blacksmith icon.png|{{#var:size}}|link=Blacksmith]] {{{blacksmith|0}}} |
|||
{{!}}[[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]] {{{stonemason|0}}} |
|||
| |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} [[File:Minefighter icon.png|{{#var:size}}|link=Minefighter]] |
|||
{{!}}style="border:none" {{!}} [[File:Bonewright icon.png|{{#var:size}}|link=Bonewright]] |
|||
{{!}}style="border:none" {{!}} [[File:Miner icon.png|{{#var:size}}|link=Miner]] |
|||
{{!}}style="border:none" {{!}} [[File:Blacksmith icon.png|{{#var:size}}|link=Blacksmith]] |
|||
{{!}}style="border:none" {{!}} [[File:Stonemason icon.png|{{#var:size}}|link=Stonemason]] |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} {{{minefighter|0}}} |
|||
{{!}}style="border:none" {{!}} {{{bonewright|0}}} |
|||
{{!}}style="border:none" {{!}} {{{miner|0}}} |
|||
{{!}}style="border:none" {{!}} {{{blacksmith|0}}} |
|||
{{!}}style="border:none" {{!}} {{{stonemason|0}}} |
|||
}} |
|||
|} |
|||
|- |
|||
| |
|||
{| class="wikitable center" style="margin:0;padding:0" |
|||
!colspan="4" style="background-color:#979797" | Crenopolis ({{#var:crenopolis}}) |
|||
{{#ifeq:{{#var:vert}}|no| |
|||
{{!}}- |
|||
{{!}}[[File:Watchperson icon.png|{{#var:size}}|link=Watchperson]] {{#var:watchperson}} |
|||
{{!}}[[File:Detective icon.png|{{#var:size}}|link=Detective]] {{{detective|0}}} |
|||
{{!}}[[File:Leatherworker icon.png|{{#var:size}}|link=Leatherworker]] {{{leatherworker|0}}} |
|||
{{!}}[[File:Merchant icon.png|{{#var:size}}|link=Merchant]] {{{merchant|0}}} |
|||
| |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} [[File:Watchperson icon.png|{{#var:size}}|link=Watchperson]] |
|||
{{!}}style="border:none" {{!}} [[File:Detective icon.png|{{#var:size}}|link=Detective]] |
|||
{{!}}style="border:none" {{!}} [[File:Leatherworker icon.png|{{#var:size}}|link=Leatherworker]] |
|||
{{!}}style="border:none" {{!}} [[File:Merchant icon.png|{{#var:size}}|link=Merchant]] |
|||
{{!}}- |
|||
{{!}}style="border:none" {{!}} {{#var:watchperson}} |
|||
{{!}}style="border:none" {{!}} {{{detective|0}}} |
|||
{{!}}style="border:none" {{!}} {{{leatherworker|0}}} |
|||
{{!}}style="border:none" {{!}} {{{merchant|0}}} |
|||
}} |
|||
|} |
|||
|}</includeonly><noinclude>{{User:Californ1a/T/Professions}}</noinclude> |
Latest revision as of 07:14, 30 December 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 "yes" if not provided. |infobox = "yes" or "no" to display similar to infoboxes rather than standard tables; default "no" if not provided. |right = "yes" or "no" to float the table to the right; 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> }}
Use the generator to easily create the template code and compare different styling options.
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 |combat = 10 |chef = 10 |fisher = 10 |forager = 10 |alchemist = 10 |gatherer = 10 |woodcutter = 10 |carpenter = 10 |bonewright = 10 |miner = 10 |blacksmith = 10 |stonemason = 10 |detective = 10 |leatherworker = 10 |merchant = 10 }}
Produces:
| |||||||||||||
| |||||||||||||
| |||||||||||||
| |||||||||||||
|
Horizontal
{{User:Californ1a/T/Professions |vertical = no |combat = 10 |chef = 10 |fisher = 10 |forager = 10 |alchemist = 10 |gatherer = 10 |woodcutter = 10 |carpenter = 10 |bonewright = 10 |miner = 10 |blacksmith = 10 |stonemason = 10 |detective = 10 |leatherworker = 10 |merchant = 10 }}
Produces:
| |||||||||
| |||||||||
| |||||||||
| |||||||||
|
Free
{{User:Californ1a/T/Professions |free = yes |combat = 10 |chef = 10 |fisher = 10 |forager = 10 |alchemist = 10 |gatherer = 10 |woodcutter = 10 |carpenter = 10 }}
Produces:
| |||||||||||||
| |||||||||||||
|
Date
{{User:Californ1a/T/Professions |free = yes |date = now }}
Produces:
| |||||||||||||
| |||||||||||||
| |||||||||||||
Last Updated: 30 December 2024 |
Goals
{{User:Californ1a/T/Professions |free = yes |date = 12 December 1920 |combat = 10 |combat goal = 20 |chef = 20 |fisher = 20 |forager = 10 |forager goal = 20 |alchemist = 10 }}
Produces:
| |||||||||||||
| |||||||||||||
| |||||||||||||
Last Updated: 12 December 1920 |
Horizontal
{{User:Californ1a/T/Professions |vertical = no |date = now |free = yes |combat = 10 |combat goal = 20 |chef = 20 |fisher = 20 |forager = 10 |forager goal = 20 |alchemist = 10 }}
Produces:
| |||||||||
| |||||||||
| |||||||||
Last Updated: 30 December 2024 |
Right
{{User:Californ1a/T/Professions |free = yes |right = yes }}
Produces:
| |||||||||||||
| |||||||||||||
|
Infobox
{{User:Californ1a/T/Professions |infobox = yes }}
Produces:
| |||||||||||||
| |||||||||||||
| |||||||||||||
| |||||||||||||
|
Horizontal
{{User:Californ1a/T/Professions |infobox = yes |vertical = no }}
Produces:
| |||||||||
| |||||||||
| |||||||||
| |||||||||
|
See also
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.
|