Template:Infobox biome: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
looks like it was forced to me
m 66 revisions imported
 
(24 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
| imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|250px}}
| imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|250px}}
| rows =
| rows =
{{#if: {{{data|}}} | {{infobox row|label=Uses deprecated data parameter[[Category:Infobox uses deprecated data parameters]]|field={{data value|{{{data}}} }} }} }}
{{#if: {{{data|}}} | {{infobox row|label=Data|field={{data value|{{{data}}} }} }} }}
{{#if: {{{id|}}} | {{infobox row|label=Uses deprecated id parameter[[Category:Infobox uses deprecated data parameters]]|field={{{id}}} }} }}
{{#if: {{{structures|}}} | {{infobox row|label=[[Structures]]|field={{{structures|}}} }} }}
{{#if: {{{nameid|}}} | {{infobox row|label=Uses deprecated nameid parameter[[Category:Infobox uses deprecated data parameters]]|field={{{nameid}}} }} }}
{{#if: {{{features|}}} | {{infobox row|label=[[Features]]|field={{{features|}}} }} }}
{{infobox row|label=Type|field={{#if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=Rarity|field={{#if: {{{rarity|}}} | {{{rarity}}} | ? }} }}
{{infobox row|label=[[Biome#Temperature|Temperature]]|field={{#if: {{{temperature|}}} | {{{temperature|}}} | ? }} }}
{{#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: {{{temperature|}}} {{{downfall|}}} {{{precipitation|}}} {{{snow_accumulation|}}}
| {{Infobox header|Climate}}
{{#if: {{{temperature|}}} | {{infobox row|label=[[Biome#Temperature|Temperature]]|field={{{temperature|}}} }} }}
{{#if: {{{downfall|}}} | {{infobox row|label=[[Biome#Downfall|Downfall]]|field={{{downfall|}}} }} }}
{{#if: {{{precipitation|}}} | {{infobox row|label=[[Biome#Precipitation|Precipitation]]|field={{{precipitation|}}} }} }}
{{#if: {{{snow_accumulation|}}} | {{infobox row|label=[[Biome#Snow accumulation|Snow accumulation]]|field={{{snow_accumulation|}}} }} }}
}}<!-- End infobox section "Climate" -->
{{#if: {{{skycolor|}}} {{{fogcolor|}}} {{{grasscolor|}}} {{{foliagecolor|}}} {{{watercolor|}}} {{{underwaterfogcolor|}}}
| {{Infobox header|Colors}}
{{#if: {{{skycolor|}}} | {{infobox row|label=Sky color|field={{#ifeq: {{#len:{{{skycolor}}}}}|7|{{color|{{{skycolor}}}}}|{{{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}}}}}|7|{{color|{{{fogcolor}}}}}|{{{fogcolor}}} }} }} }}
{{#if: {{{fogcolor|}}} | {{infobox row|label=Fog color|field={{#ifeq: {{#len:{{{fogcolor}}}}}|7|{{color|{{{fogcolor}}}}}|{{{fogcolor}}} }} }} }}
Line 16: Line 21:
{{#if: {{{watercolor|}}} | {{infobox row|label=Water color|field={{#ifeq: {{#len:{{{watercolor}}}}}|7|{{color|{{{watercolor}}}}}|{{{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}}}}}|7|{{color|{{{underwaterfogcolor}}}}}|{{{underwaterfogcolor}}} }} }} }}
{{#if: {{{underwaterfogcolor|}}} | {{infobox row|label=Underwater fog color|field={{#ifeq: {{#len:{{{underwaterfogcolor}}}}}|7|{{color|{{{underwaterfogcolor}}}}}|{{{underwaterfogcolor}}} }} }} }}
{{#if: {{{underwaterfogdistance|}}} | {{infobox row|label=Underwater fog distance|field={{{underwaterfogdistance}}} }} }}
}}<!-- End infobox section "Colors" -->
{{#if: {{{watersurfacetransparency|}}} | {{infobox row|label=Water surface transparency|field={{{watersurfacetransparency}}} }} }}
}}<noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>

Latest revision as of 07:39, 4 July 2024

Infobox biome
[view] [edit] [history] [refresh]Documentation

This template provides an easy way to apply a standardized infobox to all biome pages.

{{Biome
|title=
|image=
|extratext=
|structures=
|blocks=
|temperature=
|downfall=
|precipitation=
}}
Parameter Function
title Only needed to change the title from the page name, which is the default.
image Image of the biome (should be approx. 150×150px). By default, it will use {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
extratext Only needed when there is a need to link to a section with more images.
temperature Specifies the biome's temperature as a decimal (e..g 0.5).
downfall Specifies the biome's downfall as a decimal (e..g 0.5).
precipitation Specifies the biome's precipitation with "Yes" or "No".
structures Typical structures and features that generate in the biome, if applicable.
blocks Blocks that commonly generate in the biome or any unique blocks that exclusively generate in the biome.

See also[edit source]

Minecraft
Minecraft Earth
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other
Meta

de:Vorlage:Biom es:Plantilla:Bioma fr:Modèle:Biome ja:テンプレート:Infobox biome ko:틀:Biome nl:Sjabloon:Biome pt:Predefinição:Bioma ru:Шаблон:Биом uk:Шаблон:Біом zh:Template:Biome

[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Infobox biome/doc.