Difference between revisions of "Template:Grid/doc"

From Better Than Wolves Wiki
Jump to: navigation, search
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

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

Text can also be displayed next to it: {{Grid|Dirt|A [[Dirt]] block}}

which will result in
Grid Dirt.png

Or to the left of it: {{Grid|Sapling|An [[Saplings|Oak Sapling]]|left}}

which will result in
Grid Sapling.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.