User:Californ1a/T/Professions/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Californ1a (talk | contribs) mNo edit summary |
Californ1a (talk | contribs) 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", |
|||
"description": "Guard level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"guard goal": { |
|||
"chef": { |
|||
"label": "Guard Goal", |
|||
"description": "Guard goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"chef": { |
|||
"label": "Chef", |
|||
"description": "Chef level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"chef goal": { |
|||
"forager": { |
|||
"label": "Chef Goal", |
|||
"description": "Chef goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"fisher": { |
|||
"label": "Fisher", |
|||
"description": "Fisher level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"fisher goal": { |
|||
"scout": { |
|||
"label": "Fisher Goal", |
|||
"description": "Fisher goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"forager": { |
|||
"label": "Forager", |
|||
"description": "Forager level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"forager goal": { |
|||
"woodcutter": { |
|||
"label": "Forager Goal", |
|||
"description": "Forager goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"alchemist": { |
|||
"label": "Alchemist", |
|||
"description": "Alchemist level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"alchemist goal": { |
|||
"minefighter": { |
|||
"label": "Alchemist Goal", |
|||
"description": "Alchemist goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"scout": { |
|||
"label": "Scout", |
|||
"description": "Scout level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"scout goal": { |
|||
"miner": { |
|||
"label": "Scout Goal", |
|||
"description": "Scout goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"gatherer": { |
|||
"label": "Gatherer", |
|||
"description": "Gatherer level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"gatherer goal": { |
|||
"stonemason": { |
|||
"label": "Gatherer Goal", |
|||
"description": "Gatherer goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"woodcutter": { |
|||
"label": "Woodcutter", |
|||
"description": "Woodcutter level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"woodcutter goal": { |
|||
"detective": { |
|||
"label": "Woodcutter Goal", |
|||
"description": "Woodcutter goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "" |
|||
}, |
|||
}, |
|||
"carpenter": { |
|||
"leatherworker": { |
|||
"label": "Carpenter", |
|||
"description": "Carpenter level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"default": "0" |
|||
}, |
|||
}, |
|||
"carpenter goal": { |
|||
"merchant": { |
|||
"label": "Carpenter Goal", |
|||
"description": "Carpenter goal level", |
|||
"example": "10", |
|||
"type": "number", |
|||
"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" |