Difference between revisions of "Template:Grid/doc"

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

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

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.