Template:Costlist

From Palia Wiki
Jump to navigation Jump to search
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.
This template has existing translations, relatives, or sub-templates:

{{costlist}} is used to transform a list of obtains into a nice list for Infoboxes, and is expected to be used by DPL3 expressions.

When listing a cost for an item, you must format it using the {{cost}} template, or it will just appear as a boring number. Due to the fact that multiple types of currency exist in Palia, there was no way to automate this part of the template without making an editors job tedious/complex.

Syntax

{{costlist|Place=Price|Place=Price|...}}
  • Note: You cannot have the same place listed more than once, it will only show the last instance of the place.
Typically
|place name={{cost|price|currency}}
Other Variations
|Quest=quest title
|Accomplishment=accomplishment title
|Other=a thing or to-do that has no cost other than itself
|Skill=Cooking / Gardening / Mining / Furniture Making / Foraging ...

Some Examples

{{costlist Appears As:
|Material Store={{cost|2000}}
Material Store
  • Gold.png 2,000
|Furniture Making Guild={{cost|980|Furniture Making}}
Furniture Making Guild
  • Furniture Making.png 980 Furniture Making Medals
|The Underground={{cost|10000}}
The Underground
  • Gold.png 10,000
|Zeki's Wondrous Machine={{LuckyBox}}
Zeki's Wondrous Machine
  • Lucky Box.png Chance Prize
|Accomplishment=Master Bug Catcher
Accomplishment - Master Bug Catcher
|Quest=Welcome to Palia
Quest - Welcome to Palia
|Other=Treasure Chests
Treasure Chests
|Skill=Hunting
Hunting

Examples on this page are not exhaustive, but here are a few more to get the ideas flowing

Other=Treasure Chests
Other=Waterlogged Chest

Trivia

{{Extend/Obtain}} expects to see {{costlist}} in Infobox |obtain= and |recipeobtain= fields when performing its automation task.