Template:Structure: Difference between revisions

Template page
m (1 revision imported)
No edit summary
Line 1: Line 1:
{{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}}
{{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}}
{{#invoke:infobox|infobox
 
| imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|250px}}
{{Infobox|
| rows =
|bodyclass = mw-collapsible floatright
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:{{PAGENAME}}.png|400px]]}}
{{infobox row|label='''{{#tip-text: Structure ID | Can be used with /locate in 1.18 and /locate structure in 1.19+. Can also be used with /place to place the structure at the nearest valid location.}}'''|field={{#if: {{{structureid|}}} | <small>{{{structureid}}}</small> | ? }} }}
|imagerowclass1 = infobox-image
{{infobox row|label='''Biomes'''|field={{#if: {{{biomelist|}}} | {{{biomelist}}} | ? }} }}
 
|header1 = {{{name|{{PAGENAME}}}}}
|rowclass1 = infobox-title
 
|label3 = '''Structure ID '''
|data3          = {{#if: {{{structureid|}}} | <small>{{{structureid}}}</small> | ? }}
|rowclass3      = data-custom infobox-data infobox-col1
 
|label4 = '''Biomes'''
|data4          = {{#if: {{{biomelist|}}} | {{{biomelist}}} | ? }}
|rowclass4      = data-custom infobox-data infobox-col1
 
|label5 = '''Loot'''
|data5          = {{#if: {{{loot|}}} | {{{loot}}} | ? }}
|rowclass5      = data-custom infobox-data infobox-col1
 
|label6 = '''Mobs'''
|data6          = {{#if: {{{mobs|}}} | {{{mobs}}} | ? }}
|rowclass6      = data-custom infobox-data infobox-col1
 
}}
 
 
{{infobox row|label=''''''|field= }}
 
{{infobox row|label='''Biomes'''|field= }}
 
{{#if: {{{loot|}}} | {{infobox row|label='''Loot'''|field={{{loot|}}} }} }}
{{#if: {{{loot|}}} | {{infobox row|label='''Loot'''|field={{{loot|}}} }} }}
{{#if: {{{mobs|}}} | {{infobox row|label='''Mobs'''|field={{{mobs|}}} }} }}
{{#if: {{{mobs|}}} | {{infobox row|label='''Mobs'''|field={{{mobs|}}} }} }}
}}
 
 
 
 
 
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Revision as of 19:27, 29 May 2024


File:Structure.png
Structure
Structure ID ?
Biomes?
Loot?
Mobs?


! ' | |

|-

! Biomes | |

|-






Use this template to add specific information about a structure in a small formatted infobox.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

Forces an image not based on the title of the page, useful for putting a GIF. You can also create a diaporama by putting ";" between the images names.

Unknownoptional
pageimagepageimage

Forced .png or .gif set to appear for the page popup and SEO. Obligatory if " ; " is used in the "image" string.

Unknownoptional
image2image2

Adds a second image under the first one. You can also create a diaporama by putting ";" between the images names.

Unknownoptional
imagesizeimagesize

no description

Unknownoptional
datadata

no description

Unknownoptional
structureidstructureid

ID of the structure, can be found in the file or by using /locate

Example
terralith:cod
Unknownrequired
biomelistbiomelist

List of the biomes the structure can spawn in. Use [[...]] to link to a biome page.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownrequired
lootloot

List of items of note that can be found in the structure. Use [[...]] to link to the custom item page if it is one.

Example
{{Link|...}}<br>{{Link|...}}<br>
Unknownsuggested
mobsmobs

Mc mobs or Custom mobs that can be found in the structure

Example
[[Native ghast]] / {{L2MCW|...}}<br>[[Native ghast]] / {{L2MCW|...}}<br>
Unknownsuggested