<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mineinabyss.com/w/Template:Iconbar/doc/history?feed=atom</id>
	<title>Template:Iconbar/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mineinabyss.com/w/Template:Iconbar/doc/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/w/Template:Iconbar/doc/history"/>
	<updated>2026-05-12T16:35:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.mineinabyss.com/index.php?title=Template:Iconbar/doc&amp;diff=2555&amp;oldid=prev</id>
		<title>NIK220V: Created page with &quot;{{Documentation header}} This template creates a bar made of icons.  &lt;pre style=&quot;width: 100px&quot;&gt;{{iconbar |value= |title= |size= |full= |half= |empty= |reverse= |total= |offset= }}&lt;/pre&gt;  {| class=&quot;wikitable&quot; ! Parameter ! Function ! Default value |- | &lt;code&gt;value&lt;/code&gt; | Integer value between 0 and 20. One &quot;full&quot; icon is shown for each increase of 2 to &lt;code&gt;value&lt;/code&gt; (e.g. three are shown if &lt;code&gt;value&lt;/code&gt; is 6 or 7, etc.), and if &lt;code&gt;value&lt;/code&gt; is odd, a &quot;h...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.mineinabyss.com/index.php?title=Template:Iconbar/doc&amp;diff=2555&amp;oldid=prev"/>
		<updated>2026-03-09T15:44:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation header}} This template creates a bar made of icons.  &amp;lt;pre style=&amp;quot;width: 100px&amp;quot;&amp;gt;{{iconbar |value= |title= |size= |full= |half= |empty= |reverse= |total= |offset= }}&amp;lt;/pre&amp;gt;  {| class=&amp;quot;wikitable&amp;quot; ! Parameter ! Function ! Default value |- | &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; | Integer value between 0 and 20. One &amp;quot;full&amp;quot; icon is shown for each increase of 2 to &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; (e.g. three are shown if &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is 6 or 7, etc.), and if &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is odd, a &amp;quot;h...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation header}}&lt;br /&gt;
This template creates a bar made of icons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;width: 100px&amp;quot;&amp;gt;{{iconbar&lt;br /&gt;
|value=&lt;br /&gt;
|title=&lt;br /&gt;
|size=&lt;br /&gt;
|full=&lt;br /&gt;
|half=&lt;br /&gt;
|empty=&lt;br /&gt;
|reverse=&lt;br /&gt;
|total=&lt;br /&gt;
|offset=&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter&lt;br /&gt;
! Function&lt;br /&gt;
! Default value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;&lt;br /&gt;
| Integer value between 0 and 20. One &amp;quot;full&amp;quot; icon is shown for each increase of 2 to &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; (e.g. three are shown if &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is 6 or 7, etc.), and if &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is odd, a &amp;quot;half&amp;quot; icon is shown at the end of the bar.&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;&lt;br /&gt;
| Mouseover text. If this parameter isn&amp;#039;t specified, it falls back to &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;.&lt;br /&gt;
| &amp;#039;&amp;#039;None&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt;&lt;br /&gt;
| Width of each icon in CSS units like &amp;quot;px&amp;quot; or &amp;quot;em&amp;quot;. Units default to &amp;quot;px&amp;quot;.&lt;br /&gt;
| &amp;#039;&amp;#039;None&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;full&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;quot;Full&amp;quot; icon. One of these is shown for each increase of 2 to &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; (e.g. three are shown if &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is 6 or 7, etc.).&lt;br /&gt;
| &amp;#039;&amp;#039;None&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;half&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;quot;Half&amp;quot; icon, used at the end of the bar if &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is odd.&lt;br /&gt;
| &amp;#039;&amp;#039;None&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;empty&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;quot;Empty&amp;quot; icon, used if &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is 0 or if &amp;lt;code&amp;gt;total&amp;lt;/code&amp;gt; is used and is higher than &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;.&lt;br /&gt;
| &amp;#039;&amp;#039;None&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;reverse&amp;lt;/code&amp;gt;&lt;br /&gt;
| Pass a value to display the &amp;quot;half&amp;quot; icon on the left end of the bar instead of the right.&lt;br /&gt;
| &amp;#039;&amp;#039;None&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;total&amp;lt;/code&amp;gt;&lt;br /&gt;
| Minimum number of icons to be shown. If &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; is lower than this, empty icons are shown to reach the minimum.&lt;br /&gt;
| &amp;#039;&amp;#039;None&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;offset&amp;lt;/code&amp;gt;&lt;br /&gt;
| Offset between the icons. Negative values will overlap the icons.&lt;br /&gt;
| &amp;lt;code&amp;gt;-(size/9)&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
*4/10 HP &amp;lt;pre&amp;gt;{{iconbar|value=4|title=|size=|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
:{{iconbar|value=4|title=|size=|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10}}&lt;br /&gt;
*4/10 HP large &amp;lt;pre&amp;gt;{{iconbar|value=4|title=|size=18px|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
:{{iconbar|value=4|title=|size=18px|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10}}&lt;br /&gt;
*5/10 HP with title &amp;lt;pre&amp;gt;{{iconbar|value=5|title=Lorem ipsum|size=|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
:{{iconbar|value=5|title=Lorem ipsum|size=|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10}}&lt;br /&gt;
*5/10 HP mob reversed with title &amp;lt;pre&amp;gt;{{iconbar|value=5|title=Lorem ipsum|size=|full=Mob Heart.png|half=Mob Half Heart.png|empty=Empty Heart.png|reverse=yess|total=10}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
:{{iconbar|value=5|title=Lorem ipsum|size=|full=Mob Heart.png|half=Mob Half Heart.png|empty=Empty Heart.png|reverse=yess|total=10}}&lt;br /&gt;
*4/10 HP large with offset between them &amp;lt;pre&amp;gt;{{iconbar|value=4|title=|size=18px|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10|offset=5px}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
:{{iconbar|value=4|title=|size=18px|full=Heart.png|half=Half Heart.png|empty=Empty Heart.png|reverse=|total=10|offset=5px}}&lt;/div&gt;</summary>
		<author><name>NIK220V</name></author>
	</entry>
</feed>