Template:Infobox structure: Difference between revisions
No edit summary |
m 64 revisions imported |
||
(43 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:infobox|infobox | |||
| defaultimagesize = {{ #if: {{{defaultimagesize|}}} | {{{defaultimagesize}}} | 250px }} | |||
| invimage = none | | invimage = none | ||
| rows = | | rows = | ||
{{ #if: {{{biome|}}} | {{infobox row|label=[[Biome]]|field={{{biome}}} }} }} | {{ #if: {{{biome|}}} | {{infobox row|class=list-style-none|label=[[Biome]]s|field={{{biome}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{mobs|}}} | {{infobox row|class=list-style-none|label=[[Mob]]s|field={{{mobs}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{surface|}}} | {{infobox row|class=list-style-none|label={{#if: {{{fruit}}}|Grows|Generates}} on|field={{{surface}}} }} }} | ||
{{#if: {{{ | {{ #if: {{{fruit|}}} | {{infobox row|class=list-style-none|label=Fruit|field={{{fruit}}} }} }} | ||
{{ #if: {{{canspawn|}}} | {{infobox row|label=Can generate in<br>existing chunks|field={{{canspawn}}} }} }} | |||
{{ #if: {{{blocks|}}} | {{infobox row|class=list-style-none|label=Consists of|field= | |||
{{ #ifexpr: {{#len: {{{blocks}}} }} > 2000 | {{{!}} class="collapsible collapsed" | |||
! | |||
{{!}}- | |||
}} | {{!}} | ||
}}< | {{{blocks}}} | ||
{{documentation | {{!}}} | {{{blocks}}} }} }} }} | ||
}}<noinclude> | |||
{{documentation}} | |||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
</noinclude> | </noinclude> |