Template:P5X Item/Documentation

Jump to navigation Jump to search

Purpose

Used to display items from Persona 5: The Phantom X with the appropriate rarity backgrounds.

Usage

Parameter Description
1 The name of the item. Note that in some cases it may differ from the in-game name, such as if there are two items with identical names in the same game.
2 Optional field for omitting certain elements. Setting this parameter to name will hide the name of the item and only display the icon. Setting this parameter to link will render the name of the item in plain text without a link. Setting this parameter to anything else will hide the icon.
quantity Optional field for setting quantity. Appends xQ to the string, with Q being the quantity.

Code

{{P5X Item|1}}

Examples

Code Output
{{P5X Item|Platinum Ticket}}
 Platinum Ticket
{{P5X Item|Platinum Ticket|name}}
{{P5X Item|Platinum Ticket|-}} Platinum Ticket
{{P5X Item|Platinum Ticket|quantity=10}}
 Platinum Ticket x10
{{P5X Item|Platinum Ticket|name|quantity=10}}
 x10

Known Errors

A variety of errors or missing information can occur when using P5X Item.

Missing data

Any missing or improperly entered data from the item data table will be unavailable or potentially false when using P5X Item. To fix this, it is recommended to manually add such information to the item data table. For more information, view the guidelines on modules. The data module can be found here.

Misaligned Images

Icons for items in Persona 5: The Phantom X are stored in a way that may lead to them being misaligned due to excessive white space. For best results, it is recommended to upload an icon image with a width of 180px and a height of 68px.