Difference between revisions of "Template:Grid/doc"

From Better Than Wolves Wiki
Jump to: navigation, search
Line 8: Line 8:
 
;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}}
 
 
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 11:02, 12 September 2011

Template-info.png Documentation

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 Grid Cooked Porkchop.png you would put: {{Grid|Cooked Porkchop}}

which will result in
Grid Cooked Porkchop.png

Other templates

These templates implement the grid template into a GUI screen which mimics how it would look in Minecraft with CSS.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.