Template:Grid

[edit] [history] [purge] Documentation icon Template 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 <Name>.png, within it.

Usage

All inputs are optional (however Amount, Mod, Link and Title won't do anything without Name):

{{Grid
|Mod:Name,Amount
|mod=Default mod (useful for animations and layout templates)
|default=Image always shown under the main image
|align=Vertical Alignment
|link=Link override
|title=Title, removes link
|class=Adds additional classes to the .grid class
}}

Examples

To display this image File:Grid Raw Porkchop.png with an amount of 20 you would put: {{Grid|Raw Porkchop,20}}

shows

Raw Porkchop20

An amount of 2 - 999 is supported, anything else will not be displayed. Note, the automatic link is removed if {{SUBPAGENAME}} is the same as the item name. This is to help prevent self-links, use the link parameter to re-add the link if you need it.


If no image is specified, the background will be added on its own, this could be used 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}}
shows

TNTTNT  TNTTNT
TNTTNT  TNTTNT
  TNTTNT  
 TNTTNTTNTTNT 
 TNTTNTTNTTNT 
 TNT  TNT 


A mod image is specified with the Mod: section of the name (or by setting a default mod using the mod parameter). The image link will then link to the mod sub-page allowing correct linking of mod images. The uploaded image name should by uploaded as Grid <Itemname> (<Modname>).png and should be added to the Grid mods category, which prevents them from being confused with official Minecraft items.
For example, to display this mod image File:Grid Bronze Sword (IndustrialCraft).png: {{Grid|IndustrialCraft:Bronze Sword}} (or {{Grid|mod=IndustrialCraft|Bronze Sword}})

shows

Bronze Sword (IndustrialCraft)


Grids can be animated with a theoretically unlimited amount of frames, between mod items and vanilla items. Frames are separated by semi-colons (;). {{Grid|Dirt;TNT,64;IndustrialCraft:Bronze Sword,6;;Grass Block,5;Sand;Gold Helmet,12;IndustrialCraft:Bronze Helmet,2;IndustrialCraft:Copper,50;Redstone Dust}}

shows

Dirt

As you can see, the mod had to be specified for each mod frame, this is where the default mod parameter is useful. {{Grid|mod=IndustrialCraft|Bronze Sword,6;;Bronze Helmet,12;Copper,50;Copper Dust}}

shows

Bronze Sword (IndustrialCraft)6

To use a vanilla minecraft item when a default mod is set, use vanilla (shortcut v) as the mod. {{Grid|mod=IndustrialCraft|Vanilla:Dirt;vanilla:TNT,64;Bronze Sword,6;;V:Grass Block,5;v:Sand;v:Gold Helmet,12;Bronze Helmet,2;Copper,50;v:Redstone Dust}}

shows

Dirt

Multiple mods and vanilla minecraft items can be combined in a single animation.


Align uses the vertical-align CSS property. For example to align to the middle: Smells like {{Grid|Raw Porkchop|align=middle}} in here!

shows

Smells like Raw Porkchop in here!


Default is always shown and is placed under the image. {{Grid|default=layout Brewing Empty}}{{Grid|Splash Mundane Potion|default=layout Brewing Empty}}

shows

 Splash Mundane Potion


To change the link from the image name put: {{Grid|Charcoal|link=Coal#Charcoal}}

shows

Charcoal


To remove the link, set link to none: {{Grid|Charcoal|link=none}}

shows

Charcoal

Note that this retains the title.


To add a different title, put: {{Grid|Raw Porkchop|title=Smelly Pork}}

shows

Smelly Porkchop


To remove the title, set title to none: {{Grid|Raw Porkchop|title=none}}

shows

Raw Porkchop

Note that setting title will remove the link, due to a limitation in the software.

Available images

Blocks

Natural
Stone Grass Dirt Bedrock Sand Gravel
Sandstone Cobweb Moss Stone Obsidian Monster Spawner Ice
Clay (Block) Stone Brick Mossy Stone Brick Cracked Stone Brick Chiseled Stone Brick Mycelium
Snow
Manufactured
Cobblestone Wooden Plank Wooden Plank (Pine) Wooden Plank (Birch) Wooden Plank (Jungle) Glass
Glass Pane Lapis Lazuli (Block) Gold (Block) Iron (Block) Diamond (Block) Double Stone Slab
Stone Slab Sandstone Slab Wooden Slab Cobblestone Slab Bricks Slab Stone Bricks Slab
Bricks Bookshelf Oak Wood Stairs Jungle Wood Stairs Birch Wood Stairs Spruce Wood Stairs
Cobblestone Stairs Brick Stairs Stone Brick Stairs Sandstone Stairs Farmland Ladder
Snow Block Fence Fence Gate Jack 'o' Lantern Iron Bars Chiseled Sandstone
Smooth Sandstone Oak Wood Slab Spruce Wood Slab Birch Wood Slab Jungle Wood Slab Cobblestone Wall
Mossy Cobblestone Wall
Wool
White Wool Light Gray Wool Gray Wool Black Wool Red Wool Orange Wool
Yellow Wool Lime Wool Green Wool Cyan Wool Light Blue Wool Blue Wool
Purple Wool Magenta Wool Pink Wool Brown Wool
Utility
Sponge Dispenser Note Block TNT Chest Locked Chest
Crafting Table Furnace Jukebox Cake Enchantment Table Bed
Cauldron Brewing Stand Ender Chest Command Block Beacon Anvil
Mechanisms
Redstone Torch Redstone Repeater Lever Stone Button Wooden Pressure Plate Stone Pressure Plate
Rail Powered Rail Detector Rail Wooden Door Iron Door Trapdoor
Piston Sticky Piston Redstone Lamp Wooden Button
Plants
Leaves Leaves (Pine) Leaves (Birch) Leaves (Jungle) Wood Wood (Pine)
Wood (Birch) Wood (Jungle) Cactus Pumpkin Melon (Block) Vines
Lily Pad Huge Brown Mushroom Huge Red Mushroom
Ore
Coal (Ore) Diamond (Ore) Gold (Ore) Iron (Ore) Lapis Lazuli (Ore) Redstone (Ore)
Emerald Ore
Liquids
Water Lava
Non-Solid
Torch Sign Fire Portal End Portal
The Nether
Glowstone (Block) Netherrack Soul Sand Nether Brick Nether Brick Stairs Nether Brick Fence
Nether Wart
The End
End Portal Frame End Stone Dragon Egg
Pocket Edition
Glowing Obsidian Nether Reactor Core

Items

Raw Materials
Bone Book Clay Brick File:Grid Brick.png Coal Charcoal
Diamond Feather Flint Gold Ingot Gunpowder
Iron Ingot Leather Paper Slimeball Stick
String Ender Pearl Emerald Nether Star
Dusts
Glowstone (Dust) Redstone (Dust) Iron (Dust) Gold (Dust) File:Grid Gold (Dust).png Obsidian (Dust) File:Grid Obsidian (Dust).png Charcoal (Dust) File:Grid Charcoal (Dust).png
Platinum (Dust) File:Grid Platinum (Dust).png Diamond (Dust) Refined Steel (Dust) File:Grid Refined Steel (Dust).png Bronze (Dust) File:Grid Bronze (Dust).png Steel (Dust) File:Grid Steel (Dust).png Superconductor (Dust) File:Grid Superconductor (Dust).png


Food
Apple Bread Cooked Fish Cooked Porkchop Chicken Egg Golden Apple
Mushroom Stew Raw Fish Raw Porkchop Sugar Wheat Cookie
Melon Slice Raw Beef Steak Raw Chicken Cooked Chicken Rotten Flesh
Pumpkin Pie
Alchemical Ingredients
Blaze Rod Blaze Powder Fermented Spider Eye Ghast Tear Glistering Melon Gold Nugget
Nether Wart Seeds Magma Cream Spider Eye Carrot Golden Carrot Potato
Baked Potato Poisonous Potato
Potions
Water Bottle Mundane Potion Awkward Potion Thick Potion Potion of Healing Potion of Fire Resistance
Potion of Harming Potion of Poison Potion of Regeneration Potion of Slowness Potion of Strength Potion of Swiftness
Potion of Weakness Potion of Night Vision Potion of Invisibility
Splash Potions
Splash Mundane Potion Splash Potion of Healing Splash Potion of Fire Resistance Splash Potion of Harming Splash Potion of Poison Splash Potion of Regeneration
Splash Potion of Slowness Splash Potion of Strength Splash Potion of Swiftness Splash Potion of Weakness Splash Potion of Night Vision Splash Potion of Invisibility
Bottle o' Enchanting
Plants
Rose Dandelion Red Mushroom Brown Mushroom Oak Sapling Birch Sapling
Spruce Sapling Jungle Sapling Sugar Cane Dead Bush Tall Grass1 Tall Grass
Fern Wheat Seeds Melon Seeds Pumpkin Seeds
Wool Dyes
Bone Meal Light Gray Dye Gray Dye Ink Sac Rose Red Orange Dye
Dandelion Yellow Lime Dye Cactus Green Cyan Dye Light Blue Dye Lapis Lazuli
Purple Dye Magenta Dye Pink Dye Cocoa Beans
Tools
Bowl Clock Compass Fishing Rod Flint and Steel Saddle
Wooden Axe Gold Axe Stone Axe Iron Axe Diamond Axe Shears
Wooden Hoe Gold Hoe Stone Hoe Iron Hoe Diamond Hoe Glass Bottle
Wooden Pickaxe Gold Pickaxe Stone Pickaxe Iron Pickaxe Diamond Pickaxe Eye of Ender
Wooden Shovel Gold Shovel Stone Shovel Iron Shovel Diamond Shovel Fire Charge
Empty Map Map (Item) Book and Quill Written Book Carrot on a Stick Enchanted Book
Spawn Eggs
Spawn Creeper Spawn Skeleton Spawn Spider Spawn Zombie Spawn Slime Spawn Ghast
Spawn Pig Zombie Spawn Enderman Spawn Cave Spider Spawn Silverfish Spawn Blaze Spawn Magma Cube
Spawn Pig Spawn Sheep Spawn Cow Spawn Chicken Spawn Squid Spawn Wolf
Spawn Mooshroom Spawn Villager Spawn Ocelot
Buckets
Bucket Water Bucket Lava Bucket Milk
Weapons
Wooden Sword Gold Sword Stone Sword Iron Sword Diamond Sword Arrow
Bow Snowball
Armor
Leather Cap Gold Helmet Chain Armor Helmet Iron Helmet Diamond Helmet
Leather Tunic Gold Chestplate Chain Armor Chestplate Iron Chestplate Diamond Chestplate
Leather Pants Gold Leggings Chain Armor Leggings Iron Leggings Diamond Leggings
Leather Boots Gold Boots Chain Armor Boots Iron Boots Diamond Boots
Vehicles
Boat Minecart Minecart with Furnace Minecart with Chest
Decoration
13 Disc cat Disc blocks Disc chirp Disc far Disc mall Disc
mellohi Disc stal Disc strad Disc ward Disc 11 Disc wait Disc
Painting Item Frame Flower Pot
Mob heads
Skeleton Skull Wither Skeleton Skull Zombie Head Head Creeper Head
Fireworks
Firework Rocket Firework Star White Firework Star Orange Firework Star Magenta Firework Star Light Blue Firework Star
Yellow Firework Star Lime Firework Star Pink Firework Star Gray Firework Star Light Gray Firework Star Cyan Firework Star
Purple Firework Star Blue Firework Star Brown Firework Star Green Firework Star Red Firework Star Black Firework Star
Pocket Edition
Cyan Flower

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

Other templates

These templates implement this template into a GUI screen which mimics how it would look in Minecraft. Thus, they have mostly the same features as this template.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis