Difference between revisions of "Template:AccessoryTable"

From SpiralKnights

Jump to: navigation, search
m (well, taking out anchor for now...it's not really that useful is it? as long as like, "shadow bolted vee" ends up on the "bolted vee" page...gonna keep the anchor in for the unique table.)
m (applying silly anchor here too)
Line 1: Line 1:
 
<noinclude>{|</noinclude><includeonly>|-  valign="top"  
 
<noinclude>{|</noinclude><includeonly>|-  valign="top"  
  
|style="background: #c7dbea; padding:3px; border-radius: 5px;" align="center" valign="middle" | {{#ifexist:File:Equipment-{{{name}}} icon.png
+
|style="background: #c7dbea; color: #000000; padding:13px 3px 3px 3px; border-radius: 5px;" align="center" valign="top" |<span style="font-size:1%; visibility:hidden;">{{anchor|{{{name|}}} }}</span>{{#ifexist:File:Equipment-{{{name}}} icon.png
 
|[[File:Equipment-{{{name}}} icon.png|36px]]
 
|[[File:Equipment-{{{name}}} icon.png|36px]]
|[[File:Icon-accessory.png|36px|link=File:Equipment-{{{name}}} icon.png]]
+
|[[File:Icon-accessory.png|36px|link=File:Equipment-{{{name}}} icon.png]]  
}}
+
}}<br/>{{#if:{{{abbreviation|}}}|[[:Category:{{{category link|{{{abbreviation|???}}}}}}-Themed|{{{abbreviation|}}}]]|[[:Category:{{{category link|???}}}-Themed|{{{name|}}}]]}}
  
 
[[:Category:{{{category link|{{{abbreviation}}}}}}-Themed|{{{abbreviation}}}]]
 
[[:Category:{{{category link|{{{abbreviation}}}}}}-Themed|{{{abbreviation}}}]]

Revision as of 23:43, 26 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