Difference between revisions of "Template:AccessoryTable"
From SpiralKnights
m (test (trying to make it so we can use one template for non-unique acc lists without fussing over naming conventions)) |
m (test) |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation}} [[Category:Accessory Templates]] | <noinclude>{{documentation}} [[Category:Accessory Templates]] | ||
{|</noinclude>|- valign="top" | {|</noinclude>|- valign="top" | ||
− | |||
− | | | + | |style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px;" | |
+ | {{#ifexist:File:Equipment-{{{name}}} icon.png | ||
+ | |[[File:Equipment-{{{name}}} icon.png|36px|left]] | ||
+ | |[[File:Icon-accessory.png|36px|left|link=File:Equipment-{{{name}}} icon.png]] | ||
+ | }} [[:Category:{{{style}}}-Themed|{{{style}}}]] | ||
− | | | + | |style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px;" | |
+ | [[File:{{{name}}}-Equipped.png|100px|center]] | ||
+ | |||
+ | |style="background: #c7dbea; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px;" align="left" valign="middle" | | ||
+ | {{{acquisition}}} | ||
<noinclude>|}</noinclude> | <noinclude>|}</noinclude> |
Revision as of 00:04, 16 January 2015
[edit] [ ] Template documentation
Contents
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.
The above documentation is transcluded from Template:AccessoryTable/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
[[:Category:{{{style}}}-Themed|{{{style}}}]] |
[[File:{{{name}}}-Equipped.png|100px|center]] |
{{{acquisition}}} |