Template:Infobox structure: Difference between revisions

doc
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{infobox common
{{infobox common
| title = {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| title = {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = {{
| imagearea = {{
   #if: {{#pos: {{{image}}} | ; }}
   #if: {{#pos: {{{image}}} | ; }}
   | {{animate|{{{image}}}|return=[[File:{1}|150px|center]]}}
   | {{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]]
   | [[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]]
}}{{
}}{{
Line 10: Line 9:
   #if: {{{image2|}}} | <div style="padding-top: 1em">{{
   #if: {{{image2|}}} | <div style="padding-top: 1em">{{
     #if: {{#pos: {{{image2}}} | ; }}
     #if: {{#pos: {{{image2}}} | ; }}
     | {{animate|{{{image2}}}|return=[[File:{1}|150px|center]]}}
     | {{animate|{{{image2}}}|{{{image2size|150px}}}}}
     | [[File:{{{image2}}}|{{{image2size|150px}}}|center]]
     | [[File:{{{image2}}}|{{{image2size|150px}}}|center]]
   }}</div>
   }}</div>
Line 17: Line 16:
   #if: {{{image3|}}} | <div style="padding-top: 1em">{{
   #if: {{{image3|}}} | <div style="padding-top: 1em">{{
     #if: {{#pos: {{{image3}}} | ; }}
     #if: {{#pos: {{{image3}}} | ; }}
     | {{animate|{{{image3}}}|return=[[File:{1}|150px|center]]}}
     | {{animate|{{{image3}}}|{{{image3size|150px}}}}}
     | [[File:{{{image3}}}|{{{image3size|150px}}}|center]]
     | [[File:{{{image3}}}|{{{image3size|150px}}}|center]]
   }}</div> }}
   }}</div> }}
| rows =
| rows =
{{ #if: {{{Biome Generated In|}}} | {{infobox row|label=[[Biome]]|field={{{Biome Generated In}}} }} }}
{{ #if: {{{biome|}}} | {{infobox row|label=[[Biome]]|field={{{biome}}} }} }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{/doc}}
{{/doc}}
</noinclude>
</noinclude>