Template:Item Infobox: Difference between revisions
From The Blockheads Wiki
>Cdrras mNo edit summary |
FloofyPlasma (talk | contribs) No edit summary |
||
(59 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| style="vertical-align:top ;margin: 0 0 0.5em | {| class="infobox-template" style="vertical-align:top; float:right; margin:0 0 0.5em 0; border:1px solid silver; text-align:left; font-size:90%; background-color:white; max-width:30%; padding:5px; width:100%;" | ||
! 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" | | colspan="2" style="text-align:center;" | <div style="background-color:#BCE2E7; background-image:linear-gradient(to bottom, #aed6e3, #caefec); max-width:160px; margin:auto;"> | ||
{{{Image|}}} | [[File:{{{Image|{{{Name|Image}}}.png}}}|frameless|center|160px|{{{Name|}}}]] | ||
</div> | |||
|- | |- | ||
| colspan="2" | | colspan="2" style="text-align:center; {{#ifeq:{{{Imageicon|}}}|None|display:none;}}"| | ||
{{{Imageicon}}} | [[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="background-color:#d4e3e5;" | Category | ! style="background-color:#d4e3e5;" | Category | ||
| | | style="width:100%;" | {{{Category|}}} | ||
|- | |- | ||
! style="background-color:#d4e3e5;" | Use | ! style="background-color:#d4e3e5;" | Use | ||
| | | style="width:100%;" | {{{Use|}}} | ||
| {{ | |||
|- | |- | ||
! style="background-color:#d4e3e5;"| | ! style="background-color:#d4e3e5;" | Tool | ||
| | | style="width:100%;" | {{{Tool|}}} | ||
|- | |- | ||
! style="background-color:#d4e3e5;"| Stackable | ! style="background-color:#d4e3e5;" | Stackable | ||
| | | style="width:100%;" | {{{Stackable|Yes (99)}}} | ||
|- | |- | ||
|} | |} | ||
[[Category: | <noinclude> | ||
<pre> | |||
{{Item Infobox | |||
|Name= | |||
|Image= | |||
|Imageicon= | |||
|ImageiconHD= | |||
|Category= | |||
|Use= | |||
|Tool= | |||
|Stackable= | |||
}} | |||
</pre> | |||
==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)) | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 19:00, 24 October 2024
{{{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))