Template:Infobox tree
This template uses Module:Infobox, a script written in Lua.
Usage
Parameter | Function | Default value |
---|---|---|
title |
Optional value to use a different title instead of the page name | {{BASEPAGENAME}}
|
image |
Image of the tree | {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
|
imagesize |
Adjusts the size of the image | x200px |
image2 |
Image of sapling | None |
image2size |
Adjusts the size of the corresponding image; recommend setting to x100px | x200px |
biome |
Biome(s) that the tree generates in | |
surface |
Surfaces that the tree can grow on | |
fruit |
Fruit that the tree can produce | None |
blocks |
Blocks that make up the tree; automatically collapsed if above 512 characters | |
canspawn |
Whether the tree can generate in chunks that have been generated before the tree was added to the game |
Any amount of image fields are supported (image, image2, image3, etc.); each may be animated by providing a semicolon-delimited list of file names. If no image is provided, {{{title}}}.png or {{BASEPAGENAME}}.png will be used, if they exist.
{{infobox tree | image = Oak JE12.png; Balloon Oak Tree.png; Swamp Tree.png | image2 = Oak Sapling.png | image2size = x100px | biome = {{BiomeLink|Dark Forest}}<br> {{BiomeLink|Forest}}<br> {{BiomeLink|Plains}}<br> {{BiomeLink|River}}<br> {{BiomeLink|Savanna}}<br> {{BiomeLink|Wooded Badlands Plateau}}<br> {{BiomeLink|Wooded Mountains}} |surface = {{BlockLink|Dirt}}, {{BlockLink|Grass Block}}, {{BlockLink|Coarse Dirt}}, {{BlockLink|Podzol}}, {{BlockLink|Mycelium}} |fruit = {{ItemLink|Apple}} | blocks = * {{BlockLink|Oak Log}} * {{BlockLink|Oak Leaves}} * {{BlockLink|Vines}} (swamp oak, some fallen trees) * {{BlockLink|Mushrooms}} (some fallen trees){{only|bedrock|short=1}} * {{BlockLink|Bee Nest}} | canspawn = Yes }}
produces:
Infobox tree
Biomes |
Dark Forest | |||
---|---|---|---|---|
Grows on | ||||
Fruit | ||||
Consists of |
| |||
Can generate in existing chunks |
Yes |
See also
- Minecraft
{{Biome}}
{{Block}}
{{Development phase}}
{{Enchantment}}
{{Effect}}
{{Entity}}
{{Fluid}}
{{Item}}
{{ItemEntity}}
{{Structure}}
- Minecraft Dungeons
{{DungeonsEnchantment}}
{{DungeonsEntity}}
{{DungeonsItem}}
- Other
{{3rd Party Tool}}
(may soon be deprecated){{Album}}
{{Company}}
{{Music}}
{{Person}}
{{Profile}}
{{Program}}
{{Version nav}}
- Module:Infobox
[view | edit | history | purge]The above documentation is transcluded from Template:Infobox tree/doc.