Template:ItemTable

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)
This template defines the table "Items". View table. A replacement table has been generated for this table; View replacement table.
This Template uses the following Lua Modules: ItemTable
Editors can experiment in this template's sandbox and test case pages.
ChapaaChef.png Looks like someone's cooking up some code! Work is actively being done for this page or section, and will be added soon. Please coordinate with the user(s) involved to ensure there are no conflicts.
Comments: This template is not yet finished. The backing lua code is not yet finished


Usage

{{ItemTable}} is a template for displaying localized items.

Syntax

{{ItemTable|columns|category=|rarity=}}
Parameters Description
category List of Categories (Separated by a comma) that the items must be in.
columns List of Columns (Separated by a comma) to include in the table (See below). Columns are displayed in the order they are listed.
rarity Specifies a required rarity of items


Columns Description
category Outputs the Item Category (Not the page category!)
description Outputs the items in-game description
focus Outputs the focus granted from the item
sqfocus Outputs the focus granted from the item when Star Quality SQ.png
focuses Outputs both focus and sqfocus columns
image Outputs the items image using {{Icon}}, eg; Apple.png
ingredients Outputs the ingredients used to make the item
item Outputs a localized like to the page using {{Item}} format, eg; Apple Apple
page Outputs a localized link to the page, eg; Apple
rarity Outputs the item rarity
location Outputs the item location
value Outputs the item value
sqvalue Outputs the items value when Star Quality SQ.png
values Outputs both value and sqvalue columns

Examples

{{ItemTable|page,rarity,ingredients|category=Furniture}}


page rarity ingredients