<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FMob_icon%2Fdoc</id>
	<title>Template:MC/Mob icon/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FMob_icon%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Mob_icon/doc&amp;action=history"/>
	<updated>2026-04-10T07:27:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/Mob_icon/doc&amp;diff=44210&amp;oldid=prev</id>
		<title>imported&gt;Outrowed: improve doc; deprecate pixel-image</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Mob_icon/doc&amp;diff=44210&amp;oldid=prev"/>
		<updated>2026-02-27T18:01:52Z</updated>

		<summary type="html">&lt;p&gt;improve doc; deprecate pixel-image&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;
{{Uses TemplateStyles|Template:Mob icon/styles.css}}&lt;br /&gt;
This template generates a mob container that displays their name and face/icon. It&amp;#039;s primarily used in {{slink|Mob}} page with {{t|Mob icon list}}, which is used to contain multiple mob icons inside.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* {{p|1|&amp;#039;&amp;#039;&amp;lt;mob name&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; the mob&amp;#039;s name shown under the icon.&lt;br /&gt;
* {{p|image|&amp;#039;&amp;#039;&amp;lt;path&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; the mob&amp;#039;s face image for the icon. When unspecified, it uses &amp;lt;code&amp;gt;File:&amp;#039;&amp;#039;&amp;lt;mob name&amp;gt;&amp;#039;&amp;#039; face.png&amp;lt;/code&amp;gt; as the image file.&lt;br /&gt;
** For legacy purpose, if &amp;lt;code&amp;gt;File:&amp;#039;&amp;#039;&amp;lt;mob name&amp;gt;&amp;#039;&amp;#039;Face.png&amp;lt;/code&amp;gt; exists, it uses that instead of the current format. For newer mob face images, please use (or move to) &amp;lt;code&amp;gt;File:&amp;#039;&amp;#039;&amp;lt;mob name&amp;gt;&amp;#039;&amp;#039; face.png&amp;lt;/code&amp;gt; format.&lt;br /&gt;
* {{p|image-size|&amp;#039;&amp;#039;&amp;lt;size&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; the image&amp;#039;s size. Its value is directly used for the image tag itself, making it equivalent to [[mw:Help:Images#Size_and_frame|Wikitext image size]]. The max width for the image is 120px hard-coded in CSS.&lt;br /&gt;
* {{p|class|&amp;#039;&amp;#039;&amp;lt;image class&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; specifies class for the image. There are several useful image classes you can use:&lt;br /&gt;
** &amp;lt;code&amp;gt;drop-shadow-light&amp;lt;/code&amp;gt; which adds a light drop shadow behind the image, making it stand out and more visible.&lt;br /&gt;
** &amp;lt;code&amp;gt;pixel-image&amp;lt;/code&amp;gt; removes anti aliasing for small resolution pixelated image.&lt;br /&gt;
&amp;lt;!--* {{p|pixel-image|1}} &amp;amp;ndash; whether the &amp;lt;code&amp;gt;pixel-image&amp;lt;/code&amp;gt; class is specified for the image. This removes anti aliasing for pixelated image.&lt;br /&gt;
&lt;br /&gt;
!!DEPRECATED!! use &amp;quot;pixel-image&amp;quot; class directly instead&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* {{p|link|&amp;#039;&amp;#039;&amp;lt;page&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; the page title where the user directs to when the mob icon is clicked. Defaults to the mob&amp;#039;s name as the page title. When &amp;lt;code&amp;gt;link=none&amp;lt;/code&amp;gt; is specified, it disables the link.&lt;br /&gt;
* {{p|externallink|&amp;#039;&amp;#039;&amp;lt;external page&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; the external page which a new tab opens for. Overrides {{p|link}}&amp;#039;s functionality.&lt;br /&gt;
* {{p|postfix|&amp;#039;&amp;#039;&amp;lt;postfix&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; text content inserted after the mob&amp;#039;s name. This is useful for inserting references, notes, etc.&lt;br /&gt;
* {{p|image-element|&amp;#039;&amp;#039;&amp;lt;image code&amp;gt;&amp;#039;&amp;#039;}} &amp;amp;ndash; inserts custom image element code using Wikitext syntax. This is useful for using animated images via {{t|Animate}}, or other custom image tags.&lt;br /&gt;
* {{p|text-nowrap|1}} &amp;amp;ndash; forces the mob&amp;#039;s name to unwrap. For partial unwrapping, use {{t|Nowrap}}.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
A basic example using the template to produce Allay mob icon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Allay}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Allay}}}}&lt;br /&gt;
&lt;br /&gt;
When the mob&amp;#039;s name is specified, it gets the image from &amp;quot;&amp;#039;&amp;#039;File:&amp;lt;mob name&amp;gt; face.png&amp;#039;&amp;#039;&amp;quot;, for example with [[Iron Golem]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Iron Golem}}&lt;br /&gt;
&amp;lt;!-- It assumes &amp;quot;File:Iron Golem face.png&amp;quot; for the mob icon&amp;#039;s image. --&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Iron Golem}}}}&lt;br /&gt;
&lt;br /&gt;
By default, the mob icon links to an article with the same name, but you can specify the link manually with {{p|link}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Monster|link=Monster (entity)|image=HumanFace.png}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Monster|link=Monster (entity)|image=HumanFace.png}}}}&lt;br /&gt;
&lt;br /&gt;
Note the {{p|link}} parameter does not work with external link, for that, you&amp;#039;d need to use {{p|externallink}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Alpaca|externallink=https://en.wikipedia.org/wiki/Alpaca|image=AlpacaFace.png}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{fullurl:...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser to get the full URL from a wiki link:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Alpaca|externallink={{fullurl:w:Alpaca}}|image=AlpacaFace.png}}&lt;br /&gt;
&amp;lt;!-- &amp;quot;w:&amp;quot; is the Wikipedia namespace from the wiki itself, used for linking to Wikipedia articles quickly --&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Alpaca|externallink={{fullurl:wikipedia:Alpaca}}|image=AlpacaFace.png}}}}&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t want to use link, you can omit it intentionally by specifying {{p|link|none}}. Additionally, the {{p|image}} parameter also specifies a custom image:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Raccoon|link=none|image=RacoonFace.png}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Raccoon|link=none|image=RacoonFace.png}}}}&lt;br /&gt;
&lt;br /&gt;
You can add custom HTML classes to the image. For example, here&amp;#039;s one with {{cd|drop-shadow-light}}, which adds light drop shadow behind the image:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Firefly|link=Story Mode:Firefly|image=Firefly.png|class=drop-shadow-light}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Firefly|link=Story Mode:Firefly|image=Firefly.png|class=drop-shadow-light}}}}&lt;br /&gt;
&lt;br /&gt;
You can add a postfix text with {{p|postfix}}, which is useful for adding extraneous information:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Pufferfish|postfix=&amp;lt;br&amp;gt;(defensive)}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Pufferfish|postfix=&amp;lt;br&amp;gt;(defensive)}}}}&lt;br /&gt;
&lt;br /&gt;
The {{p|postfix}} is also useful for adding body notes (or references):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Pigman|postfix={{note|An unimplemented mob.}}}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Pigman|postfix={{note|An unimplemented mob.}}}}&lt;br /&gt;
&amp;lt;references group=&amp;quot;note&amp;quot;/&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You can specify a custom image element (i.e., custom {{xtag|img}} tag), usually produced from templates, such as {{t|animate}} (which animates individual image files into a single image):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=wikitext&amp;gt;&lt;br /&gt;
{{Mob icon|Mob|link=Mob (entity)|image-element={{animate|HumanFace.png;RanaFace.png;SteveFace.png;BlackSteveFace.png;BeastBoyFace.png|link=Mob (entity)}}}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Produces|{{Mob icon|Mob|link=Mob (entity)|image-element={{animate|HumanFace.png;RanaFace.png;SteveFace.png;BlackSteveFace.png;BeastBoyFace.png|link=Mob (entity)}}}}}}&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies the mob&amp;#039;s name.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;image-size&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies custom image size. Equivalent to Wikitext image size syntax.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;image-element&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies custom image element. Can be any wikitext.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;unbalanced-wikitext&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;image&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies the image&amp;#039;s file.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-file-name&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;pixel-image&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies if the image uses \&amp;quot;pixel-image\&amp;quot; class or not. Doesn&amp;#039;t work when using custom image element.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;1&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;class&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Adds additional classes to the image.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;link&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies the mob&amp;#039;s link. Putting \&amp;quot;none\&amp;quot; disables linking.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;text-nowrap&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies if the text for the mob&amp;#039;s name should wrap or not.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;0&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;postfix&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies a text after the mob&amp;#039;s name. Useful for adding a reference, note, or custom text.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template for generating a mob icon with their name and icon.&amp;quot;,&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;postfix&amp;quot;,&lt;br /&gt;
		&amp;quot;link&amp;quot;,&lt;br /&gt;
		&amp;quot;image&amp;quot;,&lt;br /&gt;
		&amp;quot;image-size&amp;quot;,&lt;br /&gt;
		&amp;quot;pixel-image&amp;quot;,&lt;br /&gt;
		&amp;quot;class&amp;quot;,&lt;br /&gt;
		&amp;quot;image-element&amp;quot;,&lt;br /&gt;
		&amp;quot;text-nowrap&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- template categories/interwikis here --&amp;gt;&lt;br /&gt;
[[es:Plantilla:MuestraEntidad]]&lt;br /&gt;
[[ja:テンプレート:Mob icon]]&lt;br /&gt;
[[pt:Predefinição:Ícone de criatura]]&lt;br /&gt;
[[ru:Шаблон:Иконка моба]]&lt;br /&gt;
[[uk:Шаблон:Зображення моба]]&lt;br /&gt;
[[zh:Template:Mob icon]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- documentation categories/interwikis here --&amp;gt;&lt;br /&gt;
[[es:Plantilla:MuestraEntidad/doc]]&lt;br /&gt;
[[pt:Predefinição:Ícone de criatura/doc]]&lt;br /&gt;
[[ru:Шаблон:Иконка моба/док]]&lt;br /&gt;
[[uk:Шаблон:Зображення моба/док]]&lt;br /&gt;
[[zh:Template:Mob icon/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Outrowed</name></author>
	</entry>
</feed>