Template:Biome: Difference between revisions

Template page
No edit summary
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{Infobox|
{{Infobox|
|bodyclass = mw-collapsible floatright
|bodyclass = mw-collapsible floatright
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[File:BiomePlaceholder.png|400px]]}}
|image1 = {{#if:{{{image|}}}|{{{image}}}|[[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


|header60 = {{#if:{{{article1|}}}{{{article2|}}}{{{article3|}}}{{{github|}}}{{{spigot|}}}{{{extwiki|}}}|{{Infobox buttons|type=plugin|article1={{{article1|}}}|article2={{{article2|}}}|article3={{{article3|}}}|github={{{github|}}}|spigot={{{spigot|}}}|extwiki={{{extwiki|}}}}}}}|<span></span>
|label5        = Biome ID
|rowclass60 = infobox-button-bar
|data5          = {{#if: {{{biomeid|}}} | <small>{{{biomeid}}}</small> | ? }}
|rowclass5      = data-type infobox-data infobox-col1
<!-- Weather
|header10 = {{#if:{{{temperature|}}}{{{humidity|}}}{{{precipitation|}}}|Weather}}
|rowclass10 = infobox-header-->
 
|label11 = <span class="plainlinks">[https://minecraft.wiki/w/Biome#Temperature_and_biome_colors Temperature]</span>
|data11 = {{#if: {{{temperature|}}} | {{{temperature|}}} | ? }}
|rowclass11 = data-type infobox-data infobox-col1
 
|label12 = <span class="plainlinks">[https://minecraft.wiki/w/Biome#Temperature_and_biome_colors Humidity]</span>
|data12 = {{#if: {{{humidity|}}} | {{{humidity|}}} | ? }}
|rowclass12 = data-type infobox-data infobox-col1
 
|label13 = <span class="plainlinks">[https://minecraft.wiki/w/Weather Precipitation]</span>
|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


}}</includeonly>


{{#invoke:infobox|infobox
<!-- Structures
| imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|250px}}
|header20 = {{#if:{{{biome|}}}{{{structure|}}}|Structures}}
| image=none
|rowclass20 = infobox-header-->
| rows =  
|label21 = Structures
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
|data21         = {{{structures|}}}
{{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> | ? }} }}
|rowclass21     = data-type infobox-data infobox-col1
{{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|}}} }} }}
|label26 = Entities
|data26         = {{{mobs|}}}
|rowclass26     = data-type infobox-data infobox-col1
<!-- color
|header30 = {{#if:{{{skycolor|}}}{{{fogcolor|}}}{{{grasscolor|}}}{{{foliagecolor|}}}{{{watercolor|}}}{{{underwaterfogcolor|}}}|Color}}
|rowclass30 = infobox-header-->


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


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


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


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


{{#if: {{{foliagecolor|}}} | {{infobox row|label=<span class="plainlinks">[https://minecraft.wiki/w/Color#Biome_colors Foliage color]</span>|field={{#ifeq: {{#len:{{{foliagecolor}}}}}|7|{{color|{{{foliagecolor}}}}}|{{{foliagecolor}}} }} }} }}
|label37 = Water color
|data37         = {{#ifeq: {{#len:{{{watercolor}}}}}|7|{{color|{{{watercolor}}}}}|{{{watercolor}}} }}
|rowclass37    = data-type infobox-data infobox-col1


{{#if: {{{watercolor|}}} | {{infobox row|label=Water color|field={{#ifeq: {{#len:{{{watercolor}}}}}|7|{{color|{{{watercolor}}}}}|{{{watercolor}}} }} }} }}
|label38 = Usable items
|data38     = {{#ifeq: {{#len:{{{underwaterfogcolor}}}}}|7|{{color|{{{underwaterfogcolor}}}}}|{{{underwaterfogcolor}}} }}  
|rowclass38    = data-type infobox-data infobox-col1


{{#if: {{{underwaterfogcolor|}}} | {{infobox row|label=Underwater fog color|field={{#ifeq: {{#len:{{{underwaterfogcolor}}}}}|7|{{color|{{{underwaterfogcolor}}}}}|{{{underwaterfogcolor}}} }} }} }}
}}</includeonly><!--


{{#if: {{{underwaterfogdistance|}}} | {{infobox row|label=Underwater fog distance|field={{{underwaterfogdistance}}} }} }}
--------------
Categorization
--------------


{{#if: {{{watersurfacetransparency|}}} | {{infobox row|label=Water surface transparency|field={{{watersurfacetransparency}}} }} }}
Locations
}}
----
--><includeonly>[[Category:Biome]]</includeonly><!--
Server
--------------
--><includeonly>{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}_biomes </includeonly><!--
---
SEO
-----><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
|title = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} Biome - {{SITENAME}}
|site_name = {{SITENAME}}
|type = article
|locale = {{PAGELANGUAGE}}
|image = {{#if:{{{image|}}}|{{{image}}}|{{PAGENAME}}.png}}
}}</includeonly>

Latest revision as of 13:14, 13 June 2024