Difference between revisions of "Template:GiftBoxList"
From SpiralKnights
m |
m (ah that's where it is) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{documentation}} [[Category:Usable Templates]]</noinclude><includeonly><noinclude>{|</noinclude>|-valign=" | + | <noinclude>{{documentation}} [[Category:Usable Templates]]</noinclude><includeonly><noinclude>{|</noinclude>|-valign="top" |
− | | style="background: #c7dbea | + | | style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" valign="middle" | [[File:Usable-{{{name}}} (Empty) icon.png|36px|left|{{{description|Wrap an item in this decorative gift box and add a personalized message.}}}]] {{{name}}} (Empty) <br/>[[File:Usable-{{{name}}} icon.png|36px|left|{{{description|Wrap an item in this decorative gift box and add a personalized message}}}]]<br/>{{anchor|{{{name}}}}} |
− | | style="background: #c7dbea | + | |
− | | style="background: #c7dbea | + | | style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align = "center" valign= "middle" | {{{acquisition}}}<noinclude>|}</noinclude></includeonly> |
+ | |||
+ | | style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align = "left" | {{#if:{{{notes|}}}|{{{notes|}}}<br>|}}{{#if:{{{dor|}}}|Initial release: {{DoRSource | ||
+ | |1 = {{{dor}}} | ||
+ | |dor = {{{dor}}} | ||
+ | }} | ||
+ | |}} |
Latest revision as of 21:58, 10 February 2016
[edit] [ ] Template documentation
Contents
Code
{{GiftBoxList |name = |empty name = |acquisition = |notes = }}
Parameters
Required
{{GiftBoxList/Start}}
- Starts template
- "name"
- The true name of the item as seen in-game.
- "description"
- The description of the item as seen in the tooltip information in-game. Currently, the template shows the description if the user mousehovers over the box's icon image.
Note that while descriptions for Gift Boxes that have been used to wrap an object can be user-generated, they still have an official description in general.
- "notes"
- When the item was released etc.
- "acquisition"
- Where to get the item, and (if applicable) the cost.
{{Table/end}}
- Ends template
Optional
<br/> puts in line breaks without breaking template or page. This is especially prudent for the "possible prizes" section.
Usage
For organizing Gift Boxes. These usables have two associated icons - an open and closed box.
See What Links Here for examples of this template in action.
The above documentation is transcluded from Template:GiftBoxList/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
| style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align = "left" |