Template:Item Infobox: Difference between revisions

From The Blockheads Wiki
>Abcboy
m (This also might work. Also maybe.)
>Abcboy
mNo edit summary
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"| [[File:{{{Image|Image.jpg}}}|140px]]
| colspan="2" align="center"| [[File:{{{Image|Image.png}}}|140px]]
|-
|-
| colspan="2" align="center"| [[File:{{{Imageicon|Image.jpg}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.jpg}}}|40px]]}}
| colspan="2" align="center"| [[File:{{{Imageicon|Image.png}}}|40px]]{{#if:{{{Imageicon2|}}}|[[File:{{{Imageicon2|Image.png}}}|40px]]}}
|-
|-
! style="background-color:#d4e3e5;" | Category
! style="background-color:#d4e3e5;" | Category
Line 21: Line 21:
| {{{Stackable}}}
| {{{Stackable}}}
|-
|-
|} {{#switch: {{{Image}}} | Image.jpg = [[Category:Pages needing an image]] }} {{#switch: {{{Imageicon}}} | Image.jpg = [[Category:Pages needing an image]] }}<noinclude>
|} {{#switch: {{{Image}}} | Image.png = [[Category:Pages needing an image]] }} {{#switch: {{{Imageicon}}} | Image.png = [[Category:Pages needing an image]] }}<noinclude>
<pre>
<pre>
  {{Item Infobox
  {{Item Infobox
| Name =  
| Name =  
| Image = Image.jpg
| Image = Image.png
| Imageicon = Image.jpg
| Imageicon = Image.png
| Category =  
| Category =  
| Use =  
| Use =  
Line 37: Line 37:
==Parameters==
==Parameters==
* '''Name''' - Name of item as it appears in game
* '''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.
* '''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.jpg'' 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.
* '''Category''' - Defined category of item. (ie. Apple is categorized as Food)
* '''Category''' - Defined category of item. (ie. Apple is categorized as Food)
* '''Use''' - Primary use of item (ie. Food, Farming, Crafting, Construction, etc.)
* '''Use''' - Primary use of item (ie. Food, Farming, Crafting, Construction, etc.)

Revision as of 16:11, 29 April 2013

{{{Name}}}
Category {{{Category}}}
Use {{{Use}}}
Location/Made On {{{Location/Made On}}}
Needs {{{Needs}}}
Stackable {{{Stackable}}}
 {{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.
  • 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)