Template:InvItem
From Electrical Age
Renders an image as if it were an item in a Minecraft inventory slot--see the bottom of this page.
Current syntax:
{{InvItem|file=filename_without_File_prefix|width=200px|bgcolor=#8b8b8b}}
Indicated parameters are defaults, except for file
(which has a default, but you should provide it anyway).
Any CSS color specification is valid for bgcolor
. See the templates Template:SignalVoltage, Template:LowVoltage, Template:MediumVoltage, Template:HighVoltage, Template:VeryHighVoltage for templates which produce CSS colors consistent with the backgrounds employed by the mod.