Template:Infobox biome: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{#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|}}} }} }} | ||
{{#if: {{{skycolor|}}} | {{infobox row|label=Sky color|field={{#ifeq: {{#len:{{{skycolor}}}}}| | {{#if: {{{skycolor|}}} | {{infobox row|label=Sky color|field={{#ifeq: {{#len:{{{skycolor}}}}}|7|{{color|{{{skycolor}}}}}|{{{skycolor}}} }} }} }} | ||
{{#if: {{{fogcolor|}}} | {{infobox row|label=Fog color|field={{#ifeq: {{#len:{{{fogcolor}}}}}| | {{#if: {{{fogcolor|}}} | {{infobox row|label=Fog color|field={{#ifeq: {{#len:{{{fogcolor}}}}}|7|{{color|{{{fogcolor}}}}}|{{{fogcolor}}} }} }} }} | ||
{{#if: {{{grasscolor|}}} | {{infobox row|label=Grass color|field={{#ifeq: {{#len:{{{grasscolor}}}}}| | {{#if: {{{grasscolor|}}} | {{infobox row|label=Grass color|field={{#ifeq: {{#len:{{{grasscolor}}}}}|7|{{color|{{{grasscolor}}}}}|{{{grasscolor}}} }} }} }} | ||
{{#if: {{{foliagecolor|}}} | {{infobox row|label=Foliage color|field={{#ifeq: {{#len:{{{foliagecolor}}}}}| | {{#if: {{{foliagecolor|}}} | {{infobox row|label=Foliage color|field={{#ifeq: {{#len:{{{foliagecolor}}}}}|7|{{color|{{{foliagecolor}}}}}|{{{foliagecolor}}} }} }} }} | ||
{{#if: {{{watercolor|}}} | {{infobox row|label=Water color|field={{#ifeq: {{#len:{{{watercolor}}}}}| | {{#if: {{{watercolor|}}} | {{infobox row|label=Water color|field={{#ifeq: {{#len:{{{watercolor}}}}}|7|{{color|{{{watercolor}}}}}|{{{watercolor}}} }} }} }} | ||
{{#if: {{{underwaterfogcolor|}}} | {{infobox row|label=Underwater fog color|field={{#ifeq: {{#len:{{{underwaterfogcolor}}}}}|6|{{{underwaterfogcolor}}}|{{color|{{{underwaterfogcolor}}}}} }} }} }} | {{#if: {{{underwaterfogcolor|}}} | {{infobox row|label=Underwater fog color|field={{#ifeq: {{#len:{{{underwaterfogcolor}}}}}|6|{{{underwaterfogcolor}}}|{{color|{{{underwaterfogcolor}}}}} }} }} }} | ||
{{#if: {{{underwaterfogdistance|}}} | {{infobox row|label=Underwater fog distance|field={{{underwaterfogdistance}}} }} }} | {{#if: {{{underwaterfogdistance|}}} | {{infobox row|label=Underwater fog distance|field={{{underwaterfogdistance}}} }} }} |