Template:Infobox structure: Difference between revisions
remove redundant if statement; increase limit of blocks collapse so structures such as desert well with only five entries don't get collapsed (also rather outlandish use of a power of two) |
added mobs parameter, structure does not give much information currently and I think mobs that spawn alongside the structure is helpful to know quickly |
||
| Line 4: | Line 4: | ||
| rows = | | rows = | ||
{{ #if: {{{biome|}}} | {{infobox row|class=list-style-none|label=[[Biome]]s|field={{{biome}}} }} }} | {{ #if: {{{biome|}}} | {{infobox row|class=list-style-none|label=[[Biome]]s|field={{{biome}}} }} }} | ||
{{ #if: {{{mobs|}}} | {{infobox row|class=list-style-none|label=[[Mob]]s|field={{{mobs}}} }} }} | |||
{{ #if: {{{surface|}}} | {{infobox row|class=list-style-none|label={{#if: {{{fruit}}}|Grows|Generates}} on|field={{{surface}}} }} }} | {{ #if: {{{surface|}}} | {{infobox row|class=list-style-none|label={{#if: {{{fruit}}}|Grows|Generates}} on|field={{{surface}}} }} }} | ||
{{ #if: {{{fruit|}}} | {{infobox row|class=list-style-none|label=Fruit|field={{{fruit}}} }} }} | {{ #if: {{{fruit|}}} | {{infobox row|class=list-style-none|label=Fruit|field={{{fruit}}} }} }} | ||