Difference between revisions of "Template:SideInfoBox Object"

From TFC:TNG
Jump to navigation Jump to search
(Added template info and Exmaple.)
(Added Category.)
Line 448: Line 448:
 
|tool=shovel
 
|tool=shovel
 
}}
 
}}
 +
 +
[[Category:{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 05:01, 11 August 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

{{ItemInfoBox |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 }} Template:ItemInfoBox