Difference between revisions of "Template:Biome"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(oop)
m (Add black outlines to the squares)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:30%; margin:auto"
<includeonly>{|class="wikitable" style="width:40%; margin:auto"
[[image:{{{1|}}} Biome.png|720px|center]]
!colspan="2" style="font-size: 1.4em;"|{{{1|Unknown}}}
|'''Magic Map Color'''
|-
|[[image:{{{3|{{{1|}}} Colour}}}.png|center|32px|link=|{{{2|}}}]]
|colspan="2" style="background-color: #222;"|[[image:{{{1|}}} Biome.png|720px|center]]
|{{{2}}}
|-
|}</includeonly><noinclude>
!Magic Map Color
make this 1 line and itll be formatted right :)
|style="text-align:center; width:50%" |<div style="width: 32px; height: 32px; background-color: {{{2|#FFF}}}; border: 1px solid black; margin: auto"></div>{{{2|Unknown}}}
|-
!Sky Color
|style="text-align:center;" |<div style="width: 32px; height: 32px; background-color: {{{3|#FFF}}}; border: 1px solid black; margin: auto"></div>{{{3|Unknown}}}
|-
!Fog Color
|style="text-align:center;" |<div style="width: 32px; height: 32px; background-color: {{{4|#FFF}}}; border: 1px solid black; margin: auto"></div>{{{4|Unknown}}}
|-
!Water Color
|style="text-align:center;" |<div style="width: 32px; height: 32px; background-color: {{{5|#FFF}}}; border: 1px solid black; margin: auto"></div>{{{5|Unknown}}}
|}
</includeonly><noinclude>
This template is used to make an infobox for Biomes.<br>
 
==Usage==
<pre>
<pre>
{{Biome
{{Biome
|Biome Type (any biome)
|Name            - The name of the biome. This is used to fetch various elements of the infobox.
|Biome Colour Hex (#AE88BB, reference the Magic Map Key)
|Magic Map Color - The color of the biome displayed on a Magic Map. This is a hex value.
|Manual Biome Colour (defaults to type)
|Sky Color      - The color of the biome's sky as specified in the biome json. If the sky color is a special case, specify in body text.
|Fog Color      - The color of the biome's fog as specified in the biome json. If the sky color is a special case, specify in body text.
|Water Color    - The color of the biome's water as specified in the biome json. If the sky color is a special case, specify in body text.
}}
}}
</pre>
</pre>
{{Biome|Spooky Forest|#AE88BB}}
 
==Example==
<pre>
{{Biome|Spooky Forest|#AE88BB|#20224A|#C0FFD8|#BC8857}}
</pre>
 
{{Biome|Spooky Forest|#AE88BB|#20224A|#C0FFD8|#BC8857}}
</noinclude>
</noinclude>

Latest revision as of 07:40, 22 August 2024

This template is used to make an infobox for Biomes.

Usage[edit]

{{Biome
|Name            - The name of the biome. This is used to fetch various elements of the infobox.
|Magic Map Color - The color of the biome displayed on a Magic Map. This is a hex value.
|Sky Color       - The color of the biome's sky as specified in the biome json. If the sky color is a special case, specify in body text.
|Fog Color       - The color of the biome's fog as specified in the biome json. If the sky color is a special case, specify in body text.
|Water Color     - The color of the biome's water as specified in the biome json. If the sky color is a special case, specify in body text.
}}

Example[edit]

{{Biome|Spooky Forest|#AE88BB|#20224A|#C0FFD8|#BC8857}}
Spooky Forest
Spooky Forest Biome.png
Magic Map Color
#AE88BB
Sky Color
#20224A
Fog Color
#C0FFD8
Water Color
#BC8857