Difference between revisions of "Template:Grid/doc"
Line 12: | Line 12: | ||
;which will result in: | ;which will result in: | ||
{{Grid|Dirt|A [[Dirt]] block}} | {{Grid|Dirt|A [[Dirt]] block}} | ||
+ | |||
+ | Or to the left of it: <code><nowiki>{{Grid|Sapling|An [[Saplings|Oak Sapling]]|left}}</nowiki></code> | ||
+ | ;which will result in: | ||
+ | {{Grid|Sapling|An [[Saplings|Oak Sapling]]|left}} | ||
== Other templates == | == Other templates == |
Revision as of 16:35, 11 September 2011
The grid template is a singular grid cell, which has the ability to display any image (usually a block or item) that is uploaded as Grid {{{1}}}.png, within it.
Usage
Put {{Grid|Name}}}
where you want the image.
Examples
To display this image you would put: {{Grid|Cooked Porkchop}}
- which will result in
Text can also be displayed next to it: {{Grid|Dirt|A [[Dirt]] block}}
- which will result in
Or to the left of it: {{Grid|Sapling|An [[Saplings|Oak Sapling]]|left}}
- which will result in
Other templates
These templates implement the grid template into a GUI screen which mimics how it would look in Minecraft with CSS.
- {{Crafting Table}}
- {{Furnace}}
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.