Template:Structure: Difference between revisions

Structure is a structure on WoopMC.
m (1 revision imported)
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:|image=File:{{#if:{{{pageimage|}}}|{{{pageimage}}}|{{PAGENAME}}.png}}}}
 
{{#invoke:infobox|infobox
{{Infobox|
| imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|250px}}
|bodyclass = mw-collapsible floatright
| rows =
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:{{PAGENAME}}.png|400px]]}}
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
|imagerowclass1 = infobox-image
{{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> | ? }} }}
 
{{infobox row|label='''Biomes'''|field={{#if: {{{biomelist|}}} | {{{biomelist}}} | ? }} }}
|header1 = {{{name|{{PAGENAME}}}}}
{{#if: {{{loot|}}} | {{infobox row|label='''Loot'''|field={{{loot|}}} }} }}
|rowclass1 = infobox-title
{{#if: {{{mobs|}}} | {{infobox row|label='''Mobs'''|field={{{mobs|}}} }} }}
 
|label3 = '''Structure ID '''
|data3          = {{#if: {{{structureid|}}} | <small>{{{structureid}}}</small> | ? }}
|rowclass3      = data-custom infobox-data infobox-col1
 
|label4 = '''Biomes'''
|data4          = {{#if: {{{biomelist|}}} | {{{biomelist}}} | ? }}
|rowclass4      = infobox-header
 
|label5 = '''Loot'''
|data5          = {{#if: {{{loot|}}} | {{{loot}}} | ? }}
|rowclass5      = infobox-header
 
|label6 = '''Mobs'''
|data6          = {{#if: {{{mobs|}}} | {{{mobs}}} | ? }}
|rowclass6      = infobox-header
 
}}
}}
[[Category:Structure]]
{{#vardefine:infoboxseo|1}}{{#seo:
|title = {{{name|{{PAGENAME}}}}} (Structure) - {{SITENAME}}
|site_name = {{SITENAME}}
|type = article
|locale = {{PAGELANGUAGE}}
|image = {{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png}}
}}
{{Short description|{{{name|{{PAGENAME}}}}} is a {{{type|}}} structure on {{SITENAME}}.}}
{{#if:{{{type|}}}|[[Category:{{{type}}}_Structure]]}}
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Latest revision as of 02:23, 30 May 2024

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



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