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 the template documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

{{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 Gold
|Furniture Making Guild={{cost|980|Furniture Making}}
Furniture Making Guild
  • Currency Furniture.png 980 Furniture Making Medals
|The Underground={{cost|10000}}
The Underground
  • Gold.png 10,000 Gold
|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