Difference between revisions of "Template:AccessoryTable"

From SpiralKnights

Jump to: navigation, search
m (created template (attempting to lock in some things about accessories))
 
m
Line 1: Line 1:
 
<includeonly><noinclude>{|</noinclude>|-  valign="top"
 
<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;" | {{#ifexist:File:Equipment-{{{1}}} {{{2}}} icon.png|[[File:Equipment-{{{1}}} {{{2}}} icon.png|36px|left]]|[[File:Icon-accessory.png|36px|left|link=File:Equipment-{{{1}}} {{{2}}} icon.png]]}} [[:Category:{{{1}}}-Themed|{{{1}}}]]
+
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px;" | {{#ifexist:File:Equipment-{{{1}}} {{{2}}} icon.png|[[File:Equipment-{{{1}}} {{{2}}} icon.png|36px|left]]|[[File:Icon-accessory.png|36px|left|link=File:Equipment-{{{1}}} {{{2}}} icon.png]]}} [[:Category:{{{1}}}-Themed|{{{1}}}]]
|  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:{{{1}}} {{{2}}}-Equipped.png|100px|center]]
+
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px;" | [[File:{{{1}}} {{{2}}}-Equipped.png|100px|center]]
|  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" | {{{3}}}<noinclude>|}</includeonly>{{documentation}} [[Category:Accessory Templates]]</noinclude>
+
|  style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px;" align="left" valign="middle" | {{{3}}}<noinclude>|}</includeonly>{{documentation}} [[Category:Accessory Templates]]</noinclude>

Revision as of 19:42, 12 January 2015

[edit] [purge] Template documentation

Usage

To display a sortable table of an individual item type.

Code

{{AccessoryTable
|name         = 
|abbreviation = 
|acquisition  = 
|dor          = 
}}

Parameters

Required

name
The true name of the item. Use {{PAGENAME}} unless there is a disambiguation or other naming issue.
abbreviation
The part of the name that separates it from other items. This is usually a color pattern.
acquisition
How to get the item. Frequently uses Template:PrizeBox.
dor
The date of release. Day, full name of month, year. Works with Template:DoRSource.

Optional

category link
Manually fixes a category link in case the abbreviation is not a color pattern.
notes
Use only if there is something significant about the item that makes it stand out from the others (besides color). Defaults to phrase: "This accessory is like the others. It does not have different textures or special effects."

Examples

See what links here for examples of this template in action.

Personal tools