User:Twittly/Sandbox2

From YPPedia

Usage

These usage notes will not be included in articles bearing this template.

This template can display a basic text and image for mystery box trinkets. This template should be used like following :

{{LE box Trinket basic paragraph
| trinket = trinket name
| release = release date (yyyy-mm-dd)
| custom = additional text
| use-compact-display = yes / no
| pulral = yes / no
}}



Fields

name number default value note
trinket 1 A trinket's name as it would appear in-game. If you don't set this field, this template will display a page name as a trinket name.
color The limited edition color that matches the color of the box this trinket came in. (required)
custom If you set something to this field, this template will show it between opening paragraph and color section. (optional)
plural 5 no If the trinket has a pluralised name, set yes to this field like "plural=yes" . (optional)

Sample

Default settings

Code
{{LE box Trinket basic paragraph
| trinket = abacus
| color = chocolate
}}
Display
The abacus is a trinket. It can be obtained by opening a chocolate mystery box. The chocolate mystery box was available during the Chocolate Mystery Box Promotions in September 2012, 2013, 2014, 2015, 2016, and 2017.

The abacus is available in the following colors:

Categorization

When the article include this template, it will be categorized into Category:Trinkets.
Note : If you don't need to categorize, you can set "no" to an additional filed named "categorize" (e.g., "categorize=no"), and this template will not categorize the article.

To Edit/Modify this template

See also

This template implements below :