<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfotable_Bonuses_Header_Sortable</id>
	<title>Template:Infotable Bonuses Header Sortable - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfotable_Bonuses_Header_Sortable"/>
	<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Infotable_Bonuses_Header_Sortable&amp;action=history"/>
	<updated>2026-07-17T08:51:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.darkan.org/index.php?title=Template:Infotable_Bonuses_Header_Sortable&amp;diff=55482&amp;oldid=prev</id>
		<title>imported&gt;Blaze fire12 at 18:40, 21 July 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Infotable_Bonuses_Header_Sortable&amp;diff=55482&amp;oldid=prev"/>
		<updated>2012-07-21T18:40:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;Hover over image for bonus type&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;{{#vardefine:rows|{{#expr:{{{rows|0}}}+1+2*{{{tot|0}}}}}}}&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot; {{#if:{{{style|}}}|style=&amp;quot;{{{style}}}&amp;quot;}}{{#if:{{{inv|}}}|&lt;br /&gt;
!class=&amp;quot;unsortable&amp;quot;{{!}} |}}&lt;br /&gt;
!&amp;lt;span style=&amp;quot;color: black;&amp;quot;&amp;gt;Item&amp;lt;/span&amp;gt;&lt;br /&gt;
!{{ctr}}|[[File:Stab attack icon.png|Stab Attack]]&lt;br /&gt;
!{{ctr}}|[[File:Slash attack icon.png|Slash Attack]]&lt;br /&gt;
!{{ctr}}|[[File:Crush attack icon.png|Crush Attack]]&lt;br /&gt;
!{{ctr}}|[[File:Magic attack icon.png|Magic Attack]]&lt;br /&gt;
!{{ctr}}|[[File:Ranged attack icon.png|Range Attack]]&lt;br /&gt;
!{{ctr}}|[[File:Stab_defence-icon.png|Stab Defence]]&lt;br /&gt;
!{{ctr}}|[[File:Slash defence-icon.png|Slash Defence]]&lt;br /&gt;
!{{ctr}}|[[File:Crush defence-icon.png|Crush Defence]]&lt;br /&gt;
!{{ctr}}|[[File:Magic defence-icon.png|Magic Defence]]&lt;br /&gt;
!{{ctr}}|[[File:Ranged defence-icon.png|Range Defence]]&lt;br /&gt;
!{{ctr}}|[[File:Summoning-icon.png|Summoning Defence]]&lt;br /&gt;
!{{ctr}}|[[File:Strength-icon.png|Strength]]&lt;br /&gt;
!{{ctr}}|[[File:Prayer-icon.png|Prayer]]{{#if:{{{image|}}}|&lt;br /&gt;
{{!}}rowspan=&amp;quot;{{#var:rows}}&amp;quot; width=125 align=&amp;quot;center&amp;quot; valign=&amp;quot;center&amp;quot; class=&amp;quot;unsortable&amp;quot;{{!}}[[File:{{{image}}}{{#if:{{{caption|}}}|{{!}}{{{caption}}}}}]]{{#if:{{{caption|}}}|&amp;lt;br /&amp;gt;&amp;lt;small&amp;gt;{{{caption}}}&amp;lt;/small&amp;gt;}}}}{{#if:{{{image2|}}}|&lt;br /&gt;
{{!}}rowspan=&amp;quot;{{#var:rows}}&amp;quot; width=125 align=&amp;quot;center&amp;quot; valign=&amp;quot;center&amp;quot; class=&amp;quot;unsortable&amp;quot;{{!}}[[File:{{{image2}}}{{#if:{{{caption2|}}}|{{!}}{{{caption2}}}}}]]{{#if:{{{caption2|}}}|&amp;lt;br /&amp;gt;&amp;lt;small&amp;gt;{{{caption2}}}&amp;lt;/small&amp;gt;}}}}&lt;br /&gt;
|-&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
{| style=&amp;quot;background:transparent;width:700px;&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Infotable Bonuses Header Sortable}}&lt;br /&gt;
&lt;br /&gt;
| Headband  || 0 || 0 || 0 || 0 || 0 ||  0 || -2 ||  0 || 0 ||  0 || 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| Tanktop   || 0 || 0 || 0 || 0 || 0 || -4 ||  0 ||  0 || 0 ||  0 || 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| Cutoffs   || 0 || 0 || 0 || 0 || 0 ||  0 ||  0 || -3 || 0 ||  0 || 0 || 0 || 0&lt;br /&gt;
|- &lt;br /&gt;
| Flipflops || 0 || 0 || 0 || 0 || 0 ||  0 ||  0 ||  0 || 0 || -1 || 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
results in:&lt;br /&gt;
&lt;br /&gt;
{{Infotable Bonuses Header Sortable}}&lt;br /&gt;
&lt;br /&gt;
| Headband  || 0 || 0 || 0 || 0 || 0 ||  0 || -2 ||  0 || 0 ||  0 || 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| Tanktop   || 0 || 0 || 0 || 0 || 0 || -4 ||  0 ||  0 || 0 ||  0 || 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| Cutoffs   || 0 || 0 || 0 || 0 || 0 ||  0 ||  0 || -3 || 0 ||  0 || 0 || 0 || 0&lt;br /&gt;
|- &lt;br /&gt;
| Flipflops || 0 || 0 || 0 || 0 || 0 ||  0 ||  0 ||  0 || 0 || -1 || 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Infotable Bonuses Header Sortable&lt;br /&gt;
|style=any styles to apply to the entire table&lt;br /&gt;
|inv=if this exists (i.e. is present with a non-space value in the code) then the Item header spans two columns - designed for placing inventory sprites next to the name&lt;br /&gt;
|image=an image&amp;#039;s filename, with no File: or File:&lt;br /&gt;
|caption=the image&amp;#039;s caption&lt;br /&gt;
|rows=number of items in the table; if there is an image specified this MUST be too&lt;br /&gt;
|tot=the number of times the totals or multi-totals template is used; defaults to zero&lt;br /&gt;
|image2=a second image&amp;#039;s filename, with no File: or File:&lt;br /&gt;
|caption2=the second image&amp;#039;s caption&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
* The totals must be manually calculated.&lt;br /&gt;
* The closing mark (&amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;|}&amp;#039;&amp;#039;&amp;#039;&amp;amp;nbsp;) must be added at the end.&lt;br /&gt;
* A space is needed preceding the first total in the totals line; you will also need spaces between pipes (&amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;|&amp;#039;&amp;#039;&amp;#039;&amp;amp;nbsp;) and signs (&amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;+&amp;#039;&amp;#039;&amp;#039;&amp;amp;nbsp;or&amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;-&amp;#039;&amp;#039;&amp;#039;&amp;amp;nbsp;), as without can cause the software to recognise it as |- or |+ and create a new row or new table header.&lt;br /&gt;
* The number of rows &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; be specified if an image is specified. This is &amp;#039;&amp;#039;all&amp;#039;&amp;#039; items in the table - the header rows are added automatically. [[Template:Infotable Bonuses totals|Totals]] and [[Template:Infotable Bonuses multi-totals|multiple totals]] are not automatically added - specify how many times they is used using tot.&lt;br /&gt;
* Leave inv out of the code altogether if the sprites are not wanted. Otherwise, set it to a single character (&amp;#039;&amp;#039;y&amp;#039;&amp;#039; would make sense, but any work) to save code.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Template:Infotable Bonuses header]]&lt;br /&gt;
*[[Template:Infotable Bonuses totals]]&lt;br /&gt;
*[[Template:Infotable Bonuses multi-totals]]&lt;br /&gt;
*[[Template:Infobox Bonuses]]&lt;br /&gt;
[[Category:Infobox templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Blaze fire12</name></author>
	</entry>
</feed>