Editing
Template:Infobox structure/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == {| class="wikitable" ! Parameter ! Function ! Default value |- | <code>title</code> || Optional value to use a different title instead of the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code> |- | <code>image</code> || Image of the structure || <code><nowiki>{{{title}}}.png</nowiki></code> if it exists, otherwise [[:File:No image.svg|No image.svg]] (linking to the page where to upload the missing image) |- | <code>imagesize</code> || Adjusts the size of the image || 250px |- | <code>image''N''</code> || Additional images || ''None'' |- | <code>image''N''size</code> || Adjusts the size of the corresponding image || 250px |- | <code>biome</code> || Biome(s) that the structure generates in || |- | <code>mobs</code> || Mob(s) that spawn near or inside the structure || |- | <code>blocks</code> || Blocks that make up the structure; automatically collapsed if above 2000 characters || |- | <code>canspawn</code> || Whether the structure can generate in chunks that have been generated before the structure 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, <nowiki>{{{title}}}.png</nowiki> or <nowiki>{{BASEPAGENAME}}.png</nowiki> will be used, if they exist. <pre> {{Infobox structure | title = Jungle pyramid | image = Jungle pyramid.png | biome = Jungle }} {{Infobox structure | title = Gravel beach }} </pre> produces: {{Infobox structure | title = Jungle pyramid | image = Jungle pyramid.png | biome = Jungle }} {{Infobox structure | title = Gravel beach }} <div style="clear:both"> Full template: <pre> {{Infobox structure | title = <!-- Optional, use if different from the page name --> | image = <!-- Use No_image.svg if no image exists --> | imagesize = <!-- defaults to 250px if omitted --> | image2 = <!-- Optional additional image --> | image2size = <!-- defaults to 250px if omitted --> | biome = | mobs = | blocks = <!-- Blocks that make up the structure --> | canspawn = <!-- Set to yes if the structure generates in already-existing chunks --> }} </pre>
Summary:
Please note that all contributions to Modded Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Refresh
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information