Template:Infobox biome: Difference between revisions

Does this fix it?
mNo edit summary
Line 5: Line 5:
{{#if: {{{structures|}}} | {{infobox row|label=Structures|field={{{structures|}}} }} }}
{{#if: {{{structures|}}} | {{infobox row|label=Structures|field={{{structures|}}} }} }}
{{#if: {{{blocks|}}} | {{infobox row|label=Blocks|field={{{blocks|}}} }} }}
{{#if: {{{blocks|}}} | {{infobox row|label=Blocks|field={{{blocks|}}} }} }}
{{infobox row|label=Name ID|field={{#if: {{{id|}}} | {{{id|}}} | ? }} }}
{{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data}}} }} }} }}
{{infobox row|label=Dec|field={{#if: {{{dec|}}} | {{{dec|}}} | ? }} }}
{{#ifeq: {{lc: {{{nameid}}} }} | none
{{infobox row|label=Hex|field={{#if: {{{hex|}}} | {{{hex|}}} | ? }} }}
|
| {{infobox row|label=[[Data values|Name]]|field={{
  #if: {{{nameid|{{{id|}}}}}}
  | {{{nameid|{{{id}}}}}}
  | {{#if: {{NAMESPACE}}
    | ?
    | minecraft:{{lc: {{#replace: {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} || _ }} }}
    }}
  }}}}
}}
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>