User:Californ1a/T/Professions/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 6: Line 6:
|vertical = "yes" or "no" to swap whether the level is displayed below the icon or beside it; default "no" if not provided.
|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.
|free = "yes" or "no" to display only free episodes; default "no" if not provided.
|date = "now" or any custom date
|<profession> = <level>
|<profession> = <level>
|<profession> goal = <goal level>
}}
}}
</pre>
</pre>

Setting the date param to "now" will use the last edit date of the page the template is used on.


==Examples==
==Examples==
Line 129: Line 133:
|woodcutter = 10
|woodcutter = 10
|carpenter = 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: Line 220:
"type": "boolean",
"type": "boolean",
"default": "no"
"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": {
"label": "Guard",
"label": "Guard",
"description": "Guard level",
"description": "Guard level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"guard goal": {
"chef": {
"label": "Chef",
"label": "Guard Goal",
"description": "Chef level",
"description": "Guard goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"fisher": {
"chef": {
"label": "Fisher",
"label": "Chef",
"description": "Fisher level",
"description": "Chef level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"chef goal": {
"forager": {
"label": "Forager",
"label": "Chef Goal",
"description": "Forager level",
"description": "Chef goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"alchemist": {
"fisher": {
"label": "Alchemist",
"label": "Fisher",
"description": "Alchemist level",
"description": "Fisher level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"fisher goal": {
"scout": {
"label": "Scout",
"label": "Fisher Goal",
"description": "Scout level",
"description": "Fisher goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"gatherer": {
"forager": {
"label": "Gatherer",
"label": "Forager",
"description": "Gatherer level",
"description": "Forager level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"forager goal": {
"woodcutter": {
"label": "Woodcutter",
"label": "Forager Goal",
"description": "Woodcutter level",
"description": "Forager goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"carpenter": {
"alchemist": {
"label": "Carpenter",
"label": "Alchemist",
"description": "Carpenter level",
"description": "Alchemist level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"alchemist goal": {
"minefighter": {
"label": "Minefighter",
"label": "Alchemist Goal",
"description": "Minefighter level",
"description": "Alchemist goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"bonewright": {
"scout": {
"label": "Bonewright",
"label": "Scout",
"description": "Bonewright level",
"description": "Scout level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"scout goal": {
"miner": {
"label": "Miner",
"label": "Scout Goal",
"description": "Miner level",
"description": "Scout goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"blacksmith": {
"gatherer": {
"label": "Blacksmith",
"label": "Gatherer",
"description": "Blacksmith level",
"description": "Gatherer level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"gatherer goal": {
"stonemason": {
"label": "Stonemason",
"label": "Gatherer Goal",
"description": "Stonemason level",
"description": "Gatherer goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"watchperson": {
"woodcutter": {
"label": "Watchperson",
"label": "Woodcutter",
"description": "Watchperson level",
"description": "Woodcutter level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"woodcutter goal": {
"detective": {
"label": "Detective",
"label": "Woodcutter Goal",
"description": "Detective level",
"description": "Woodcutter goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
},
"carpenter": {
"leatherworker": {
"label": "Leatherworker",
"label": "Carpenter",
"description": "Leatherworker level",
"description": "Carpenter level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": "0"
},
},
"carpenter goal": {
"merchant": {
"label": "Merchant",
"label": "Carpenter Goal",
"description": "Merchant level",
"description": "Carpenter goal level",
"example": "10",
"example": "10",
"type": "number",
"type": "number",
"default": "0"
"default": ""
},
}
"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.",
"description": "The Professions template is used to display a player's profession levels.",
"format": "block"
"format": "block"