Template:Infobox biome: Difference between revisions

Remove parameter that would fit better in the prose, add new ID parameters
Use "if parameter is specified, then use parameter, otherwise question mark" for the type and temperature rows
Line 1: Line 1:
{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| rows =
| rows =
{{infobox row|label=Type|field={{{type|}}} }}
{{infobox row|label=Type|field={{#if: {{{type|}}} | {{{type}}} | ? }} }}
{{#if: {{{variants|}}} | {{infobox row|label=Variants|field={{{variants|}}} }} }}
{{#if: {{{variants|}}} | {{infobox row|label=Variants|field={{{variants|}}} }} }}
{{infobox row|label=Temperature|field={{{temperature|}}} }}
{{infobox row|label=Temperature|field={{#if: {{{temperature|}}} | {{{temperature|}}} | ? }} }}
{{#if: {{{structures|}}} | {{infobox row|label=Structures|field={{{structures|}}} }} }}
{{#if: {{{structures|}}} | {{infobox row|label=Structures|field={{{structures|}}} }} }}
{{infobox row|label=Name ID|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}
{{infobox row|label=Name ID|field={{#if: {{{id|}}} | {{{id}}} | ? }} }}