Editing Template:Profession/doc

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 6: Line 6:
==Usage==
==Usage==


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


<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}}


Display Profession clickpic and Level


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


<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}}


Display with Profession clickpic, Level, and Name


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


<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}}


{| 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==
==Parameters==
<templatedata>
<templatedata>
{
{
"description": "Displays a clickable profession icon that links to the profession page. Useful for listing profession requirements or rewards",
"description": "Displays a profession name along with its icon. Useful for listing profession requirements or rewards",
"params": {
"params": {
"1": {
"1": {
"label": "Profession",
"label": "Profession name",
"description": "The profession to display. See https://brightershoreswiki.org/w/Professions for a list of available professions",
"description": "The name of 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", "blacksmith_stonemason", "blacksmith_bonewright", "stonemason_bonewright", "blacksmith_stonemason_bonewright", "watchperson", "detective", "leatherworker", "merchant", "shieldbearer", "builder", "armorer", "unknown_gathering"]
"suggestedvalues": ["guard", "chef", "fisher", "forager", "alchemist", "scout", "gatherer", "woodcutter", "carpenter", "minefighter", "bonewright", "miner", "blacksmith", "stonemason", "watchperson", "detective", "leatherworker", "merchant", "shieldbearer", "builder", "armorer", "unknown_gathering"]
},
},
"2": {
"2": {
"label": "Level/Exp",
"label": "Profession Amount",
"description": "Optional: Specify a level or exp amount to display alongside the clickpic.",
"description": "Allows you to specify a level or exp amount to display alongside the icon. Leave blank to display just icon and name.",
"example": "50",
"example": "50",
"type": "number",
"type": "number",
Line 102: Line 44:
},
},
"3": {
"3": {
"label": "Show profession name",
"label": "Show Label",
"description": "Optional: Whether to show the profession name. Set to 1 to show the name, default is 0.",
"description": "Whether to show the profession label. Set to 1 to show the label, default is 0.",
"default": "0",
"default": "0",
"autovalue": "0",
"autovalue": "0",
Please note that all contributions to Brighter Shores Wiki are considered to be released under the CC BY-NC-SA 3.0 (see Brighter Shores:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template