Template:Infobox structure: Difference between revisions

m Test
m 64 revisions imported
 
(57 intermediate revisions by 24 users not shown)
Line 1: Line 1:
<includeonly>{{infobox common
{{#invoke:infobox|infobox
| title = {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| defaultimagesize = {{ #if: {{{defaultimagesize|}}} | {{{defaultimagesize}}} | 250px }}
| imagearea = {{
| invimage = none
  #if: {{#pos: {{{image}}} | ; }}
  | {{animate|{{{image}}}|{{{imagesize|150px}}}}}
  | [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No block image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|{{{imagesize|150px}}}|center]]
}}{{
 
  #if: {{{image2|}}} | <div style="padding-top: 1em">{{
    #if: {{#pos: {{{image2}}} | ; }}
    | {{animate|{{{image2}}}|{{{image2size|150px}}}}}
    | [[File:{{{image2}}}|{{{image2size|150px}}}|center]]
  }}</div>
}}{{
 
  #if: {{{image3|}}} | <div style="padding-top: 1em">{{
    #if: {{#pos: {{{image3}}} | ; }}
    | {{animate|{{{image3}}}|{{{image3size|150px}}}}}
    | [[File:{{{image3}}}|{{{image3size|150px}}}|center]]
  }}</div> }}
| rows =
| rows =
{{ #if: {{{biome|}}} | {{infobox row|label=[[Biome]]|field={{{biome}}} }} }}
{{ #if: {{{biome|}}} | {{infobox row|class=list-style-none|label=[[Biome]]s|field={{{biome}}} }} }}
{{#if: {{{multiplevers|}}}
{{ #if: {{{mobs|}}} | {{infobox row|class=list-style-none|label=[[Mob]]s|field={{{mobs}}} }} }}
| {{infobox row|label=First appearances|field={{{multiplevers}}} }}
{{ #if: {{{surface|}}} | {{infobox row|class=list-style-none|label={{#if: {{{fruit}}}|Grows|Generates}} on|field={{{surface}}} }} }}
| {{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
{{ #if: {{{fruit|}}} | {{infobox row|class=list-style-none|label=Fruit|field={{{fruit}}} }} }}
    #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})
{{ #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"
}}
!
}}</includeonly><noinclude>
{{!}}-
{{/doc}}
{{!}}
 
{{{blocks}}}
[[nl:Sjabloon:Structuur]]
{{!}}} | {{{blocks}}} }} }} }}
 
}}<noinclude>
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>