Template:Item Infobox: Difference between revisions

From The Blockheads Wiki
>Abcboy
No edit summary
>Abcboy
mNo edit summary
Line 4: Line 4:
| colspan="2" align="center"| [[File:{{{Image|Image.png}}}|140px]]
| colspan="2" align="center"| [[File:{{{Image|Image.png}}}|140px]]
|-
|-
| colspan="2" align="center"| [[File:{{{Imageicon|{{{Name}}} Icon.png}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}}
| colspan="2" align="center"| [[File:{{{Imageicon|{{{Name}}} Icon.png}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}}{{#if: {{{Category|}}}|
|-
{{!}}-
! style="background-color:#d4e3e5;" | Category
! style="background-color:#d4e3e5;" {{!}} Category
| {{{Category}}}
{{!}} {{{Category|Unknown}}}|}}{{#if: {{{Use|}}}|
|-
{{!}}-
! style="background-color:#d4e3e5;" | Use
! style="background-color:#d4e3e5;" {{!}} Use
| {{{Use}}}
{{!}} {{{Use|Unknown}}}|}}
|-
|-
! style="background-color:#d4e3e5;" | Location/Made On
! style="background-color:#d4e3e5;" | Location/Made On
| {{{Location/Made On}}}
| {{{Location/Made On|{{{Location|Unknown}}}}}}{{#if: {{{Tool|}}}|
|-
{{!}}-
! style="background-color:#d4e3e5;"| Needs
! style="background-color:#d4e3e5;" {{!}} Tool
| {{{Needs}}}
{{!}} {{{Tool|Unknown}}}|}}{{#if: {{{Needs|}}}|
{{!}}-
! style="background-color:#d4e3e5;" {{!}} Needs
{{!}} {{{Needs}}}|}}
|-
|-
! style="background-color:#d4e3e5;"| Stackable
! style="background-color:#d4e3e5;"| Stackable
| {{{Stackable}}}
| {{{Stackable|Yes (99)}}}
|-
|-
|}<includeonly>{{#ifeq: {{{Image|Image.png}}}|Image.png|[[Category:Pages needing an image]]}}</includeonly><noinclude>
|}<noinclude>
<pre>
<pre>
  {{Item Infobox
  {{Item Infobox

Revision as of 17:46, 30 September 2013

{{{Name}}}
[[File:{{{Name}}} Icon.png|40px]]
Location/Made On Unknown
Stackable Yes (99)
 {{Item Infobox
| Name = 
| Image = Image.png
| Imageicon = Image.png
| 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.png is a default image when no image is available.
  • Imageicon - Small icon image of item. The image is resized to 40px. Image.png is a default image when no image is available. Only use if filename does not follow File: {{{Name}}} Icon.png.
  • 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)