Difference between revisions of "Template:AccessoryTable"

From SpiralKnights

Jump to: navigation, search
m (add date for nemesis)
m (Fixed invisible anchor text breaking for long names in Chrome.)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{|</noinclude><includeonly>|-  valign="top"  
+
<includeonly>|-  valign="top"  
  
|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
+
|style="background: #c7dbea; color: #000000; padding:13px 3px 3px 3px; border-radius: 5px;" align="center" valign="top" |<span style="font-size:1px; 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|}}}]]}}
 
}}<br/>{{#if:{{{abbreviation|}}}|[[:Category:{{{category link|{{{abbreviation|???}}}}}}-Themed|{{{abbreviation|}}}]]|[[:Category:{{{category link|???}}}-Themed|{{{name|}}}]]}}
  
|style="background: #c7dbea; padding:3px; border-radius: 5px;"                                                          | {{#ifexist:File:{{{name}}}-Equipped.png
+
|style="background: #c7dbea; padding:3px; border-radius: 5px;"                                                          | [[File:{{{name}}}-Equipped.png|100px|{{{name}}}]]
|[[File:{{{name}}}-Equipped.png|100px|{{{name}}}]]
+
|[[File:Image_Wanted.png|100px|link=File:{{{name}}}-Equipped.png]]
+
}}
+
  
 
|style="background: #c7dbea; padding:3px; border-radius: 5px;" align="center" valign="middle"                          | {{{acquisition}}}
 
|style="background: #c7dbea; padding:3px; border-radius: 5px;" align="center" valign="middle"                          | {{{acquisition}}}
  
 
|style="background: #c7dbea; padding:3px; border-radius: 5px;" align="left" valign="top"                                | {{#if:{{{notes|}}}|{{{notes}}}|<span style="font-size:1%; visibility:hidden;">z</span>This accessory is like the others. It does not have different textures or special effects.}}{{#if:{{{dor|}}}
 
|style="background: #c7dbea; padding:3px; border-radius: 5px;" align="left" valign="top"                                | {{#if:{{{notes|}}}|{{{notes}}}|<span style="font-size:1%; visibility:hidden;">z</span>This accessory is like the others. It does not have different textures or special effects.}}{{#if:{{{dor|}}}
|<br><br> Initial release: ''{{#switch:{{{dor|}}}
+
|<br><br> Initial release: {{DoRSource
|#default={{{dor}}}
+
|1  = {{{dor}}}
|04 October 2011  = [http://forums.spiralknights.com/en/node/27649 04 October 2011]
+
|dor = {{{dor}}}
|01 February 2012  = [http://forums.spiralknights.com/en/node/42036 01 February 2012]
+
}}
|14 February 2012  = [http://forums.spiralknights.com/en/node/43718 14 February 2012]
+
|04 April 2012    = [http://forums.spiralknights.com/en/node/49466 04 April 2012]
+
|20 June 2012      = [http://forums.spiralknights.com/en/node/57358 20 June 2012]
+
|09 August 2012    = [http://forums.spiralknights.com/en/node/61705 09 August 2012]
+
|12 September 2012 = [http://forums.spiralknights.com/en/node/63880 12 September 2012]
+
|17 October 2012  = [http://forums.spiralknights.com/en/node/66484 17 October 2012]
+
|07 June 2012      = [http://forums.spiralknights.com/en/node/55933 07 June 2012]
+
|13 July 2012      = [http://forums.spiralknights.com/en/node/59405 13 July 2012]
+
 
+
|23 October 2013  = [http://forums.spiralknights.com/en/node/91276 23 October 2013]
+
|27 November 2013  = [http://forums.spiralknights.com/en/node/93342 27 November 2013]
+
|11 December 2013  = [http://forums.spiralknights.com/en/node/94072 11 December 2013]
+
|19 December 2013  = [http://steamcommunity.com/games/spiralknights/announcements/detail/1407671378770898907 19 December 2013]
+
 
+
|24 January 2014  = [http://forums.spiralknights.com/en/node/95960 24 January 2014]
+
|26 February 2014  = [http://forums.spiralknights.com/en/node/97506 26 February 2014]
+
|14 March 2014    = [http://forums.spiralknights.com/en/node/98178 14 March 2014]
+
|16 April 2014    = [http://forums.spiralknights.com/en/node/99435 16 April 2014]
+
|30 April 2014    = [http://forums.spiralknights.com/en/node/100025 30 April 2014]
+
|21 May 2014      = [http://forums.spiralknights.com/en/node/100875 21 May 2014]
+
|18 June 2014      = [http://forums.spiralknights.com/en/node/101828 18 June 2014]
+
|19 June 2014      = [http://steamcommunity.com/games/spiralknights/announcements/detail/1299601471515212220 19 June 2014]
+
|02 July 2014      = [http://forums.spiralknights.com/en/node/102352 02 July 2014]
+
|12 November 2014  = [http://forums.spiralknights.com/en/node/105927 12 November 2014]
+
 
+
|21 January 2015  = [http://forums.spiralknights.com/en/node/107676 21 January 2015]
+
|18 March 2015    = [http://forums.spiralknights.com/en/node/108705 18 March 2015]
+
|22 April 2015    = [http://forums.spiralknights.com/en/node/109345 22 April 2015]
+
|24 June 2015      = [http://forums.spiralknights.com/en/node/110498 24 June 2015]
+
|08 July 2015      = [http://forums.spiralknights.com/en/node/110763 08 July 2015]
+
|05 August 2015    = [http://forums.spiralknights.com/en/node/111259 05 August 2015]
+
|02 September 2015 = [http://forums.spiralknights.com/en/node/111739 02 September 2015]
+
|23 September 2015 = [http://forums.spiralknights.com/en/node/111989 23 September 2015]
+
|07 October 2015  = [http://forums.spiralknights.com/en/node/112165 07 October 2015]
+
}}''
+
 
|
 
|
}}</includeonly><noinclude>|}
+
}}</includeonly><noinclude>
 
{{documentation}} [[Category:Accessory Templates]]</noinclude>
 
{{documentation}} [[Category:Accessory Templates]]</noinclude>

Latest revision as of 22:29, 27 March 2020

[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