Template:Grid

From MC Public Wiki
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

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.

You can also specify the vertical alignment of the text with the image. {{Grid|Name|Vertical Alignment}}

Examples

To display this image Grid Raw Porkchop.png you would put: {{Grid|Raw Porkchop}}

which will result in
Grid Raw Porkchop.png


If no image is specified, the background will be added on its own, allowing you to do layouts like so:

{{Grid|TNT}}{{Grid|TNT}}{{Grid}}{{Grid}}{{Grid|TNT}}{{Grid|TNT}}<br />
{{Grid|TNT}}{{Grid|TNT}}{{Grid}}{{Grid}}{{Grid|TNT}}{{Grid|TNT}}<br />
{{Grid}}{{Grid}}{{Grid|TNT}}{{Grid|TNT}}{{Grid}}{{Grid}}<br />
{{Grid}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid}}<br />
{{Grid}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid|TNT}}{{Grid}}<br />
{{Grid}}{{Grid|TNT}}{{Grid}}{{Grid}}{{Grid|TNT}}{{Grid}}
which will result in
Grid TNT.png
Grid TNT.png
Grid TNT.png
Grid TNT.png

Grid TNT.png
Grid TNT.png
Grid TNT.png
Grid TNT.png

Grid TNT.png
Grid TNT.png

Grid TNT.png
Grid TNT.png
Grid TNT.png
Grid TNT.png

Grid TNT.png
Grid TNT.png
Grid TNT.png
Grid TNT.png

Grid TNT.png
Grid TNT.png


To align text to the middle on the same line as the image you would put: Smells like {{Grid|Raw Porkchop|middle}} in here!

which will result in
Smells like
Grid Raw Porkchop.png
in here!

Available images

Blocks

Natural
Bedrock Grid Bedrock.png Clay (Block) Grid Clay (Block).png Dirt Grid Dirt.png Grass Grid Grass.png Gravel Grid Gravel.png Ice Grid Ice.png
Monster Spawner Grid Monster Spawner.png Moss Stone Grid Moss Stone.png Stone Grid Stone.png Sand Grid Sand.png Obsidian Grid Obsidian.png Cobweb Grid Cobweb.png
Stone Brick Grid Stone Brick.png Cracked Stone Brick Grid Cracked Stone Brick.png Mossy Stone Brick Grid Mossy Stone Brick.png Mycelium Grid Mycelium.png End Portal Frame Grid End Portal Frame.png White Stone Grid White Stone.png
Manufactured
Wooden Plank Grid Wooden Plank.png Cobblestone Grid Cobblestone.png Sandstone Grid Sandstone.png Brick (Block) Grid Brick (Block).png Glass Grid Glass.png Glass Pane Grid Glass Pane.png
Bookshelf Grid Bookshelf.png Snow (Block) Grid Snow (Block).png Iron (Block) Grid Iron (Block).png Gold (Block) Grid Gold (Block).png Diamond (Block) Grid Diamond (Block).png Lapis Lazuli (Block) Grid Lapis Lazuli (Block).png
Jack-O-Lantern Grid Jack-O-Lantern.png Wooden Stairs Grid Wooden Stairs.png Cobblestone Stairs Grid Cobblestone Stairs.png Brick Stairs Grid Brick Stairs.png Stone Brick Stairs Grid Stone Brick Stairs.png Stone Slab Grid Stone Slab.png
Sandstone Slab Grid Sandstone Slab.png Wooden Slab File:Grid Wooden Slab.png Cobblestone Slab Grid Cobblestone Slab.png Bricks Slab Grid Bricks Slab.png Stone Bricks Slab Grid Stone Bricks Slab.png Double Stone Slab Grid Double Stone Slab.png
Ladders Grid Ladders.png Fence Grid Fence.png Fence Gate Grid Fence Gate.png Farmland Grid Farmland.png Iron Bars Grid Iron Bars.png
Wool
White Wool Grid White Wool.png Light Gray Wool Grid Light Gray Wool.png Gray Wool Grid Gray Wool.png Black Wool Grid Black Wool.png Red Wool Grid Red Wool.png Orange Wool Grid Orange Wool.png
Yellow Wool Grid Yellow Wool.png Lime Wool Grid Lime Wool.png Green Wool Grid Green Wool.png Cyan Wool Grid Cyan Wool.png Light Blue Wool Grid Light Blue Wool.png Blue Wool Grid Blue Wool.png
Purple Wool Grid Purple Wool.png Magenta Wool Grid Magenta Wool.png Pink Wool Grid Pink Wool.png Brown Wool Grid Brown Wool.png
Utility
Crafting Table Grid Crafting Table.png Furnace Grid Furnace.png Chest Grid Chest.png Jukebox Grid Jukebox.png TNT Grid TNT.png Sponge Grid Sponge.png
Cake Grid Cake.png Dispenser Grid Dispenser.png Note Block Grid Note Block.png Bed Grid Bed.png Enchantment Table Grid Enchantment Table.png Cauldron Grid Cauldron.png
Brewing Stand Grid Brewing Stand.png
Mechanisms
Redstone (Torch) Grid Redstone (Torch).png Redstone (Repeater) File:Grid Redstone (Repeater).png Lever Grid Lever.png Stone Button Grid Stone Button.png Wooden Pressure Plate Grid Wooden Pressure Plate.png Stone Pressure Plate Grid Stone Pressure Plate.png
Rails Grid Rails.png Powered Rail Grid Powered Rail.png Detector Rail Grid Detector Rail.png Wooden Door Grid Wooden Door.png Iron Door Grid Iron Door.png Trapdoor Grid Trapdoor.png
Piston Grid Piston.png Sticky Piston Grid Sticky Piston.png
Plants
Leaves Grid Leaves.png Leaves (Pine) Grid Leaves (Pine).png Leaves (Birch) Grid Leaves (Birch).png Wood Grid Wood.png Wood (Pine) Grid Wood (Pine).png Wood (Birch) Grid Wood (Birch).png
Cactus Grid Cactus.png Pumpkin Grid Pumpkin.png Melon (Block) Grid Melon (Block).png Vines Grid Vines.png Lily Pad Grid Lily Pad.png
Ore
Coal (Ore) Grid Coal (Ore).png Diamond (Ore) Grid Diamond (Ore).png Gold (Ore) Grid Gold (Ore).png Iron (Ore) Grid Iron (Ore).png Lapis Lazuli (Ore) Grid Lapis Lazuli (Ore).png Redstone (Ore) Grid Redstone (Ore).png
Liquids
Water Grid Water.png Lava Grid Lava.png
Non-Solid
Torch Grid Torch.png Sign Grid Sign.png Fire Grid Fire.png Portal Grid Portal.png End Portal Grid End Portal.png
The Nether
Glowstone (Block) Grid Glowstone (Block).png Netherrack Grid Netherrack.png Soul Sand Grid Soul Sand.png Nether Brick Grid Nether Brick.png Nether Brick Stairs Grid Nether Brick Stairs.png Nether Brick Fence Grid Nether Brick Fence.png
Nether Wart Grid Nether Wart.png

Items

Raw Materials
Bone Grid Bone.png Book Grid Book.png Clay (Item) Grid Clay (Item).png Clay (Brick) Grid Clay (Brick).png Coal (Item) Grid Coal (Item).png Charcoal (Item) Grid Charcoal (Item).png
Diamond (Gem) Grid Diamond (Gem).png Feather Grid Feather.png Flint Grid Flint.png Glowstone (Dust) Grid Glowstone (Dust).png Gold (Ingot) Grid Gold (Ingot).png Gunpowder Grid Gunpowder.png
Iron (Ingot) Grid Iron (Ingot).png Leather Grid Leather.png Paper Grid Paper.png Redstone (Dust) Grid Redstone (Dust).png Slimeball Grid Slimeball.png Stick Grid Stick.png
String Grid String.png Ender Pearl Grid Ender Pearl.png
Food
Red Apple Grid Red Apple.png Bread Grid Bread.png Cooked Fish Grid Cooked Fish.png Cooked Porkchop Grid Cooked Porkchop.png Egg Grid Egg.png Golden Apple Grid Golden Apple.png
Milk Bucket Grid Milk Bucket.png Mushroom Stew Grid Mushroom Stew.png Raw Fish Grid Raw Fish.png Raw Porkchop Grid Raw Porkchop.png Sugar Grid Sugar.png Wheat Grid Wheat.png
Cookie Grid Cookie.png Melon (Slice) Grid Melon (Slice).png Raw Beef Grid Raw Beef.png Steak Grid Steak.png Raw Chicken Grid Raw Chicken.png Cooked Chicken Grid Cooked Chicken.png
Rotten Flesh Grid Rotten Flesh.png
Alchemical Ingredients
Blaze Rod Grid Blaze Rod.png Blaze Powder Grid Blaze Powder.png Fermented Spider Eye Grid Fermented Spider Eye.png Ghast Tear Grid Ghast Tear.png Glistering Melon Grid Glistering Melon.png Gold Nugget Grid Gold Nugget.png
Nether Wart Seeds Grid Nether Wart Seeds.png Magma Cream Grid Magma Cream.png Spider Eye Grid Spider Eye.png
Potions
Water Bottle Grid Water Bottle.png Mundane Potion Grid Mundane Potion.png Awkward Potion Grid Awkward Potion.png Thick Potion Grid Thick Potion.png Instant Health File:Grid Instant Health.png Potion of Fire Resistance Grid Potion of Fire Resistance.png
Potion of Harming Grid Potion of Harming.png Potion of Poison Grid Potion of Poison.png Potion of Slowness Grid Potion of Slowness.png Potion of Strength Grid Potion of Strength.png Potion of Swiftness Grid Potion of Swiftness.png Potion of Weakness Grid Potion of Weakness.png
Plants
Rose Grid Rose.png Dandelion Grid Dandelion.png Red Mushroom Grid Red Mushroom.png Brown Mushroom Grid Brown Mushroom.png Sapling Grid Sapling.png Sapling Birch Grid Sapling Birch.png
Sapling Spruce Grid Sapling Spruce.png Sugar Cane Grid Sugar Cane.png Dead Bush Grid Dead Bush.png Tall Grass1 Grid Tall Grass1.png Tall Grass2 Grid Tall Grass2.png Tall Grass3 Grid Tall Grass3.png
Seeds Grid Seeds.png Melon Seeds Grid Melon Seeds.png Pumpkin Seeds Grid Pumpkin Seeds.png
Wool Dyes
Bone Meal Grid Bone Meal.png Light Gray Dye Grid Light Gray Dye.png Gray Dye Grid Gray Dye.png Ink Sac Grid Ink Sac.png Rose Red Grid Rose Red.png Orange Dye Grid Orange Dye.png
Dandelion Yellow Grid Dandelion Yellow.png Lime Dye Grid Lime Dye.png Cactus Green Grid Cactus Green.png Cyan Dye Grid Cyan Dye.png Light Blue Dye Grid Light Blue Dye.png Lapis Lazuli (Dye) Grid Lapis Lazuli (Dye).png
Purple Dye Grid Purple Dye.png Magenta Dye Grid Magenta Dye.png Pink Dye Grid Pink Dye.png Cocoa Beans Grid Cocoa Beans.png
Tools
Bowl Grid Bowl.png Clock Grid Clock.png Compass Grid Compass.png Fishing Rod Grid Fishing Rod.png Flint and Steel Grid Flint and Steel.png Saddle Grid Saddle.png
Wooden Axe Grid Wooden Axe.png Gold Axe Grid Gold Axe.png Stone Axe Grid Stone Axe.png Iron Axe Grid Iron Axe.png Diamond Axe Grid Diamond Axe.png Shears Grid Shears.png
Wooden Hoe Grid Wooden Hoe.png Gold Hoe Grid Gold Hoe.png Stone Hoe Grid Stone Hoe.png Iron Hoe Grid Iron Hoe.png Diamond Hoe Grid Diamond Hoe.png Glass Bottle Grid Glass Bottle.png
Wooden Pickaxe Grid Wooden Pickaxe.png Gold Pickaxe Grid Gold Pickaxe.png Stone Pickaxe Grid Stone Pickaxe.png Iron Pickaxe Grid Iron Pickaxe.png Diamond Pickaxe Grid Diamond Pickaxe.png Eye of Ender Grid Eye of Ender.png
Wooden Shovel Grid Wooden Shovel.png Gold Shovel Grid Gold Shovel.png Stone Shovel Grid Stone Shovel.png Iron Shovel Grid Iron Shovel.png Diamond Shovel Grid Diamond Shovel.png
Buckets
Bucket Grid Bucket.png Water Bucket Grid Water Bucket.png Lava Bucket Grid Lava Bucket.png Milk Bucket Grid Milk Bucket.png
Weapons
Wooden Sword Grid Wooden Sword.png Gold Sword Grid Gold Sword.png Stone Sword Grid Stone Sword.png Iron Sword Grid Iron Sword.png Diamond Sword Grid Diamond Sword.png Arrow Grid Arrow.png
Bow Grid Bow.png Snowball Grid Snowball.png
Armor
Leather Cap Grid Leather Cap.png Gold Helmet Grid Gold Helmet.png Chain Armor Helmet Grid Chain Armor Helmet.png Iron Helmet Grid Iron Helmet.png Diamond Helmet Grid Diamond Helmet.png
Leather Tunic Grid Leather Tunic.png Gold Chestplate Grid Gold Chestplate.png Chain Armor Chestplate Grid Chain Armor Chestplate.png Iron Chestplate Grid Iron Chestplate.png Diamond Chestplate Grid Diamond Chestplate.png
Leather Pants Grid Leather Pants.png Gold Leggings Grid Gold Leggings.png Chain Armor Leggings Grid Chain Armor Leggings.png Iron Leggings Grid Iron Leggings.png Diamond Leggings Grid Diamond Leggings.png
Leather Boots Grid Leather Boots.png Gold Boots Grid Gold Boots.png Chain Armor Boots Grid Chain Armor Boots.png Iron Boots Grid Iron Boots.png Diamond Boots Grid Diamond Boots.png
Vehicles
Boat Grid Boat.png Minecart Grid Minecart.png Minecart with Furnace File:Grid Minecart with Furnace.png Minecart with Chest File:Grid Minecart with Chest.png
Decoration
Painting Grid Painting.png Gold Disc Grid Gold Disc.png Green Disc Grid Green Disc.png Blocks Disc Grid Blocks Disc.png Chirp Disc Grid Chirp Disc.png Far Disc Grid Far Disc.png
Mall Disc Grid Mall Disc.png Mellohi Disc Grid Mellohi Disc.png Stal Disc Grid Stal Disc.png Strad Disc Grid Strad Disc.png Ward Disc Grid Ward Disc.png 11 Disc Grid 11 Disc.png

Put uploaded images in Category:Grid images and mod images in Category:Grid mods.

Other templates

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

The above documentation is transcluded from Template:Grid/doc. (edit | history)

fr:Modèle:Grille