Template:Valentine Trinket page/doc

From YPPedia
This is a usage of the Template:Valentine Trinket page.

Usage

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

This template can display a basic text and image for limited edition valentine trinkets. This template should be used like following :

{{Valentine Trinket page
| trinket = Name of the trinket
| PoE = Cost of the trinket by PoE
| doubloons = Cost of the trinket by doubloons 
| multi-colors = yes / no
| use-compact-display = yes / no
| color-range = Range of colors
| color-text = Sentence about colors
| ad-text = Advertizement message
| custom = Additional text or wiki mark up
| image = File name of the trinket colors' image
| plural = yes / no
| emerald = yes / no
}}

Please see Template:Valentine Trinket page/doc#Fileds and Template:Valentine Trinket page/doc#Sample for more details.

Fields

name number default value note
trinket 1 Required. A trinket's name as it would appear in-game. If you don't set this field, this template will not display anything.
PoE 2 Cost of the trinket. (optional)
If you set something to this field, this template will show the text of "for sale in the Palace Shoppe".
doubloons 3 Doubloon cost of the trinket. (optional)
If you don't set "PoE" field, this field will be unavailable.
multi-colors 4 no If the trinket comes in a range of colors, set "multi-colors=yes". (optional)
use-compact-display 5 no If the trinket comes in a range of colors, and the trinket has only one changeable color, set "use-compact-display=yes". (optional)
If you don't set "multi-colors" and "image" field or set "multi-colors=no", this field will be unavailable.
ad-text 6 Text of advertizement displayed in palace shoppe. (optional)
color-range 7 a range of If you set this field, this template will show a sentence of "Each trinket name comes in color-range colors."
This field is only available when you set "use-compact-display=yes", and set "image" field and don't set "color-text" field. (optional)
color-text 8 Each trinket name comes in color-range colors. / They are permitted to have two different colors per trinket. If you set this field, this template will display it in the color section.
If you don't set "image" field, this template will not be available. (optional)
custom 9 If you set something to this field, this template will show it between opening paragraph and color section. (optional)
image 10 File name of the image that display trinket color patterns. (optional)
For use, please see Category:Trinket images and find proper image for the trinket.
plural 11 no If the trinket has a pluralised name, set yes to this field like "plural=yes". (optional)
navigation yes If you don't set this field or set "navigation=yes", this template will show the Template:Navigation Valentine trinkets. (optional)
emerald no If the trinket exists in emerald, set emerald="yes". (optional)

Sample

For the single color trinket

Code
{{Valentine Trinket page
| trinket = Teddy bear
| PoE = 10,000
| doubloons = 10
| ad-text = An adorable little teddy bear for yer special hearty. You can add a note after purchase.
}}{{clear}}
Display
Teddy bear
Trinket-Teddy bear.png
An adorable little teddy bear for yer special hearty. You can add a note after purchase.
PoE 10,000 Doubloons 10
The Teddy bear is a type of Valentine's Day trinket, which first appeared for sale in the palace shoppe in February 2006. The Teddy bear can be purchased for 10,000 PoE (and 10 doubloons, on doubloon oceans). It may be inscribed with a message after purchase. 


Valentine Trinkets
Teddy bear | Valentine's card (lipstick) | Valentine's card (octopus) | Lily with card | Lilies with card | Orchid with card |Orchids with card | Daisy with card | Daisies with card | Rose with card | Roses with card | Long stem rose with card | Box of chocolates

For the multi colors trinket

Code
|{{Valentine Trinket page
| trinket = lily with card
| PoE = 3,000
| doubloons = 3
| multi-colors = yes
| use-compact-display = yes
| custom = They are also available as [[Lilies with card|bunches of three]].
| image = Colors-trinket-Lily with card.png
| ad-text=A flower for yer special hearty. Ye may add a note after purchase.
}}
Display
Lily with card
Trinket-Lily with card.png
A flower for yer special hearty. Ye may add a note after purchase.
PoE 3,000 Doubloons 3

The lily with card is a type of Valentine's Day trinket, which first appeared for sale in the palace shoppe in February 2006. The lily with card can be purchased for 3,000 PoE (and 3 doubloons, on doubloon oceans). It may be inscribed with a message after purchase. They are also available as bunches of three.

Colors

Each lily with card comes in a range of colors.
Colors-trinket-Lily with card.png
Colors-trinket-Lily with card.png
Colors-trinket-Lily with card.png
Colors-trinket-Lily with card.png
Colors-trinket-Lily with card.png


Valentine Trinkets
Teddy bear | Valentine's card (lipstick) | Valentine's card (octopus) | Lily with card | Lilies with card | Orchid with card |Orchids with card | Daisy with card | Daisies with card | Rose with card | Roses with card | Long stem rose with card | Box of chocolates

For the pluralised trinket

Code
|{{Valentine Trinket page
| trinket = lilies with card
| PoE = 6,000
| doubloons = 6
| multi-colors = yes
| use-compact-display = yes
| custom = They may also come as trinkets with [[Lily with card|just one]].
| image = Colors-trinket-Lilies with card.png
| ad-text=A flower for yer special hearty. Ye may add a note after purchase.
| plural= yes
}}
Display
Lilies with card
Trinket-Lilies with card.png
A flower for yer special hearty. Ye may add a note after purchase.
PoE 6,000 Doubloons 6

The lilies with card are a type of Valentine's Day trinket, which first appeared for sale in the palace shoppe in February 2006. The lilies with card can be purchased for 6,000 PoE (and 6 doubloons, on doubloon oceans). They may be inscribed with a message after purchase. They may also come as trinkets with just one.

Colors

Each lilies with card comes in a range of colors.
Colors-trinket-Lilies with card.png
Colors-trinket-Lilies with card.png
Colors-trinket-Lilies with card.png
Colors-trinket-Lilies with card.png
Colors-trinket-Lilies with card.png


Valentine Trinkets
Teddy bear | Valentine's card (lipstick) | Valentine's card (octopus) | Lily with card | Lilies with card | Orchid with card |Orchids with card | Daisy with card | Daisies with card | Rose with card | Roses with card | Long stem rose with card | Box of chocolates

Simple setting

Code Display Note
{{Valentine Trinket page
| trinket = valentine's card (lipstick)
| PoE = 5,000
| doubloons = 5
| multi-colors = no
| navigation = no
}}
Trinket-Valentine's card (lipstick).png
The valentine's card (lipstick) is a type of Valentine's Day trinket, which first appeared for sale in the palace shoppe in February 2006. The valentine's card (lipstick) can be purchased for 5,000 PoE (and 5 doubloons, on doubloon oceans). It may be inscribed with a message after purchase. 


If you don't set ad-text field, this template will not display the infobox.

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