Difference between revisions of "Template:PersonalColorList"

From SpiralKnights

Jump to: navigation, search
m (added tooltip description - it's the same for all of 'em so, this is a shortcut. Easy to update if that ever changes with this format.)
m (cleanup)
Line 1: Line 1:
<noinclude>{{documentation}} [[Category:Usable Templates]]</noinclude><includeonly><noinclude>{|</noinclude>|-  valign="top"
+
<includeonly>|-  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;" | [[File:Personal Color-{{{name}}}.png|36px|left|Once used, this item will permanently change your knight's personal color to the specified color. This item is destroyed once used.]] {{{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="center" valign="middle" | [[File:Usable-Personal Color-{{{name}}}-Visual.png|100px|center|Once used, this item will permanently change your knight's personal color to the specified color. This item is destroyed once used.]]
+
|  style="background: #c7dbea; color: padding: 3px 3px 3px 3px; border-radius: 5px;"                         | [[File:Personal Color-{{{name}}}.png|36px|left|Once used, this item will permanently change your knight's personal color to the specified color. This item is destroyed once used.]] {{{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; width=1px;" align = "center" valign = "middle" | {{{acquisition}}}<noinclude>|}</noinclude></includeonly>
+
 
 +
|  style="background: #c7dbea; padding: 3px 3px 3px 3px; border-radius: 5px;"  align="center" valign="middle" | [[File:Usable-Personal Color-{{{name}}}-Visual.png|100px|center|Once used, this item will permanently change your knight's personal color to the specified color. This item is destroyed once used.]]
 +
 
 +
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; width=1px;"     | {{{acquisition}}}<noinclude>|}</noinclude></includeonly><noinclude>{{documentation}} [[Category:Usable Templates]]</noinclude>

Revision as of 12:00, 28 January 2015

[edit] [purge] Template documentation

Parameters

Required

{{PersonalColorList/Start}}

starts the template
"name"
The name of JUST the color - we don't have "personal color" after each one, although we see that in-game, here we've got it before the color instead, cause that's better for the wiki and easier on users' eyes. Probably. Or I just didn't notice and don't feel like it needs to be fixed. Shhhh.
"acquisition"
where to get the usable and for how much.


{{Table/end}} - ends the template

Optional

<br/> puts in line breaks without breaking template or page.

The description for all Personal Colors is the same, so we've built it into the template.

Usage

To organize Personal Colors.




Example




{{PersonalColorList/Start}}

{{PersonalColorList
|name = Magenta
|acquisition = [[Vatel]] - 50,000 crowns
}}

{{Table/end}}




Produces




Name Visual Acquisition
Magenta Personal Color
Personal Color-Magenta.png Magenta

Personal Color-Magenta-Preview.png
Vatel - 50,000 crowns
Personal tools