Difference between revisions of "Template:SideInfoBox Object"

From TFC:TNG
Jump to navigation Jump to search
(Fixed some optional info missing a closing tag.)
(Renewable, Gravity, and Flammable are declared as boolean parameters, so handle boolean values properly: render 1 as Yes and 0 as No)
 
(23 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
|title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
|imagearea= {{
 
|imagearea= {{
  #if: {{{largeimage1|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage1}}} </slideshow> |{{BlockImage|No_block_image.png}} }} {{
+
  #if: {{{largeimage1|}}} |<div style="padding-bottom: 1em"> <slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage1}}} </slideshow> </div> |{{BlockImage|No_block_image.png}} }}{{
 
+
#if: {{{largeimage2|}}} | <div style="padding-bottom: 1em">{{
#if: {{{largeimage2|}}} | <div style="padding-top: 1em">{{
 
 
  #if: {{{largeimage2|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage2}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div>
 
  #if: {{{largeimage2|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage2}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div>
 
}}{{
 
}}{{
#if: {{{largeimage3|}}} | <div style="padding-top: 1em">{{
+
#if: {{{largeimage3|}}} | <div style="padding-bottom: 1em">{{
  #if: {{{largeimage3|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage3}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div> }}
+
  #if: {{{largeimage3|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage3}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div>
}}{{
 
#if: {{{invimage1|}}} | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{{invimage1}}} }}
 
 
}}{{
 
}}{{
 +
  #if: {{{invimage1|}}} | {{Grid|{{{invimage1}}} }}
 +
  }}{{
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
 
   }}{{
 
   }}{{
Line 69: Line 68:
 
   }}{{
 
   }}{{
 
   #if: {{{invimage30|}}} | {{Grid|{{{invimage30}}}|link=none}}
 
   #if: {{{invimage30|}}} | {{Grid|{{{invimage30}}}|link=none}}
   }}{{
+
   }}
#if: {{{invimage1|}}} | </div>
+
| rows =
 +
{{#if: {{{tool|}}} |
 +
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
 +
  #switch: {{ lc: {{{tool|}}} }}
 +
  | axe              = [[File:Steel_Axe.png|32px|link=Axe]]
 +
  | hammer            = [[File:Steel_Hammer.png|32px|link=Hammer]]
 +
  | knife            = [[File:Steel_Knife.png|32px|link=Knife]]
 +
  | hoe              = [[File:Steel_Hoe.png|32px|link=Hoe]]
 +
  | shovel            = [[File:Steel_Shovel.png|32px|link=Shovel]]
 +
  | chisel            = [[File:Steel_Chisel.png|32px|link=Chisel]]
 +
  | propick          = [[File:Steel_ProPick.png|32px|link=Prospector's Pick]]
 +
  | pickaxe          = [[File:Steel_Pickaxe.png|32px|link=Pickaxe]]
 +
  | saw              = [[File:Steel_Saw.png|32px|link=Saw]]
 +
  | scythe            = [[File:Steel_Scythe.png|32px|link=Scythe]]
 +
  | spindle          = [[File:Spindle.png|32px|link=Spindle]]
 +
  | bucket            = [[File:Wooden_Bucket.png|32px|link=Bucket]]
 +
  | sword            = [[File:Steel_Sword.png|32px|link=Sword]]
 +
  | shears            = [[File:Shears.png|32px|link=Shears]]
 +
  | none              = None
 +
  | any              = Any Tool
 +
  | #default          = ?[[Category:MissingData]]
 +
}}{{
 +
  #if: {{{tool2|}}} | {{
 +
    #switch: {{ lc: {{{tool2}}} }}
 +
  | axe              = [[File:Steel_Axe.png|32px|link=Axe]]
 +
  | hammer            = [[File:Steel_Hammer.png|32px|link=Hammer]]
 +
  | knife            = [[File:Steel_Knife.png|32px|link=Knife]]
 +
  | hoe              = [[File:Steel_Hoe.png|32px|link=Hoe]]
 +
  | shovel            = [[File:Steel_Shovel.png|32px|link=Shovel]]
 +
  | chisel            = [[File:Steel_Chisel.png|32px|link=Chisel]]
 +
  | propick          = [[File:Steel_ProPick.png|32px|link=Prospector's Pick]]
 +
  | pickaxe          = [[File:Steel_Pickaxe.png|32px|link=Pickaxe]]
 +
  | saw              = [[File:Steel_Saw.png|32px|link=Saw]]
 +
  | scythe            = [[File:Steel_Scythe.png|32px|link=Scythe]]
 +
  | spindle          = [[File:Spindle.png|32px|link=Spindle]]
 +
  | bucket            = [[File:Wooden_Bucket.png|32px|link=Bucket]]
 +
  | sword            = [[File:Steel_Sword.png|32px|link=Sword]]
 +
  | shears            = [[File:Shears.png|32px|link=Shears]]
 +
  | #default          = ?[[Category:MissingData]]
 +
  }}
 +
}}{{
 +
  #if: {{{tool3|}}} | {{
 +
    #switch: {{ lc: {{{tool3}}} }}
 +
  | axe              = [[File:Steel_Axe.png|32px|link=Axe]]
 +
  | hammer            = [[File:Steel_Hammer.png|32px|link=Hammer]]
 +
  | knife            = [[File:Steel_Knife.png|32px|link=Knife]]
 +
  | hoe              = [[File:Steel_Hoe.png|32px|link=Hoe]]
 +
  | shovel            = [[File:Steel_Shovel.png|32px|link=Shovel]]
 +
  | chisel            = [[File:Steel_Chisel.png|32px|link=Chisel]]
 +
  | propick          = [[File:Steel_ProPick.png|32px|link=Prospector's Pick]]
 +
  | pickaxe          = [[File:Steel_Pickaxe.png|32px|link=Pickaxe]]
 +
  | saw              = [[File:Steel_Saw.png|32px|link=Saw]]
 +
  | scythe            = [[File:Steel_Scythe.png|32px|link=Scythe]]
 +
  | spindle          = [[File:Spindle.png|32px|link=Spindle]]
 +
  | bucket            = [[File:Wooden_Bucket.png|32px|link=Bucket]]
 +
  | sword            = [[File:Steel_Sword.png|32px|link=Sword]]
 +
  | shears            = [[File:Shears.png|32px|link=Shears]]
 +
  | #default          = ?[[Category:MissingData]]
 +
  }}
 +
}} }}
 
}}
 
}}
| rows =
 
 
{{infobox row|label=Stacksize|field={{ #if: {{{stacksize|}}} | {{{stacksize}}} | No }} }}
 
{{infobox row|label=Stacksize|field={{ #if: {{{stacksize|}}} | {{{stacksize}}} | No }} }}
{{infobox row|label=[[Size]] <font face="Segoe UI Symbol">&#x2195;</font>|field={{ #if: {{{size|}}} | {{{size}}} | ??? }} }}
+
{{infobox row|label=[[Size]] <font face="Segoe UI Symbol">&#x21f2;</font>|field={{ #if: {{{size|}}} | {{{size}}} | ?[[Category:MissingData]] }} }}
{{infobox row|label=[[Weight]] <font face="Segoe UI Symbol">&#x2696;</font>|field={{ #if: {{{weight|}}} | {{{weight}}} | ??? }} }}
+
{{infobox row|label=[[Weight]] <font face="Segoe UI Symbol">&#x2696;</font>|field={{ #if: {{{weight|}}} | {{{weight}}} | ?[[Category:MissingData]] }} }}
{{infobox row|label=Renewable |field={{ #if: {{{renewable|}}} | {{{renewable}}} | ??? }} }}
+
{{infobox row|label=Renewable |field={{ #switch: {{{renewable|}}} | = ?[[Category:MissingData]]  | 0 = No | 1 = Yes | {{{renewable}}} }} }}
{{infobox row|label=Ore Dictionary|field={{ #if: {{{oredict|}}} | {{{oredict}}} | ??? }} }}
+
{{infobox row|label=Ore Dictionary|field={{ #if: {{{oredict|}}} | {{{oredict}}} | ?[[Category:MissingData]] }} }}
{{#if: {{{gravity|}}} | {{infobox row|label=Gravity|field={{{gravity}}} }} }}
+
{{#if: {{{gravity|}}} | {{infobox row|label=Gravity|field={{ #switch: {{{gravity|}}} | 0 = No | 1 = Yes | {{{gravity}}} }} }} }}
{{#if: {{{drops|}}} | {{infobox row|label=Drops|field={{{drops}}} }} }}
+
{{#if: {{{drops|}}} | {{infobox row|label=Drops|field={{ #if: {{{drops|}}} | {{{drops}}} | ?[[Category:MissingData]] }} }} }}
{{#if: {{{flammable|}}} | {{infobox row|label=Flammable|field={{{drops}}} }} }}
+
{{#if: {{{flammable|}}} | {{infobox row|label=Flammable|field={{#switch: {{{flammable|}}} | 0 = No | 1 = Yes | {{{flammable}}}}}}}}}
{{#if: {{{luminance|}}} | {{infobox row|label=Luminance|field={{{luminance}}} }} }}
+
{{#if: {{{blastresistance|}}} | {{infobox row|label=Blast Resistance|field={{ #if: {{{blastresistance|}}} | {{{blastresistance}}} | ?[[Category:MissingData]] }} }} }}
{{#if: {{{blastresistance|}}} | {{infobox row|label=Blast Resistance|field={{{blastresistance}}} }}
+
{{infobox row|label=Extra Item Data|field=See [[{{BASEPAGENAME}}#Data|Data]] }}
{{infobox row|label=Item Data|field=See [[{{BASEPAGENAME}}#Data|Data]] }}
+
| footer = {{{notes|}}}
| footer =
 
{{{notes|}}}
 
 
}}</includeonly>
 
}}</includeonly>
 +
<noinclude>
 +
==Template Data==
 +
<templatedata>
 +
{
 +
"params": {
 +
"title": {
 +
"label": "Title",
 +
"description": "The name given to the Infobox. Defaults to Page name.",
 +
"example": "Sand",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"largeimage1": {
 +
"label": "Large Display Image Slot 1",
 +
"description": "This is the large item/block image that is displayed blown up at the top of the infobox. Must be a BlockImage Template to get the correct size. Use multiple in the same element for a slideshow. Missing Textures will show for missing picture files.",
 +
"type": "wiki-template-name",
 +
"required": true
 +
},
 +
"largeimage2": {
 +
"label": "Large Display Image Slot 2",
 +
"description": "This is the large item/block image that is displayed blown up at the top of the infobox. Must be a BlockImage Template to get the correct size. Use multiple in the same element for a slideshow. Missing Textures will show for missing picture files.",
 +
"type": "wiki-template-name"
 +
},
 +
"largeimage3": {
 +
"label": "Large Display Image Slot 3",
 +
"description": "This is the large item/block image that is displayed blown up at the top of the infobox. Must be a BlockImage Template to get the correct size. Use multiple in the same element for a slideshow. Missing Textures will show for missing picture files.",
 +
"type": "wiki-template-name"
 +
},
 +
"invimage1": {
 +
"label": "Inventory Image 1",
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string",
 +
"required": true
 +
},
 +
"invimage2": {
 +
"label": "Inventory Image 2",
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage3": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage4": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage5": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage6": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage7": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage8": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage9": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage10": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage11": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage12": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage13": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage14": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage15": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"example": "Rocksalt Sand",
 +
"type": "string"
 +
},
 +
"invimage16": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage17": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage18": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage19": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage20": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage21": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage22": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage23": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage24": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage25": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage26": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage27": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage28": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage29": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"invimage30": {
 +
"description": "This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.",
 +
"type": "string"
 +
},
 +
"tool": {
 +
"label": "Tool",
 +
"description": "The effective tool for this block or the tool this item acts as.",
 +
"example": "shovel",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"tool2": {
 +
"label": "Tool 2",
 +
"description": "The effective tool for this block or the tool this item acts as.",
 +
"example": "axe",
 +
"type": "string"
 +
},
 +
"tool3": {
 +
"label": "Tool 3",
 +
"description": "The effective tool for this block or the tool this item acts as.",
 +
"example": "scythe",
 +
"type": "string"
 +
},
 +
"stacksize": {
 +
"label": "Stack Size",
 +
"description": "The maximum size this stack can be.",
 +
"example": "32",
 +
"type": "number",
 +
"required": true
 +
},
 +
"size": {
 +
"label": "Item Size",
 +
"description": "Size of the Item",
 +
"example": "Large",
 +
"type": "string",
 +
"required": true
 +
},
 +
"weight": {
 +
"label": "Item Weight",
 +
"description": "Weight of the Item",
 +
"example": "Heavy",
 +
"type": "string",
 +
"required": true
 +
},
 +
"renewable": {
 +
"label": "Renewable",
 +
"description": "Is this item Renewable?",
 +
"example": "Yes",
 +
"type": "boolean",
 +
"required": true
 +
},
 +
"oredict": {
 +
"label": "Ore Dictionary entries.",
 +
"description": "A list of all valid general oredict entries for this item. Use a Data table for specifics like wool colors.",
 +
"example": "ore:wool",
 +
"type": "string",
 +
"required": true
 +
},
 +
"gravity": {
 +
"label": "Gravity Affected",
 +
"description": "Does this block have gravity?",
 +
"type": "boolean",
 +
"suggested": true
 +
},
 +
"drops": {
 +
"label": "Block Drops",
 +
"description": "What does this block drop?",
 +
"type": "unknown",
 +
"required": true
 +
},
 +
"flammable": {
 +
"label": "Flammability ",
 +
"description": "Does this block burn?",
 +
"type": "boolean",
 +
"suggested": true
 +
},
 +
"luminance": {
 +
"label": "Luminance",
 +
"description": "Does this block emit light?",
 +
"type": "number",
 +
"suggested": true
 +
},
 +
"blastresistance": {
 +
"label": "Blast Resistance",
 +
"description": "How blast resistant is this block?",
 +
"type": "number",
 +
"suggested": true
 +
},
 +
"notes": {
 +
"label": "Extra Notes",
 +
"description": "An extra spot for anything that doesn't fit in above or just to add a bit of extra info when Data isn't required.",
 +
"type": "content"
 +
}
 +
},
 +
"description": "This is the template for adding the item/block overview with pictures on the side of every item/block page.",
 +
"format": "block"
 +
}
 +
</templatedata>
 +
==Example==
 +
<code><nowiki>
 +
{{SideInfoBox Object
 +
|title=Sand
 +
|largeimage1={{BlockImage|Rhyolite Sand}} {{BlockImage|Phyllite Sand}} {{BlockImage|Diorite Sand}} {{BlockImage|Quartzite Sand}} {{BlockImage|Dolomite Sand}} {{BlockImage|Marble Sand}} {{BlockImage|Dacite Sand}} {{BlockImage|Granite Sand}} {{BlockImage|Shale Sand}} {{BlockImage|Conglomerate Sand}} {{BlockImage|Gneiss Sand}} {{BlockImage|Slate Sand}} {{BlockImage|Gabbro Sand}} {{BlockImage|Limestone Sand}} {{BlockImage|Schist Sand}} {{BlockImage|Andesite Sand}} {{BlockImage|Chert Sand}} {{BlockImage|Chalk Sand}} {{BlockImage|Basalt Sand}} {{BlockImage|Claystone Sand}} {{BlockImage|Rocksalt Sand}}
 +
|invimage=Rhyolite Sand
 +
|invimage2=Phyllite Sand
 +
|invimage3=Diorite Sand
 +
|invimage4=Quartzite Sand
 +
|invimage5=Dolomite Sand
 +
|invimage6=Marble Sand
 +
|invimage7=Dacite Sand
 +
|invimage8=Granite Sand
 +
|invimage9=Shale Sand
 +
|invimage10=Conglomerate Sand
 +
|invimage11=Gneiss Sand
 +
|invimage12=Slate Sand
 +
|invimage13=Gabbro Sand
 +
|invimage14=Limestone Sand
 +
|invimage15=Schist Sand
 +
|invimage16=Andesite Sand
 +
|invimage17=Chert Sand
 +
|invimage18=Chalk Sand
 +
|invimage19=Basalt Sand
 +
|invimage20=Claystone Sand
 +
|invimage21=Rocksalt Sand
 +
|stacksize= 32
 +
|size=
 +
|tool=shovel
 +
}}
 +
</nowiki></code>
 +
{{SideInfoBox Object
 +
|title=Sand
 +
|largeimage1={{BlockImage|Rhyolite Sand}} {{BlockImage|Phyllite Sand}} {{BlockImage|Diorite Sand}} {{BlockImage|Quartzite Sand}} {{BlockImage|Dolomite Sand}} {{BlockImage|Marble Sand}} {{BlockImage|Dacite Sand}} {{BlockImage|Granite Sand}} {{BlockImage|Shale Sand}} {{BlockImage|Conglomerate Sand}} {{BlockImage|Gneiss Sand}} {{BlockImage|Slate Sand}} {{BlockImage|Gabbro Sand}} {{BlockImage|Limestone Sand}} {{BlockImage|Schist Sand}} {{BlockImage|Andesite Sand}} {{BlockImage|Chert Sand}} {{BlockImage|Chalk Sand}} {{BlockImage|Basalt Sand}} {{BlockImage|Claystone Sand}} {{BlockImage|Rocksalt Sand}}
 +
|invimage=Rhyolite Sand
 +
|invimage2=Phyllite Sand
 +
|invimage3=Diorite Sand
 +
|invimage4=Quartzite Sand
 +
|invimage5=Dolomite Sand
 +
|invimage6=Marble Sand
 +
|invimage7=Dacite Sand
 +
|invimage8=Granite Sand
 +
|invimage9=Shale Sand
 +
|invimage10=Conglomerate Sand
 +
|invimage11=Gneiss Sand
 +
|invimage12=Slate Sand
 +
|invimage13=Gabbro Sand
 +
|invimage14=Limestone Sand
 +
|invimage15=Schist Sand
 +
|invimage16=Andesite Sand
 +
|invimage17=Chert Sand
 +
|invimage18=Chalk Sand
 +
|invimage19=Basalt Sand
 +
|invimage20=Claystone Sand
 +
|invimage21=Rocksalt Sand
 +
|stacksize= 32
 +
|size=
 +
|tool=shovel
 +
}}
 +
 +
[[Category:{{PAGENAME}}]]
 +
</noinclude>

Latest revision as of 23:20, 28 November 2020


Template Data

This is the template for adding the item/block overview with pictures on the side of every item/block page.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

The name given to the Infobox. Defaults to Page name.

Example
Sand
Stringsuggested
Large Display Image Slot 1largeimage1

This is the large item/block image that is displayed blown up at the top of the infobox. Must be a BlockImage Template to get the correct size. Use multiple in the same element for a slideshow. Missing Textures will show for missing picture files.

Templaterequired
Large Display Image Slot 2largeimage2

This is the large item/block image that is displayed blown up at the top of the infobox. Must be a BlockImage Template to get the correct size. Use multiple in the same element for a slideshow. Missing Textures will show for missing picture files.

Templateoptional
Large Display Image Slot 3largeimage3

This is the large item/block image that is displayed blown up at the top of the infobox. Must be a BlockImage Template to get the correct size. Use multiple in the same element for a slideshow. Missing Textures will show for missing picture files.

Templateoptional
Inventory Image 1invimage1

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringrequired
Inventory Image 2invimage2

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage3invimage3

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage4invimage4

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage5invimage5

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage6invimage6

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage7invimage7

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage8invimage8

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage9invimage9

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage10invimage10

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage11invimage11

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage12invimage12

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage13invimage13

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage14invimage14

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage15invimage15

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Example
Rocksalt Sand
Stringoptional
Invimage16invimage16

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage17invimage17

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage18invimage18

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage19invimage19

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage20invimage20

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage21invimage21

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage22invimage22

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage23invimage23

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage24invimage24

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage25invimage25

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage26invimage26

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage27invimage27

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage28invimage28

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage29invimage29

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Invimage30invimage30

This shows the item as if it was inside of an inventory slot with a background. Will show missing texture for files that can't be found.

Stringoptional
Tooltool

The effective tool for this block or the tool this item acts as.

Example
shovel
Stringsuggested
Tool 2tool2

The effective tool for this block or the tool this item acts as.

Example
axe
Stringoptional
Tool 3tool3

The effective tool for this block or the tool this item acts as.

Example
scythe
Stringoptional
Stack Sizestacksize

The maximum size this stack can be.

Example
32
Numberrequired
Item Sizesize

Size of the Item

Example
Large
Stringrequired
Item Weightweight

Weight of the Item

Example
Heavy
Stringrequired
Renewablerenewable

Is this item Renewable?

Example
Yes
Booleanrequired
Ore Dictionary entries.oredict

A list of all valid general oredict entries for this item. Use a Data table for specifics like wool colors.

Example
ore:wool
Stringrequired
Gravity Affectedgravity

Does this block have gravity?

Booleansuggested
Block Dropsdrops

What does this block drop?

Unknownrequired
Flammability flammable

Does this block burn?

Booleansuggested
Luminanceluminance

Does this block emit light?

Numbersuggested
Blast Resistanceblastresistance

How blast resistant is this block?

Numbersuggested
Extra Notesnotes

An extra spot for anything that doesn't fit in above or just to add a bit of extra info when Data isn't required.

Contentoptional

Example

{{SideInfoBox Object |title=Sand |largeimage1={{BlockImage|Rhyolite Sand}} {{BlockImage|Phyllite Sand}} {{BlockImage|Diorite Sand}} {{BlockImage|Quartzite Sand}} {{BlockImage|Dolomite Sand}} {{BlockImage|Marble Sand}} {{BlockImage|Dacite Sand}} {{BlockImage|Granite Sand}} {{BlockImage|Shale Sand}} {{BlockImage|Conglomerate Sand}} {{BlockImage|Gneiss Sand}} {{BlockImage|Slate Sand}} {{BlockImage|Gabbro Sand}} {{BlockImage|Limestone Sand}} {{BlockImage|Schist Sand}} {{BlockImage|Andesite Sand}} {{BlockImage|Chert Sand}} {{BlockImage|Chalk Sand}} {{BlockImage|Basalt Sand}} {{BlockImage|Claystone Sand}} {{BlockImage|Rocksalt Sand}} |invimage=Rhyolite Sand |invimage2=Phyllite Sand |invimage3=Diorite Sand |invimage4=Quartzite Sand |invimage5=Dolomite Sand |invimage6=Marble Sand |invimage7=Dacite Sand |invimage8=Granite Sand |invimage9=Shale Sand |invimage10=Conglomerate Sand |invimage11=Gneiss Sand |invimage12=Slate Sand |invimage13=Gabbro Sand |invimage14=Limestone Sand |invimage15=Schist Sand |invimage16=Andesite Sand |invimage17=Chert Sand |invimage18=Chalk Sand |invimage19=Basalt Sand |invimage20=Claystone Sand |invimage21=Rocksalt Sand |stacksize= 32 |size= |tool=shovel }}

Sand
Rhyolite Sand.png
Phyllite Sand.png
Diorite Sand.png
Quartzite Sand.png
Dolomite Sand.png
Marble Sand.png
Dacite Sand.png
Granite Sand.png
Shale Sand.png
Conglomerate Sand.png
Gneiss Sand.png
Slate Sand.png
Gabbro Sand.png
Limestone Sand.png
Schist Sand.png
Andesite Sand.png
Chert Sand.png
Chalk Sand.png
Basalt Sand.png
Claystone Sand.png
Rocksalt Sand.png
Phyllite Sand.pngDiorite Sand.pngQuartzite Sand.pngDolomite Sand.pngMarble Sand.pngDacite Sand.pngGranite Sand.pngShale Sand.pngConglomerate Sand.pngGneiss Sand.pngSlate Sand.pngGabbro Sand.pngLimestone Sand.pngSchist Sand.pngAndesite Sand.pngChert Sand.pngChalk Sand.pngBasalt Sand.pngClaystone Sand.pngRocksalt Sand.png
Tool

Steel Shovel.png

Stacksize

32

Size

?

Weight

?

Renewable

?

Ore Dictionary

?

Extra Item Data

See Data