Difference between revisions of "Template:GiftBoxList"

From SpiralKnights

Jump to: navigation, search
m (the valign for this list is a little weird)
m (ah that's where it is)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{documentation}} [[Category:Usable Templates]]</noinclude><includeonly><noinclude>{|</noinclude>|-valign="top"  
 
<noinclude>{{documentation}} [[Category:Usable Templates]]</noinclude><includeonly><noinclude>{|</noinclude>|-valign="top"  
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" valign="middle" | [[File:Usable-{{{name}}} (Empty) icon.png|36px|left|{{{description}}}]] {{{name}}} (Empty) <br/>[[File:Usable-{{{name}}} icon.png|36px|left|{{{description}}}]]<br/>{{anchor|{{{name}}}}}
+
|  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; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" align = "left" | {{{notes}}}
+
 
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" align = "center" | {{{acquisition}}}<noinclude>|}</noinclude></includeonly>
+
|  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] [purge] Template documentation

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.

| style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;" align = "left" |

Personal tools