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

m
no edit summary
mNo edit summary
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": {
"label": "Guard",
"description": "Guard level",
"example": "10",
"type": "number",
"default": "0"
},
},
"guard goal": {
"chef": {
"label": "ChefGuard Goal",
"description": "ChefGuard goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"fisherchef": {
"label": "FisherChef",
"description": "FisherChef level",
"example": "10",
"type": "number",
"default": "0"
},
},
"chef goal": {
"forager": {
"label": "ForagerChef Goal",
"description": "ForagerChef goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"alchemistfisher": {
"label": "AlchemistFisher",
"description": "AlchemistFisher level",
"example": "10",
"type": "number",
"default": "0"
},
},
"fisher goal": {
"scout": {
"label": "ScoutFisher Goal",
"description": "ScoutFisher goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"gathererforager": {
"label": "GathererForager",
"description": "GathererForager level",
"example": "10",
"type": "number",
"default": "0"
},
},
"forager goal": {
"woodcutter": {
"label": "WoodcutterForager Goal",
"description": "WoodcutterForager goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"carpenteralchemist": {
"label": "CarpenterAlchemist",
"description": "CarpenterAlchemist level",
"example": "10",
"type": "number",
"default": "0"
},
},
"alchemist goal": {
"minefighter": {
"label": "MinefighterAlchemist Goal",
"description": "MinefighterAlchemist goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"bonewrightscout": {
"label": "BonewrightScout",
"description": "BonewrightScout level",
"example": "10",
"type": "number",
"default": "0"
},
},
"scout goal": {
"miner": {
"label": "MinerScout Goal",
"description": "MinerScout goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"blacksmithgatherer": {
"label": "BlacksmithGatherer",
"description": "BlacksmithGatherer level",
"example": "10",
"type": "number",
"default": "0"
},
},
"gatherer goal": {
"stonemason": {
"label": "StonemasonGatherer Goal",
"description": "StonemasonGatherer goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"watchpersonwoodcutter": {
"label": "WatchpersonWoodcutter",
"description": "WatchpersonWoodcutter level",
"example": "10",
"type": "number",
"default": "0"
},
},
"woodcutter goal": {
"detective": {
"label": "DetectiveWoodcutter Goal",
"description": "DetectiveWoodcutter goal level",
"example": "10",
"type": "number",
"default": "0"
},
},
"carpenter": {
"leatherworker": {
"label": "LeatherworkerCarpenter",
"description": "LeatherworkerCarpenter level",
"example": "10",
"type": "number",
"default": "0"
},
},
"carpenter goal": {
"merchant": {
"label": "MerchantCarpenter Goal",
"description": "MerchantCarpenter goal level",
"example": "10",
"type": "number",
"default": "0"
},
}
"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"
1,678

edits