Difference between revisions of "Template:Biome"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(oop)
(Updated and made it much more consumeable for readers.)
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="3" style="font-size: 1.4em;"|{{{1|Unknown}}} Biome
|'''Magic Map Color'''
|-
|[[image:{{{3|{{{1|}}} Colour}}}.png|center|32px|link=|{{{2|}}}]]
|colspan="3" style="background-color: #222; padding: 3px;"|[[image:{{{1|}}} Biome.png|720px|center]]
|{{{2}}}
|-
|}</includeonly><noinclude>
!'''Magic Map Color'''
make this 1 line and itll be formatted right :)
|[[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"|{{{2|Unknown}}}
|}
</includeonly><noinclude>
 
This template is used to make a nice table for anything relating to [[Biomes]] and their related pages.<br>
Here is a general breakdown of how to use this template:
 
<pre>
<pre>
{{Biome
{{Biome
|Biome Type (any biome)
|Biome Type         <!-- This first value covers the Biome's Name, Image, and Colour. If it is left blank, it will read as "Unknown"                  -->
|Biome Colour Hex (#AE88BB, reference the Magic Map Key)
|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 -->
|Manual Biome Colour (defaults to type)
}}
}}
</pre>
</pre>
Make this a singular line, and it will become formatted correctly for the usage!
<pre>
{{Biome|Spooky Forest|#AE88BB}}
</pre>
----
{{Biome|Spooky Forest|#AE88BB}}
{{Biome|Spooky Forest|#AE88BB}}
</noinclude>
</noinclude>

Revision as of 07:25, 20 February 2024


This template is used to make a nice table for anything relating to Biomes and their related pages.
Here is a general breakdown of how to use this template:

{{Biome
|Biome Type         <!-- This first value covers the Biome's Name, Image, and Colour. If it is left blank, it will read as "Unknown"                  -->
|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 -->
}}

Make this a singular line, and it will become formatted correctly for the usage!

{{Biome|Spooky Forest|#AE88BB}}

Spooky Forest Biome
Spooky Forest Biome.png
Magic Map Color
#AE88BB
#AE88BB