Difference between revisions of "Template:Grid/doc"
Line 4: | Line 4: | ||
Put <code><nowiki>{{Grid|Name}}}</nowiki></code> where you want the image. | Put <code><nowiki>{{Grid|Name}}}</nowiki></code> where you want the image. | ||
− | == | + | == Examples == |
To display this image [[File:Grid Cooked Porkchop.png]] you would put: <code><nowiki>{{Grid|Cooked Porkchop}}</nowiki></code> | To display this image [[File:Grid Cooked Porkchop.png]] you would put: <code><nowiki>{{Grid|Cooked Porkchop}}</nowiki></code> | ||
;which will result in: | ;which will result in: | ||
{{Grid|Cooked Porkchop}} | {{Grid|Cooked Porkchop}} | ||
+ | |||
+ | Text can also be displayed next to it: <code><nowiki>{{Grid|Dirt|A [[Dirt]] block}}</nowiki></code> | ||
+ | ;which will result in: | ||
+ | {{Grid|Dirt|A [[Dirt]] block}} | ||
== Other templates == | == Other templates == |
Revision as of 16:19, 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
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.