Template:Infobox biome: Difference between revisions
Jump to navigation
Jump to search
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}}} | ? }} }} | ||
Revision as of 13:52, 5 August 2018
Infobox biome
| Type |
? |
|---|---|
| Temperature |
? |
| Name ID |
? |
| Dec |
? |
| Hex |
? |
{
"title": "Infobox biome",
"rows": [
{
"field": "?",
"label": "Type"
},
{
"field": "?",
"label": "Temperature"
},
{
"field": "?",
"label": "Name ID"
},
{
"field": "?",
"label": "Dec"
},
{
"field": "?",
"label": "Hex"
}
],
"invimages": [],
"images": []
}