Difference between revisions of "Template:Biome"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(bad space)
(More detailed infobox)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:40%; margin:auto"
<includeonly>{|class="wikitable" style="width:40%; margin:auto"
!colspan="3" style="font-size: 1.4em;"|{{{1|Unknown}}}
!colspan="2" style="font-size: 1.4em;"|{{{1|Unknown}}}
|-
|-
|colspan="3" style="background-color: #222; padding: 3px;"|[[image:{{{1|}}} Biome.png|720px|center]]
|colspan="2" style="background-color: #222;"|[[image:{{{1|}}} Biome.png|720px|center]]
|-
|-
!'''Magic Map Color'''
!Magic Map Color
|[[image:{{{1|Unknown}}} Colour.png|center|32px|link=|{{{2|}}}]] <!--The hover text will be the hex colour for screen reader accessability-->
|style="text-align:center"|[[image:{{{1|Unknown}}} Colour.png|32px|{{{2|}}}]]<br>{{{2|Unknown}}} <!--The hover text will be the hex colour for screen reader accessibility-->
|style="text-align:center"|{{{2|Unknown}}}
|-
!Sky Color
|style="text-align:center; color:{{{3|#FFF}}}"|<abbr title="{{{3|Unknown}}}">{{{3|Unknown}}}</abbr>
|-
!Fog Color
|style="text-align:center; color:{{{4|#FFF}}}"|<abbr title="{{{4|Unknown}}}">{{{4|Unknown}}}
|-
!Water Color
|style="text-align:center; color:{{{5|#FFF}}}"|<abbr title="{{{4|Unknown}}}">{{{4|Unknown}}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
This template is used to make a nice table for anything relating to [[Biomes]] and their related pages.<br>
This template is used to make an infobox for Biomes.<br>
Here is a general breakdown of how to use this template:


==Usage==
<pre>
<pre>
{{Biome
{{Biome
|Biome Type        <!-- This first value covers the Biome's Name, Image, and Colour. If it is left blank, it will read as "Unknown"                  -->
|Name            - The name of the biome. This is used to fetch various elements of the infobox.
|Biome Colour Hex  <!-- This refers the exact HEX Colour for the Biome on the Magic Map. Please reference the Magic Map page for values if necessary -->
|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.
}}
}}
</pre>
</pre>


Make this a singular line, and it will become formatted correctly for the usage!
==Example==
<pre>
<pre>
{{Biome|Spooky Forest|#AE88BB}}
{{Biome|Spooky Forest|#AE88BB|#20224A|#C0FFD8|#BC8857}}
</pre>
</pre>
----
 
{{Biome|Spooky Forest|#AE88BB}}
{{Biome|Spooky Forest|#AE88BB|#20224A|#C0FFD8|#BC8857}}
</noinclude>
</noinclude>

Revision as of 07:05, 20 August 2024

This template is used to make an infobox for Biomes.

Usage

{{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

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