Template:Item Infobox: Difference between revisions

From The Blockheads Wiki
>Abcboy
m (Removing crafting recipe parameters (they are redundant to Where Found))
>Abcboy
mNo edit summary
Line 5: Line 5:
|-
|-
| colspan="2" style="text-align:center; {{#ifeq:{{{Imageicon|None}}}|None|display:none;}}"|  
| colspan="2" style="text-align:center; {{#ifeq:{{{Imageicon|None}}}|None|display:none;}}"|  
[[File:{{#ifeq:{{{Imageicon|None}}}|None|None.png|{{{Imageicon|{{{Name}}} Icon.png}}}}}|40px]][[File:{{#ifeq:{{{ImageiconHD|None}}}|None|None.png|{{{ImageiconHD|{{{Name}}} HD Icon.png}}}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}}{{#if:{{{Imageicon2HD|}}}|[[File:{{{Imageicon2HD|Image.png}}}|40px]]}}
[[File:{{#ifeq:{{{Imageicon|}}}|None|None.png|{{{Imageicon|{{{Name}}} Icon.png}}}}}|40px]][[File:{{#ifeq:{{{ImageiconHD|}}}|None|None.png|{{{ImageiconHD|{{{Name}}} HD Icon.png}}}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}}{{#if:{{{Imageicon2HD|}}}|[[File:{{{Imageicon2HD|Image.png}}}|40px]]}}
|- style="{{#if:{{{Category|}}}||display:none;}}"
|- style="{{#if:{{{Category|}}}||display:none;}}"
! style="background-color:#d4e3e5;" | Category
! style="background-color:#d4e3e5;" | Category

Revision as of 11:51, 17 May 2015

{{{Name}}}

[[File:{{{Name}}} Icon.png|40px]][[File:{{{Name}}} HD Icon.png|40px]]

Category
Use
Tool
Stackable Yes (99)
{{Item Infobox
|Name=
|Image=
|Imageicon=
|ImageiconHD=
|Category=
|Use=
|Tool=
|Stackable=
}}

Parameters

  • Name - Name of item as it appears in game
  • Image - Large image of item. The image is resized to 160px. 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.)
  • Tool - Tool used to remove block.
  • Stackable - Is the item stackable and if so, maximum limit (ie. No, Yes (99))