Template:Infobox structure: Difference between revisions
m use PI class instead of style |
m rebase dev changes onto prod |
||
| Line 1: | Line 1: | ||
< | <includeonly>{{#invoke:infobox|infobox | ||
| defaultimagesize = {{ #if: {{{defaultimagesize|}}} | {{{defaultimagesize}}} | 250px }} | |||
| invimage = none | |||
| rows = | |||
{{ #if: {{{biome|}}} | {{infobox row|class=list-style-none|label=[[Biome]]s|field={{{biome}}} }} }} | |||
{{ #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: {{{canspawn|}}} | {{infobox row|label=Can generate in<br>existing chunks|field={{{canspawn}}} }} }} | |||
{{ #if: {{{blocks|}}} | {{infobox row|class={{#if: {{{blocks|}}} | list-style-none }}|label=Consists of|field= | |||
{{#ifexpr: {{#len: {{{blocks}}} }} > 512 | {{{!}} class="collapsible collapsed" | |||
! | |||
{{!}}- | |||
{{!}} | |||
{{{blocks}}} | |||
{{!}}} | {{{blocks}}} }} }} }} | |||
}}</includeonly><noinclude> | |||
{{documentation}} | |||
{{{blocks | <!-- Put categories/interwiki on the documentation page --> | ||
</noinclude> | |||
</ | |||