Template:Infobox structure: Difference between revisions

m Undo revision 896562 by Pajasmis (talk) wrong wiki, and you broke the template
m Works better for structures that can generate in multiple biomes, such as fossils and underwater ruins
Line 2: Line 2:
| invimage = none
| invimage = none
| rows =
| rows =
{{ #if: {{{biome|}}} | {{infobox row|label=[[Biome]]|field={{{biome}}} }} }}
{{ #if: {{{biome|}}} | {{infobox row|label=[[Biome]](s)|field={{{biome}}} }} }}
{{ #if: {{{blocks|}}} | {{infobox row|class={{#if: {{{blocks|}}} | list-style-none }}|label=Consists of|field={{{blocks}}} }} }}
{{ #if: {{{blocks|}}} | {{infobox row|class={{#if: {{{blocks|}}} | list-style-none }}|label=Consists of|field={{{blocks}}} }} }}
{{ #if: {{{canspawn|}}} | {{infobox row|label=Can generate<br>post-generation|field={{{canspawn}}} }} }}
{{ #if: {{{canspawn|}}} | {{infobox row|label=Can generate<br>post-generation|field={{{canspawn}}} }} }}