<?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%2FSandbox%2FSprite_grid</id>
	<title>Template:MC/Sandbox/Sprite grid - 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%2FSandbox%2FSprite_grid"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Sandbox/Sprite_grid&amp;action=history"/>
	<updated>2026-04-16T09:14: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/Sandbox/Sprite_grid&amp;diff=45103&amp;oldid=prev</id>
		<title>imported&gt;Cowbird: creating sandbox sprite grid</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Sandbox/Sprite_grid&amp;diff=45103&amp;oldid=prev"/>
		<updated>2024-09-05T20:56:33Z</updated>

		<summary type="html">&lt;p&gt;creating sandbox sprite grid&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;
&amp;lt;!-- Documentation here --&amp;gt;&lt;br /&gt;
{{lua}}&lt;br /&gt;
This Template is used to draw simple 2D-spritegraphics.&lt;br /&gt;
&lt;br /&gt;
It uses the IDs from sprite sheets to define single-character-abbreviations for sprites, which can be used in a [[Wikipedia:Help:Table|Table]]-like fashion&lt;br /&gt;
&lt;br /&gt;
The sprite sheet used can be defined by adding the sprite template name before the ID, followed by a colon (&amp;lt;code&amp;gt;BlockSprite:stone&amp;lt;/code&amp;gt;). The default sprite sheet can be provided using &amp;lt;code&amp;gt;sheet=&amp;lt;/code&amp;gt;, and defaults to BlockSprite.&lt;br /&gt;
&lt;br /&gt;
Icons can have their link removed, by starting the sprite ID with {{code|+}}. Alternatively, if the default link is not correct, you can add &amp;lt;code&amp;gt;?&amp;#039;&amp;#039;&amp;lt;alternate page&amp;gt;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; (where &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;lt;page&amp;gt;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; is the name of a page) at the end (after the optional rotation).&lt;br /&gt;
&lt;br /&gt;
Icons can be rotated by adding &amp;lt;code&amp;gt;-rot&amp;#039;&amp;#039;&amp;lt;number&amp;gt;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; on the end of the sprite ID (e.g. &amp;lt;code&amp;gt;Red Glazed Terracotta-rot90&amp;lt;/code&amp;gt; for a red [[glazed terracotta]] rotated 90 degrees).&lt;br /&gt;
&lt;br /&gt;
{{p|spacing}} sets the pixels of spacing between each cell, &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; by default.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Sprite grid&lt;br /&gt;
|sheet=BiomeSprite&lt;br /&gt;
|g=BlockSprite:+Grass Block|G=BlockSprite:Grass Block+top|s=Forest|S=Dark Forest|m=BlockSprite:Magenta Glazed Terracotta|M=BlockSprite:Magenta Glazed Terracotta-rot90|e=BlockSprite:Magenta Glazed Terracotta-rot270|z=EntitySprite:zombie|I=ItemSprite:stick|N=BlockSprite:Nether Portal?Nether Portal (block)&lt;br /&gt;
|s gI&lt;br /&gt;
|GSaz&lt;br /&gt;
|mMeN&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;produces&lt;br /&gt;
{{Sprite grid&lt;br /&gt;
|sheet=BiomeSprite|nocat=1&lt;br /&gt;
|g=BlockSprite:+Grass Block|G=BlockSprite:Grass Block+top|s=Forest|S=Dark Forest|m=BlockSprite:Magenta Glazed Terracotta|M=BlockSprite:Magenta Glazed Terracotta-rot90|e=BlockSprite:Magenta Glazed Terracotta-rot270|z=EntitySprite:zombie|I=ItemSprite:stick|N=BlockSprite:Nether Portal?Nether Portal (block)&lt;br /&gt;
|s gI&lt;br /&gt;
|GSaz&lt;br /&gt;
|mMeN&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Undefined prefixes or prefixes assigned to names unknown to the sprite template are replaced by {{BlockSprite|nocat=1}}.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Sprite see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwiki here --&amp;gt;&lt;br /&gt;
[[Category:Sprite templates]]&lt;br /&gt;
[[fr:Modèle:GrilleBloc]]&lt;br /&gt;
[[ko:틀:Sprite_grid]]&lt;br /&gt;
[[nl:Sjabloon:BlockGrid]]&lt;br /&gt;
[[uk:Шаблон:БлокСітка]]&lt;br /&gt;
[[ru:Шаблон:БлокСетка]]&lt;br /&gt;
[[zh:Template:BlockGrid]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwiki here --&amp;gt;&lt;br /&gt;
[[fr:Modèle:GrilleBloc/doc]]&lt;br /&gt;
[[ko:틀:Sprite_grid/doc]]&lt;br /&gt;
[[nl:Sjabloon:BlockGrid/doc]]&lt;br /&gt;
[[uk:Шаблон:БлокСітка/док]]&lt;br /&gt;
[[ru:Шаблон:БлокСетка/док]]&lt;br /&gt;
[[zh:Template:BlockGrid/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Cowbird</name></author>
	</entry>
</feed>