Template:Item Infobox: Difference between revisions

From The Blockheads Wiki
>Abcboy
mNo edit summary
>Abcboy
m (This is almost exactly the same as Template:Block Infobox...)
Line 2: Line 2:
! colspan="2" style="font-size:110%; text-align:center; background-color:#d4e3e5;" | {{{Name}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#d4e3e5;" | {{{Name}}}
|-
|-
| colspan="2" align="center"|
| colspan="2" align="center"| [[File:{{{Image|Image.jpg}}}|140px]]
{{{Image|}}}
|-
|-
| colspan="2" align="center"|
| colspan="2" align="center"| [[File:{{{Imageicon|Image.jpg}}}|40px]]
{{{Imageicon}}}
|-
|-
! style="background-color:#d4e3e5;" | Category
! style="background-color:#d4e3e5;" | Category
| {{#if:{{{Category|}}}|{{{Category}}}
| {{{Category}}}
|-
|-
! style="background-color:#d4e3e5;" | Use
! style="background-color:#d4e3e5;" | Use
| {{#if:{{{Use|}}}|{{{Use}}}
| {{{Use}}}
|-
|-
! style="background-color:#d4e3e5;" | Location/Made On
! style="background-color:#d4e3e5;" | Location/Made On
| {{#if:{{{Location/Made On|}}}|{{{Location/Made On}}}
| {{{Location/Made On}}}
|-
|-
! style="background-color:#d4e3e5;"| Needs
! style="background-color:#d4e3e5;"| Needs
| {{#if:{{{Needs|}}}|{{{Needs}}}
| {{{Needs}}}
|-
|-
! style="background-color:#d4e3e5;"| Stackable
! style="background-color:#d4e3e5;"| Stackable
| {{#if:{{{Stackable|}}}|{{{Stackable}}}
| {{{Stackable}}}
|-
|-
|}<noinclude>
|}<noinclude>

Revision as of 17:59, 18 April 2013

{{{Name}}}
File:Image.jpg
File:Image.jpg
Category {{{Category}}}
Use {{{Use}}}
Location/Made On {{{Location/Made On}}}
Needs {{{Needs}}}
Stackable {{{Stackable}}}
 {{Item Infobox
| Name = 
| Image = [[Image:Image.jpg|140px]]
| Imageicon = [[Image:Image.jpg|40px]]
| Category = 
| Use = 
| Location/Made On = 
| Needs = 
| Stackable = 
}}

Parameters

  • Name - Name of item as it appears in game
  • Image - Large image of item. The image is resized to 140px. Image.jpg is a default image when no image is available.
  • Imageicon - Small icon image of item. The image is resized to 40px. Image.jpg is a default image when no image is available.
  • Category - Defined category of item. (ie. Apple is categorized as Food)
  • Use - Primary use of item (ie. Food, Farming, Crafting, Construction, etc.)
  • Location/Made On - Where item can be found.
  • Needs - If craftable item, items required to craft it.
  • Stackable - Is the item stackable and if so, maximum limit (ie. No, Yes (99)