Template:Profession/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 6:
==Usage==
Display
<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▼
<code><nowiki>{{PC|miner|100|1}}</nowiki></code>
<code><nowiki>{{Profession|miner|100|1}}</nowiki></code>
==Parameters==
<templatedata>
{
"description": "Displays a clickable profession
"params": {
"1": {
"label": "Profession
"description": "The
"type": "string",
"required": true,
Line 37 ⟶ 38:
},
"2": {
"label": "
"description": "
"example": "50",
"type": "number",
Line 44 ⟶ 45:
},
"3": {
"label": "Show
"description": "Optional: Whether to show the profession
"default": "0",
"autovalue": "0",
|
Revision as of 14:49, 27 November 2024
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}}
Parameters
Displays a clickable profession icon that links to the profession page. Useful for listing profession requirements or rewards
Parameter | Description | Type | Status | |
---|---|---|---|---|
Profession | 1 | The profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions
| String | required |
Level/Exp | 2 | Optional: Specify a level or exp amount to display alongside the clickpic.
| Number | suggested |
Show profession name | 3 | Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.
| Boolean | suggested |