<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.mylionking.com/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.mylionking.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASprite%2Fdoc</id>
		<title>Template:Sprite/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.mylionking.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ASprite%2Fdoc"/>
		<link rel="alternate" type="text/html" href="https://www.mylionking.com/w/index.php?title=Template:Sprite/doc&amp;action=history"/>
		<updated>2026-04-27T21:32:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>https://www.mylionking.com/w/index.php?title=Template:Sprite/doc&amp;diff=2720&amp;oldid=prev</id>
		<title>Moka: Created page with &quot;{{doc/start}} This template creates a sprite from a sheet image. Commonly used when many small images are displayed on one page to reduce the total amount of HTTP connections.  =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.mylionking.com/w/index.php?title=Template:Sprite/doc&amp;diff=2720&amp;oldid=prev"/>
				<updated>2011-04-03T13:29:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{doc/start}} This template creates a sprite from a sheet image. Commonly used when many small images are displayed on one page to reduce the total amount of HTTP connections.  =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{doc/start}}&lt;br /&gt;
This template creates a sprite from a sheet image. Commonly used when many small images are displayed on one page to reduce the total amount of HTTP connections.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Sprite&lt;br /&gt;
|pos=1&lt;br /&gt;
|align=text-top&lt;br /&gt;
|image=CommentCSS.png&lt;br /&gt;
|link=Help:Contents&lt;br /&gt;
|size=16&lt;br /&gt;
|sheetsize=48&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Will Output: {{Sprite&lt;br /&gt;
|pos=1&lt;br /&gt;
|align=text-top&lt;br /&gt;
|image=CommentCSS.png&lt;br /&gt;
|link=Help:Contents&lt;br /&gt;
|size=16&lt;br /&gt;
|sheetsize=48&lt;br /&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;pos&amp;lt;/code&amp;gt; || Position index of the sprite, depends on &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sheetsize&amp;lt;/code&amp;gt; (left to right, starting at top-left sprite) || 1&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;align&amp;lt;/code&amp;gt; || Sets the [http://css-tricks.com/what-is-vertical-align/ vertical alignment] of the image to the text. || middle&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt; || Sprite sheet image, without prefix || [[:File:CommentCSS.png|CommentCSS.png]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;link&amp;lt;/code&amp;gt; || Create a link to this page || ''None''&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt; || Size of each sprite in pixels, width and height || 16&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sheetsize&amp;lt;/code&amp;gt; || Size of the whole sheet in pixels, width and height, must be multiple of &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt; || 48&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
{{doc/end}}&lt;/div&gt;</summary>
		<author><name>Moka</name></author>	</entry>

	</feed>