Template:Profession/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
{{Shortcut|Template:pc}}
{{Shortcut|Template:PC}}


The '''Profession clickpic''' template displays a clickable profession icon that links to the profession page.
The '''Profession clickpic''' template displays a clickable profession icon that links to the profession page.
Line 10: Line 10:
<code><nowiki>{{pc|miner}}</nowiki></code>
<code><nowiki>{{pc|miner}}</nowiki></code>
<code><nowiki>{{Profession|miner}}</nowiki></code>
<code><nowiki>{{Profession|miner}}</nowiki></code>
{{pc|miner}}
{{PC|miner}}


Display Profession clickpic and Level
Display Profession clickpic and Level
Line 16: Line 16:
<code><nowiki>{{pc|miner|10}}</nowiki></code>
<code><nowiki>{{pc|miner|10}}</nowiki></code>
<code><nowiki>{{Profession|miner|10}}</nowiki></code>
<code><nowiki>{{Profession|miner|10}}</nowiki></code>
{{pc|miner|10}}
{{PC|miner|10}}


Display with Profession clickpic, Level, and Name
Display with Profession clickpic, Level, and Name
Line 22: Line 22:
<code><nowiki>{{pc|miner|100|1}}</nowiki></code>
<code><nowiki>{{pc|miner|100|1}}</nowiki></code>
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code>
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code>
{{pc|miner|100|1}}
{{PC|miner|100|1}}


==Parameters==
==Parameters==

Revision as of 14:41, 27 November 2024

This is a documentation subpage for Template:Profession.
It contains usage information, categories, and other content that is not part of the original template page.

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

Usage

Display Profession clickpic

{{pc|miner}} {{Profession|miner}}

Display Profession clickpic and Level

{{pc|miner|10}} {{Profession|miner|10}} 10 

Display with Profession clickpic, Level, and Name

{{pc|miner|100|1}} {{Profession|miner|100|1}} 100  Miner

Parameters

Displays a profession name along with its icon. Useful for listing profession requirements or rewards

Template parameters

ParameterDescriptionTypeStatus
Profession name1

The name of 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
Profession Amount2

Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.

Example
50
Numbersuggested
Show Label3

Whether to show the profession label. Set to 1 to show the label, default is 0.

Default
0
Auto value
0
Booleansuggested