User:Piripuwa/Sandbox/Template:Valentine Trinket page/doc
- 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 :
{{User:Piripuwa/Sandbox/Template: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 | prulal = 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 colours, set "multi-colors=yes". (optional) |
use-compact-display | 5 | no | If the trinket comes in a range of colours, 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) |
Sample
For the single color trinket
For the multi colors trinket
Code | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|{{User:Piripuwa/Sandbox/Template: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 | |||||||||||||||||||||||||||||||||||||||||||||
The lily with card is a type of valentine's day trinket, which first appeared for sale in the palace shoppe in Februaly 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. ColorsEach lily with card comes in a range of colors.
|
For the pluralised trinket
Code | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|{{User:Piripuwa/Sandbox/Template: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 | |||||||||||||||||||||||||||||||||||||||||||||
The lilies with card are a type of valentine's day trinket, which first appeared for sale in the palace shoppe in Februaly 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. ColorsEach lilies with card comes in a range of colors.
|
Simple setting
Code | Display | Note |
---|---|---|
{{User:Piripuwa/Sandbox/Template:Valentine Trinket page | trinket = valentine's card (lipstick) | PoE = 5,000 | doubloons = 5 | multi-colors = no | navigation = no }} |
The valentine's card (lipstick) is a type of valentine's day trinket, which first appeared for sale in the palace shoppe in Februaly 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
- If you need edit usage of this template, or if you need categorize this template, please edit Template:Valentine Trinket page/doc.
See also
- {{Trinket basic paragraph}} (Usage) — This template implements Template:Trinket basic paragraph.