User:Californ1a/T/Professions/doc: Difference between revisions
m
no edit summary
Californ1a (talk | contribs) mNo edit summary |
Californ1a (talk | contribs) mNo edit summary |
||
Line 6:
|vertical = "yes" or "no" to swap whether the level is displayed below the icon or beside it; 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>
}}
</pre>
Setting the date param to "now" will use the last edit date of the page the template is used on.
==Examples==
Line 129 ⟶ 133:
|woodcutter = 10
|carpenter = 10
}}
===Date===
<pre>{{User:Californ1a/T/Professions
|free = yes
|date = now
}}</pre>
Produces:
{{User:Californ1a/T/Professions
|free = yes
|date = now
}}
===Goals===
<pre>{{User:Californ1a/T/Professions
|free = yes
|date = 12 December 1920
|guard = 10
|guard goal = 20
|chef = 20
|fisher = 20
|forager = 10
|forager goal = 20
|alchemist = 10
}}</pre>
Produces:
{{User:Californ1a/T/Professions
|free = yes
|date = 12 December 1920
|guard = 10
|guard goal = 20
|chef = 20
|fisher = 20
|forager = 10
|forager goal = 20
|alchemist = 10
}}
====Goals vertical====
<pre>{{User:Californ1a/T/Professions
|vertical = yes
|date = now
|free = yes
|guard = 10
|guard goal = 20
|chef = 20
|fisher = 20
|forager = 10
|forager goal = 20
|alchemist = 10
}}</pre>
Produces:
{{User:Californ1a/T/Professions
|vertical = yes
|date = now
|free = yes
|guard = 10
|guard goal = 20
|chef = 20
|fisher = 20
|forager = 10
|forager goal = 20
|alchemist = 10
}}
Line 150 ⟶ 220:
"type": "boolean",
"default": "no"
},
"date": {
"label": "Date",
"description": "If provided, displays a last updated date underneath. Can be either 'now' to use last revision date of the page, or any custom date string",
"example": "now",
"type": "string"
},
"guard": {
},
"guard goal": {
},
},
"chef goal": {
},
},
"fisher goal": {
},
},
"forager goal": {
},
},
"alchemist goal": {
},
},
"scout goal": {
},
},
"gatherer goal": {
},
},
"woodcutter goal": {
},
"carpenter": {
},
"carpenter goal": {
},
"minefighter": {
"label": "Minefighter",
"description": "Minefighter level",
"example": "10",
"type": "number",
"default": "0"
},
"minefighter goal": {
"label": "Minefighter Goal",
"description": "Minefighter goal level",
"example": "10",
"type": "number",
"default": ""
},
"bonewright": {
"label": "Bonewright",
"description": "Bonewright level",
"example": "10",
"type": "number",
"default": "0"
},
"bonewright goal": {
"label": "Bonewright Goal",
"description": "Bonewright goal level",
"example": "10",
"type": "number",
"default": ""
},
"miner": {
"label": "Miner",
"description": "Miner level",
"example": "10",
"type": "number",
"default": "0"
},
"miner goal": {
"label": "Miner Goal",
"description": "Miner goal level",
"example": "10",
"type": "number",
"default": ""
},
"blacksmith": {
"label": "Blacksmith",
"description": "Blacksmith level",
"example": "10",
"type": "number",
"default": "0"
},
"blacksmith goal": {
"label": "Blacksmith Goal",
"description": "Blacksmith goal level",
"example": "10",
"type": "number",
"default": ""
},
"stonemason": {
"label": "Stonemason",
"description": "Stonemason level",
"example": "10",
"type": "number",
"default": "0"
},
"stonemason goal": {
"label": "Stonemason Goal",
"description": "Stonemason goal level",
"example": "10",
"type": "number",
"default": ""
},
"watchperson": {
"label": "Watchperson",
"description": "Watchperson level",
"example": "10",
"type": "number",
"default": "0",
"aliases": [
"watchman",
"watchwoman"
]
},
"watchperson goal": {
"label": "Watchperson Goal",
"description": "Watchperson goal level",
"example": "10",
"type": "number",
"default": ""
},
"detective": {
"label": "Detective",
"description": "Detective level",
"example": "10",
"type": "number",
"default": "0"
},
"detective goal": {
"label": "Detective Goal",
"description": "Detective goal level",
"example": "10",
"type": "number",
"default": ""
},
"leatherworker": {
"label": "Leatherworker",
"description": "Leatherworker level",
"example": "10",
"type": "number",
"default": "0"
},
"leatherworker goal": {
"label": "Leatherworker Goal",
"description": "Leatherworker goal level",
"example": "10",
"type": "number",
"default": ""
},
"merchant": {
"label": "Merchant",
"description": "Merchant level",
"example": "10",
"type": "number",
"default": "0"
},
"merchant goal": {
"label": "Merchant Goal",
"description": "Merchant goal level",
"example": "10",
"type": "number",
"default": ""
}
},
"description": "The Professions template is used to display a player's profession levels.",
"format": "block"
|