Template:Grid/doc

< Template:Grid
Revision as of 22:14, 5 February 2014 by Mastergalen (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Mbox 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

File:Grid Charcoal.png


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

shows

File:Grid Charcoal.png

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 Grid Stone.png Grass File:Grid Grass.png Dirt Grid Dirt.png Bedrock Grid Bedrock.png Sand Grid Sand.png Gravel Grid Gravel.png
Sandstone Grid Sandstone.png Cobweb Grid Cobweb.png Moss Stone Grid Moss Stone.png Obsidian Grid Obsidian.png Monster Spawner Grid Monster Spawner.png Ice Grid Ice.png
Clay (Block) Grid Clay (Block).png Stone Brick Grid Stone Brick.png Mossy Stone Brick Grid Mossy Stone Brick.png Cracked Stone Brick Grid Cracked Stone Brick.png Chiseled Stone Brick Grid Chiseled Stone Brick.png Mycelium Grid Mycelium.png
Snow Grid Snow.png
Manufactured
Cobblestone Grid Cobblestone.png Wooden Plank Grid Wooden Plank.png Wooden Plank (Pine) Grid Wooden Plank (Pine).png Wooden Plank (Birch) Grid Wooden Plank (Birch).png Wooden Plank (Jungle) Grid Wooden Plank (Jungle).png Glass Grid Glass.png
Glass Pane Grid Glass Pane.png Lapis Lazuli (Block) Grid Lapis Lazuli (Block).png Gold (Block) Grid Gold (Block).png Iron (Block) Grid Iron (Block).png Diamond (Block) Grid Diamond (Block).png Double Stone Slab Grid Double Stone Slab.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
Bricks Grid Bricks.png Bookshelf Grid Bookshelf.png Oak Wood Stairs File:Grid Oak Wood Stairs.png Jungle Wood Stairs Grid Jungle Wood Stairs.png Birch Wood Stairs Grid Birch Wood Stairs.png Spruce Wood Stairs Grid Spruce Wood Stairs.png
Cobblestone Stairs Grid Cobblestone Stairs.png Brick Stairs Grid Brick Stairs.png Stone Brick Stairs Grid Stone Brick Stairs.png Sandstone Stairs Grid Sandstone Stairs.png Farmland Grid Farmland.png Ladder File:Grid Ladder.png
Snow Block File:Grid Snow Block.png Fence Grid Fence.png Fence Gate Grid Fence Gate.png Jack 'o' Lantern File:Grid Jack 'o' Lantern.png Iron Bars Grid Iron Bars.png Chiseled Sandstone File:Grid Chiseled Sandstone.png
Smooth Sandstone Grid Smooth Sandstone.png Oak Wood Slab Grid Oak Wood Slab.png Spruce Wood Slab Grid Spruce Wood Slab.png Birch Wood Slab Grid Birch Wood Slab.png Jungle Wood Slab Grid Jungle Wood Slab.png Cobblestone Wall Grid Cobblestone Wall.png
Mossy Cobblestone Wall Grid Mossy Cobblestone Wall.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
Sponge Grid Sponge.png Dispenser Grid Dispenser.png Note Block Grid Note Block.png TNT Grid TNT.png Chest Grid Chest.png Locked Chest Grid Locked Chest.png
Crafting Table Grid Crafting Table.png Furnace Grid Furnace.png Jukebox Grid Jukebox.png Cake Grid Cake.png Enchantment Table Grid Enchantment Table.png Bed Grid Bed.png
Cauldron Grid Cauldron.png Brewing Stand Grid Brewing Stand.png Ender Chest Grid Ender Chest.png Command Block File:Grid Command Block.png Beacon Grid Beacon.png Anvil Grid Anvil.png
Mechanisms
Redstone Torch File:Grid Redstone Torch.png Redstone Repeater 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
Rail File:Grid Rail.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 Redstone Lamp Grid Redstone Lamp.png Wooden Button Grid Wooden Button.png
Plants
Leaves Grid Leaves.png Leaves (Pine) Grid Leaves (Pine).png Leaves (Birch) Grid Leaves (Birch).png Leaves (Jungle) Grid Leaves (Jungle).png Wood Grid Wood.png Wood (Pine) Grid Wood (Pine).png
Wood (Birch) Grid Wood (Birch).png Wood (Jungle) Grid Wood (Jungle).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 Huge Brown Mushroom Grid Huge Brown Mushroom.png Huge Red Mushroom Grid Huge Red Mushroom.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
Emerald Ore Grid Emerald 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
The End
End Portal Frame Grid End Portal Frame.png End Stone Grid End Stone.png Dragon Egg Grid Dragon Egg.png
Pocket Edition
Glowing Obsidian Grid Glowing Obsidian.png Nether Reactor Core Grid Nether Reactor Core.png

Items

Raw Materials
Bone Grid Bone.png Book Grid Book.png Clay Grid Clay.png Brick File:Grid Brick.png Coal Grid Coal.png Charcoal File:Grid Charcoal.png
Diamond Grid Diamond.png Feather Grid Feather.png Flint Grid Flint.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 Slimeball Grid Slimeball.png Stick Grid Stick.png
String Grid String.png Ender Pearl Grid Ender Pearl.png Emerald Grid Emerald.png Nether Star Grid Nether Star.png
Dusts
Glowstone (Dust) Grid Glowstone (Dust).png Redstone (Dust) Grid Redstone (Dust).png Iron (Dust) File:Grid Iron (Dust).png 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) File:Grid Diamond (Dust).png 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 File:Grid Apple.png Bread Grid Bread.png Cooked Fish Grid Cooked Fish.png Cooked Porkchop Grid Cooked Porkchop.png Chicken Egg File:Grid Chicken Egg.png Golden Apple Grid Golden Apple.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 File: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
Pumpkin Pie Grid Pumpkin Pie.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 Carrot Grid Carrot.png Golden Carrot File:Grid Golden Carrot.png Potato Grid Potato.png
Baked Potato Grid Baked Potato.png Poisonous Potato Grid Poisonous Potato.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 Potion of Healing Grid Potion of Healing.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 Regeneration Grid Potion of Regeneration.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 Potion of Night Vision Grid Potion of Night Vision.png Potion of Invisibility Grid Potion of Invisibility.png
Splash Potions
Splash Mundane Potion Grid Splash Mundane Potion.png Splash Potion of Healing Grid Splash Potion of Healing.png Splash Potion of Fire Resistance Grid Splash Potion of Fire Resistance.png Splash Potion of Harming Grid Splash Potion of Harming.png Splash Potion of Poison Grid Splash Potion of Poison.png Splash Potion of Regeneration Grid Splash Potion of Regeneration.png
Splash Potion of Slowness Grid Splash Potion of Slowness.png Splash Potion of Strength Grid Splash Potion of Strength.png Splash Potion of Swiftness Grid Splash Potion of Swiftness.png Splash Potion of Weakness Grid Splash Potion of Weakness.png Splash Potion of Night Vision Grid Splash Potion of Night Vision.png Splash Potion of Invisibility Grid Splash Potion of Invisibility.png
Bottle o' Enchanting Grid Bottle o' Enchanting.png
Plants
Rose Grid Rose.png Dandelion Grid Dandelion.png Red Mushroom Grid Red Mushroom.png Brown Mushroom Grid Brown Mushroom.png Oak Sapling File:Grid Oak Sapling.png Birch Sapling File:Grid Birch Sapling.png
Spruce Sapling File:Grid Spruce Sapling.png Jungle Sapling File:Grid Jungle Sapling.png Sugar Cane Grid Sugar Cane.png Dead Bush Grid Dead Bush.png Tall Grass1 Grid Tall Grass1.png Tall Grass File:Grid Tall Grass.png
Fern File:Grid Fern.png Wheat Seeds File:Grid Wheat 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 File:Grid Lapis Lazuli.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 Fire Charge Grid Fire Charge.png
Empty Map Grid Empty Map.png Map (Item) Grid Map (Item).png Book and Quill Grid Book and Quill.png Written Book Grid Written Book.png Carrot on a Stick Grid Carrot on a Stick.png Enchanted Book Grid Enchanted Book.png
Spawn Eggs
Spawn Creeper Grid Spawn Creeper.png Spawn Skeleton Grid Spawn Skeleton.png Spawn Spider Grid Spawn Spider.png Spawn Zombie Grid Spawn Zombie.png Spawn Slime Grid Spawn Slime.png Spawn Ghast Grid Spawn Ghast.png
Spawn Pig Zombie Grid Spawn Pig Zombie.png Spawn Enderman Grid Spawn Enderman.png Spawn Cave Spider Grid Spawn Cave Spider.png Spawn Silverfish Grid Spawn Silverfish.png Spawn Blaze Grid Spawn Blaze.png Spawn Magma Cube Grid Spawn Magma Cube.png
Spawn Pig Grid Spawn Pig.png Spawn Sheep Grid Spawn Sheep.png Spawn Cow Grid Spawn Cow.png Spawn Chicken Grid Spawn Chicken.png Spawn Squid Grid Spawn Squid.png Spawn Wolf Grid Spawn Wolf.png
Spawn Mooshroom Grid Spawn Mooshroom.png Spawn Villager Grid Spawn Villager.png Spawn Ocelot Grid Spawn Ocelot.png
Buckets
Bucket Grid Bucket.png Water Bucket Grid Water Bucket.png Lava Bucket Grid Lava Bucket.png Milk File:Grid Milk.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
13 Disc File:Grid 13 Disc.png cat Disc File:Grid cat Disc.png blocks Disc File:Grid blocks Disc.png chirp Disc File:Grid chirp Disc.png far Disc File:Grid far Disc.png mall Disc File:Grid mall Disc.png
mellohi Disc File:Grid mellohi Disc.png stal Disc File:Grid stal Disc.png strad Disc File:Grid strad Disc.png ward Disc File:Grid ward Disc.png 11 Disc Grid 11 Disc.png wait Disc Grid wait Disc.png
Painting Grid Painting.png Item Frame Grid Item Frame.png Flower Pot Grid Flower Pot.png
Mob heads
Skeleton Skull Grid Skeleton Skull.png Wither Skeleton Skull Grid Wither Skeleton Skull.png Zombie Head Grid Zombie Head.png Head Grid Head.png Creeper Head Grid Creeper Head.png
Fireworks
Firework Rocket File:Grid Firework Rocket.png Firework Star File:Grid Firework Star.png White Firework Star File:Grid White Firework Star.png Orange Firework Star File:Grid Orange Firework Star.png Magenta Firework Star File:Grid Magenta Firework Star.png Light Blue Firework Star File:Grid Light Blue Firework Star.png
Yellow Firework Star File:Grid Yellow Firework Star.png Lime Firework Star File:Grid Lime Firework Star.png Pink Firework Star File:Grid Pink Firework Star.png Gray Firework Star File:Grid Gray Firework Star.png Light Gray Firework Star File:Grid Light Gray Firework Star.png Cyan Firework Star File:Grid Cyan Firework Star.png
Purple Firework Star File:Grid Purple Firework Star.png Blue Firework Star File:Grid Blue Firework Star.png Brown Firework Star File:Grid Brown Firework Star.png Green Firework Star File:Grid Green Firework Star.png Red Firework Star File:Grid Red Firework Star.png Black Firework Star File:Grid Black Firework Star.png
Pocket Edition
Cyan Flower Grid Cyan Flower.png

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.


fr:Modèle:Grille/doc

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