Difference between revisions of "Template:CostumeTable"

From SpiralKnights

Jump to: navigation, search
m (add use of DoRsource template so we don't have to edit 3+ templates every time something comes out warranting the adding of DoR source data)
m (proper doc)
Line 1: Line 1:
<noinclude>{|</noinclude>|-  valign="top"  
+
<includeonly>|-  valign="top"  
  
 
|style="background: #c7dbea; padding:3px; border-radius: 5px;" align="center" valign="middle"  | <span style="font-size:1%; visibility:hidden;">{{anchor|{{{name|}}} }}</span>{{#ifexist:File:Equipment-{{{name}}} icon.png
 
|style="background: #c7dbea; padding:3px; border-radius: 5px;" align="center" valign="middle"  | <span style="font-size:1%; visibility:hidden;">{{anchor|{{{name|}}} }}</span>{{#ifexist:File:Equipment-{{{name}}} icon.png
Line 21: Line 21:
 
}}
 
}}
 
|
 
|
}}<noinclude>
+
}}</includeonly><noinclude>
|}
+
{{documentation}}  
{{documentation}} [[Category:Costume Templates]]<noinclude>
+
 
 +
[[Category:Costume Templates]]<noinclude>

Revision as of 13:26, 23 October 2015

[edit] [purge] Template documentation

Usage

To display a sortable table of an individual item type.

Code

{{CostumeTable
|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.
description
Use only if the item has its own description. Items with the same description have it written near the top of the page in the appropriate ToC section.
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 costume 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