Difference between revisions of "Template:SideInfoBox Object"
(Added missing braces?) |
(Renewable, Gravity, and Flammable are declared as boolean parameters, so handle boolean values properly: render 1 as Yes and 0 as No) |
||
(24 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- | ||
#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- | + | #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|}}} | {{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: {{{ | + | | 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]] | ||
+ | }} | ||
+ | }} }} | ||
}} | }} | ||
− | |||
{{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">&# | + | {{infobox row|label=[[Size]] <font face="Segoe UI Symbol">⇲</font>|field={{ #if: {{{size|}}} | {{{size}}} | ?[[Category:MissingData]] }} }} |
− | {{infobox row|label=[[Weight]] <font face="Segoe UI Symbol">⚖</font>|field={{ #if: {{{weight|}}} | {{{weight}}} | ? | + | {{infobox row|label=[[Weight]] <font face="Segoe UI Symbol">⚖</font>|field={{ #if: {{{weight|}}} | {{{weight}}} | ?[[Category:MissingData]] }} }} |
− | {{infobox row|label=Renewable |field={{ # | + | {{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= | + | {{#if: {{{flammable|}}} | {{infobox row|label=Flammable|field={{#switch: {{{flammable|}}} | 0 = No | 1 = Yes | {{{flammable}}}}}}}}} |
− | {{# | + | {{#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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The name given to the Infobox. Defaults to Page name.
| String | suggested |
Large Display Image Slot 1 | largeimage1 | 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. | Template | required |
Large Display Image Slot 2 | largeimage2 | 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. | Template | optional |
Large Display Image Slot 3 | largeimage3 | 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. | Template | optional |
Inventory Image 1 | invimage1 | 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. | String | required |
Inventory Image 2 | invimage2 | 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. | String | optional |
Invimage3 | invimage3 | 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. | String | optional |
Invimage4 | invimage4 | 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. | String | optional |
Invimage5 | invimage5 | 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. | String | optional |
Invimage6 | invimage6 | 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. | String | optional |
Invimage7 | invimage7 | 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. | String | optional |
Invimage8 | invimage8 | 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. | String | optional |
Invimage9 | invimage9 | 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. | String | optional |
Invimage10 | invimage10 | 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. | String | optional |
Invimage11 | invimage11 | 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. | String | optional |
Invimage12 | invimage12 | 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. | String | optional |
Invimage13 | invimage13 | 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. | String | optional |
Invimage14 | invimage14 | 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. | String | optional |
Invimage15 | invimage15 | 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.
| String | optional |
Invimage16 | invimage16 | 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. | String | optional |
Invimage17 | invimage17 | 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. | String | optional |
Invimage18 | invimage18 | 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. | String | optional |
Invimage19 | invimage19 | 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. | String | optional |
Invimage20 | invimage20 | 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. | String | optional |
Invimage21 | invimage21 | 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. | String | optional |
Invimage22 | invimage22 | 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. | String | optional |
Invimage23 | invimage23 | 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. | String | optional |
Invimage24 | invimage24 | 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. | String | optional |
Invimage25 | invimage25 | 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. | String | optional |
Invimage26 | invimage26 | 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. | String | optional |
Invimage27 | invimage27 | 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. | String | optional |
Invimage28 | invimage28 | 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. | String | optional |
Invimage29 | invimage29 | 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. | String | optional |
Invimage30 | invimage30 | 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. | String | optional |
Tool | tool | The effective tool for this block or the tool this item acts as.
| String | suggested |
Tool 2 | tool2 | The effective tool for this block or the tool this item acts as.
| String | optional |
Tool 3 | tool3 | The effective tool for this block or the tool this item acts as.
| String | optional |
Stack Size | stacksize | The maximum size this stack can be.
| Number | required |
Item Size | size | Size of the Item
| String | required |
Item Weight | weight | Weight of the Item
| String | required |
Renewable | renewable | Is this item Renewable?
| Boolean | required |
Ore Dictionary entries. | oredict | A list of all valid general oredict entries for this item. Use a Data table for specifics like wool colors.
| String | required |
Gravity Affected | gravity | Does this block have gravity? | Boolean | suggested |
Block Drops | drops | What does this block drop? | Unknown | required |
Flammability | flammable | Does this block burn? | Boolean | suggested |
Luminance | luminance | Does this block emit light? | Number | suggested |
Blast Resistance | blastresistance | How blast resistant is this block? | Number | suggested |
Extra Notes | notes | 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. | Content | optional |
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
}}