Template:Biome: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<!--------- Infobox --------->
<!--------- Infobox --------->
 
<includeonly>
{{Infobox|
{{Infobox|
|bodyclass = mw-collapsible floatright
|bodyclass = mw-collapsible floatright
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:BiomePlaceholder.png|400px]]}}
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:{{PAGENAME}}.png|400px]]}}
|imagerowclass1 = infobox-image
|imagerowclass1 = infobox-image


Line 13: Line 13:
|rowclass2 = data-location infobox-subtitle infobox-data infobox-col1
|rowclass2 = data-location infobox-subtitle infobox-data infobox-col1


 
|label5        = Biome ID
 
|data5          = {{#if: {{{biomeid|}}} | <small>{{{biomeid}}}</small> | ? }}
|rowclass5      = data-type infobox-data infobox-col1
<!-- Weather  
<!-- Weather  
|header10 = {{#if:{{{temperature|}}}{{{humidity|}}}{{{precipitation|}}}|Weather}}
|header10 = {{#if:{{{temperature|}}}{{{humidity|}}}{{{precipitation|}}}|Weather}}
|rowclass10 = infobox-header-->
|rowclass10 = infobox-header-->


|label11 = Temperature
|label11 = <span class="plainlinks">[https://minecraft.wiki/w/Biome#Temperature_and_biome_colors Temperature]</span>
|data11 = {{{temperature|}}}
|data11 = {{#if: {{{temperature|}}} | {{{temperature|}}} | ? }}  
|rowclass11 = data-type infobox-data infobox-col1
|rowclass11 = data-type infobox-data infobox-col1


|label12 = Humidity
|label12 = <span class="plainlinks">[https://minecraft.wiki/w/Biome#Temperature_and_biome_colors Humidity]</span>
|data12 = {{{humidity|}}}
|data12 = {{#if: {{{humidity|}}} | {{{humidity|}}} | ? }}
|rowclass12 = data-type infobox-data infobox-col1
|rowclass12 = data-type infobox-data infobox-col1


|label13 = Precipitation
|label13 = <span class="plainlinks">[https://minecraft.wiki/w/Weather Precipitation]</span>
|data13 = {{{precipitation|}}}
|data13 = {{#if: {{{precipitation|}}} | {{{precipitation|}}} {{Tip|Info=If True, will be either rain if the temperature of the biome is over or equal to 0.2 or snow if the temperature of the biome is under 0.2. If False it will neither rain nor snow in the biome. In this case, it will {{#ifeq: {{{precipitation}}} | True | {{#ifexpr: {{{temperature}}} >= 0.2 | rain | snow }} | neither rain nor snow }}.}} | ? }}
|rowclass13 = data-type infobox-data infobox-col1
|rowclass13 = data-type infobox-data infobox-col1


Line 48: Line 49:


<!-- color -->
<!-- color -->
|label34 = [https://minecraft.wiki/w/Biome#Sky_and_fog Sky color]
|label34 = <span class="plainlinks">[https://minecraft.wiki/w/Biome#Sky_and_fog Sky color]</span>
|data34     = {{#ifeq: {{#len:{{{skycolor}}}}}|7|{{color|{{{skycolor}}}}}|{{{skycolor}}} }}
|data34     = {{#ifeq: {{#len:{{{skycolor}}}}}|7|{{color|{{{skycolor}}}}}|{{{skycolor}}} }}
|rowclass34    = data-type infobox-data infobox-col1
|rowclass34    = data-type infobox-data infobox-col1


|label34 = [https://minecraft.wiki/w/Biome#Sky_and_fog Fog color]
|label34 = <span class="plainlinks">[https://minecraft.wiki/w/Biome#Sky_and_fog Fog color]</span>
|data34     = {{#ifeq: {{#len:{{{fogcolor}}}}}|7|{{color|{{{fogcolor}}}}}|{{{fogcolor}}} }}
|data34     = {{#ifeq: {{#len:{{{fogcolor}}}}}|7|{{color|{{{fogcolor}}}}}|{{{fogcolor}}} }}
|rowclass34    = data-type infobox-data infobox-col1
|rowclass34    = data-type infobox-data infobox-col1


|label35 = [https://minecraft.wiki/w/Color#Biome_colors Grass color]
|label35 = <span class="plainlinks">[https://minecraft.wiki/w/Color#Biome_colors Grass color]</span>
|data35     = {{#ifeq: {{#len:{{{grasscolor}}}}}|7|{{color|{{{grasscolor}}}}}|{{{grasscolor}}} }}
|data35     = {{#ifeq: {{#len:{{{grasscolor}}}}}|7|{{color|{{{grasscolor}}}}}|{{{grasscolor}}} }}
|rowclass35    = data-type infobox-data infobox-col1
|rowclass35    = data-type infobox-data infobox-col1


|label36 = [https://minecraft.wiki/w/Color#Biome_colors Foliage color]
|label36 = <span class="plainlinks">[https://minecraft.wiki/w/Color#Biome_colors Foliage color]</span>
|data36         = {{#ifeq: {{#len:{{{foliagecolor}}}}}|7|{{color|{{{foliagecolor}}}}}|{{{foliagecolor}}} }}
|data36         = {{#ifeq: {{#len:{{{foliagecolor}}}}}|7|{{color|{{{foliagecolor}}}}}|{{{foliagecolor}}} }}
|rowclass36    = data-type infobox-data infobox-col1
|rowclass36    = data-type infobox-data infobox-col1
Line 75: Line 76:


{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|250px}}
| image=none
| rows =  
| rows =  
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
{{infobox row|label='''{{#tip-text: Biome ID | Can be used with /locatebiome in 1.18 and /locate biome in 1.19+ }}'''|field={{#if: {{{biomeid|}}} | <small>{{{biomeid}}}</small> | ? }} }}
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Biome#Temperature_and_biome_colors Temperature]</span>'''|field={{#if: {{{temperature|}}} | {{{temperature|}}} | ? }} }}
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Biome#Temperature_and_biome_colors Humidity]</span>'''|field={{#if: {{{humidity|}}} | {{{humidity|}}} | ? }} }}
{{infobox row|label='''<span class="plainlinks">[https://minecraft.wiki/w/Weather Precipitation]</span>'''|field={{#if: {{{precipitation|}}} | {{{precipitation|}}} {{Tip|Info=If True, will be either rain if the temperature of the biome is over or equal to 0.2 or snow if the temperature of the biome is under 0.2. If False it will neither rain nor snow in the biome. In this case, it will {{#ifeq: {{{precipitation}}} | True | {{#ifexpr: {{{temperature}}} >= 0.2 | rain | snow }} | neither rain nor snow }}.}} | ? }} }}
{{#if: {{{rarity|}}} | {{infobox row|label='''Rarity'''|field={{{rarity|}}} }} }}


{{#if: {{{structures|}}} | {{infobox row|label='''Structures'''|field={{{structures|}}} }} }}
{{infobox row|label=''''''|field= }}


{{#if: {{{mobs|}}} | {{infobox row|label='''Entities'''|field={{{mobs|}}} }} }}


}}
}}

Revision as of 21:37, 27 May 2024