Template:Sprite

From Minecraft Discontinued Features Wiki
Jump to navigation Jump to search
[view | edit | history | purge | sandbox]Documentation

Used to create small sprite images next to items or other features. The generated images are not clickable. The first parameter should be the name of the image, omitting "File:" and the file extension. The template will first search for a .png file with the name, if not found it will search for .gif file with the name. The ext parameter can be used to hard set a file extension.

Examples

{{Sprite|Bedrock}}

gives: Bedrock.png

{{Sprite|Enchanted Golden Apple 2}}

gives: Enchanted Golden Apple 2.gif

{{Sprite|Clock|ext=gif}}

gives: Clock.gif (this is the GIF clock file instead of the PNG clock file)

[view | edit | history | purge | sandbox]The above documentation is transcluded from Template:Sprite/doc.