Template:Profession/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation}}
{{Shortcut|Template:PC}}

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

==Usage==

Display profession clickpic (ex. {{PC|miner}})

<code><nowiki>{{PC|miner}}</nowiki></code>
<code><nowiki>{{Profession|miner}}</nowiki></code>



Display profession clickpic and level (ex. {{PC|miner|10}})

<code><nowiki>{{PC|miner|10}}</nowiki></code>
<code><nowiki>{{Profession|miner|10}}</nowiki></code>



Display with profession clickpic, level, and Name (ex. {{PC|miner|100|1}})

<code><nowiki>{{PC|miner|100|1}}</nowiki></code>
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code>


{| class="wikitable"
|+ Supported Professions
|-
| guard || {{PC|guard}}
|-
| chef || {{PC|chef}}
|-
| fisher || {{PC|fisher}}
|-
| forager || {{PC|forager}}
|-
| alchemist || {{PC|alchemist}}
|-
| scout || {{PC|scout}}
|-
| gatherer || {{PC|gatherer}}
|-
| woodcutter || {{PC|woodcutter}}
|-
| carpenter || {{PC|carpenter}}
|-
| minefighter || {{PC|minefighter}}
|-
| bonewright || {{PC|bonewright}}
|-
| miner || {{PC|miner}}
|-
| blacksmith || {{PC|blacksmith}}
|-
| stonemason || {{PC|stonemason}}
|-
| blacksmith_stonemason || {{PC|blacksmith_stonemason}}
|-
| blacksmith_bonewright || {{PC|blacksmith_bonewright}}
|-
| stonemason_bonewright || {{PC|stonemason_bonewright}}
|-
| blacksmith_stonemason_bonewright || {{PC|blacksmith_stonemason_bonewright}}
|-
| watchperson || {{PC|watchperson}}
|-
| detective || {{PC|detective}}
|-
| leatherworker || {{PC|leatherworker}}
|-
| merchant || {{PC|merchant}}
|-
| shieldbearer || {{PC|shieldbearer}}
|-
| builder || {{PC|builder}}
|-
| armorer || {{PC|armorer}}
|-
| unknown_gathering || {{PC|unknown_gathering}}
|}

==Parameters==
<templatedata>
<templatedata>
{
{
"description": "Displays a profession name along with its icon. Useful for listing profession requirements or rewards",
"description": "Displays a clickable profession icon that links to the profession page. Useful for listing profession requirements or rewards",
"params": {
"params": {
"1": {
"1": {
"label": "Profession name",
"label": "Profession",
"description": "The name of the Profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions",
"description": "The profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions",
"type": "string",
"type": "string",
"required": true,
"required": true,
"suggestedvalues": ["guard", "chef", "fisher", "forager", "alchemist", "scout", "gatherer", "woodcutter", "carpenter", "minefighter", "bonewright", "miner", "blacksmith", "stonemason", "watchperson", "detective", "leatherworker", "merchant"]
"suggestedvalues": ["guard", "chef", "fisher", "forager", "alchemist", "scout", "gatherer", "woodcutter", "carpenter", "minefighter", "bonewright", "miner", "blacksmith", "stonemason", "blacksmith_stonemason", "blacksmith_bonewright", "stonemason_bonewright", "blacksmith_stonemason_bonewright", "watchperson", "detective", "leatherworker", "merchant", "shieldbearer", "builder", "armorer", "unknown_gathering"]
},
},
"2": {
"2": {
"label": "Profession Amount",
"label": "Level/Exp",
"description": "Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.",
"description": "Optional: Specify a level or exp amount to display alongside the clickpic.",
"example": "50",
"example": "50",
"type": "number",
"type": "number",
Line 18: Line 102:
},
},
"3": {
"3": {
"label": "Show Label",
"label": "Show profession name",
"description": "Whether to show the profession label. Set to 1 to show the label, default is 0.",
"description": "Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.",
"default": "0",
"default": "0",
"autovalue": "0",
"autovalue": "0",
Line 28: Line 112:
}
}
</templatedata>
</templatedata>
<pre>
{{Profession|miner}} Displays Profession Icon
{{Profession|miner|10}} Displays Profession Icon and Level
{{Profession|miner|100|1}} Displays with Profession Icon, Level, and Name
</pre>

Latest revision as of 12:27, 3 December 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 (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}}


Supported Professions
guard
chef
fisher
forager
alchemist
scout
gatherer
woodcutter
carpenter
minefighter
bonewright
miner
blacksmith
stonemason
blacksmith_stonemason
blacksmith_bonewright
stonemason_bonewright
blacksmith_stonemason_bonewright
watchperson
detective
leatherworker
merchant
shieldbearer
builder
armorer
unknown_gathering

Parameters

Displays a clickable profession icon that links to the profession page. Useful for listing profession requirements or rewards

Template parameters

ParameterDescriptionTypeStatus
Profession1

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 blacksmith_stonemason blacksmith_bonewright stonemason_bonewright blacksmith_stonemason_bonewright watchperson detective leatherworker merchant shieldbearer builder armorer unknown_gathering
Stringrequired
Level/Exp2

Optional: Specify a level or exp amount to display alongside the clickpic.

Example
50
Numbersuggested
Show profession name3

Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.

Default
0
Auto value
0
Booleansuggested