Pixark Wiki
(→‎Ruins: Finalized version of ruin template)
m (Replaced content with "Clearing up talk page so that it can actually be used by people! If you have any questions or just want to chat you can certainly leave me anything you want! =Sub-pages=...")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
Clearing up talk page so that it can actually be used by people! If you have any questions or just want to chat you can certainly leave me anything you want!
=Template test=
 
   
  +
=Sub-pages=
This is a test of the whole template, and will have significant changes and alterations. Please do not touch unless you are familiar with the templates.
 
   
  +
[[User talk:Jesthel/Template test]]
== Main==
 
   
  +
=Comments=
Enclosure and category
 
   
  +
: If you are visiting this page, hello!<br>[[User:Jesthel|Jesthel]] ([[User talk:Jesthel|talk]]) 19:49, 28 April 2018 (UTC)
<nowiki><includeonly>
 
</includeonly>
 
<noinclude>{{doc}}
 
[[Category:Templates]]</noinclude></nowiki>
 
   
  +
=Testing Ground=
This next part is only for changing the top box and it's colors. It isn't displayed at all as part of the template.
 
   
  +
Nothing here right now! If you would like me to fix or otherwise test something out just let me know in the comments above!
<nowiki>
 
<div style="display:none;">
 
{{#switch:{{uc:{{{biome}}}}}
 
<!-- Credit for this template goes to the main ARK wiki on Gamepedia (https://ark.gamepedia.com/Template:Biome) -->
 
<!-- COLOR SCHEMES -->
 
<!-- TopInfoboxColor is the top-half of the main infobox gradient (HEX format) -->
 
<!-- VariableColor is bottom-half of the main infobox gradient and lightened/darkened to produce the horizontal infobox (HSL format) -->
 
<!-- VariableColor's third parameter (the lightness--or L of HSL) must be 70% to render infoboxes correctly. In order to reduce the parsing overhead from variables, the template assumes all HSL colors start with a lightness of 70%. -->
 
| NOVICE GRASSLAND =
 
{{#vardefine:TopInfoboxColor|7dc903}}
 
{{#vardefine:VariableColor|hsl(83, 97%, 70%)}}
 
| GRASSLAND =
 
{{#vardefine:TopInfoboxColor|52b904}}
 
{{#vardefine:VariableColor|hsl(94, 96%, 70%)}}
 
| MOUNTAIN FOREST =
 
{{#vardefine:TopInfoboxColor|00650b}}
 
{{#vardefine:VariableColor|hsl(126, 100%, 70%)}}
 
| SWAMP =
 
{{#vardefine:TopInfoboxColor|438b13}}
 
{{#vardefine:VariableColor|hsl(96, 76%, 70%)}}
 
| DESERT =
 
{{#vardefine:TopInfoboxColor|dbce51}}
 
{{#vardefine:VariableColor|hsl(54, 66%, 70%)}}
 
| MAGIC FOREST =
 
{{#vardefine:TopInfoboxColor|7f7ac7}}
 
{{#vardefine:VariableColor|hsl(244, 41%, 70%)}}
 
| GOLDEN REALM =
 
{{#vardefine:TopInfoboxColor|e7ae04}}
 
{{#vardefine:VariableColor|hsl(45, 97%, 70%)}}
 
| FROZEN LAND =
 
{{#vardefine:TopInfoboxColor|93cdb4}}
 
{{#vardefine:VariableColor|hsl(154, 58%, 70%)}}
 
| DARK FOREST =
 
{{#vardefine:TopInfoboxColor|6a8d90}}
 
{{#vardefine:VariableColor|hsl(184, 21%, 70%)}}
 
| DOOM LANDS =
 
{{#vardefine:TopInfoboxColor|89692a}}
 
{{#vardefine:VariableColor|hsl(40, 96%, 70%)}}
 
| DEEP OCEAN =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| RIVER =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| #default =
 
{{#vardefine:TopInfoboxColor|FFFFFF}}
 
{{#vardefine:VariableColor|hsl(0, 0%, 70%)}}
 
}}
 
</div>
 
</nowiki>
 
 
This next part is for the main vertical inforbox, and contains pictures, and pertinent information.
 
 
<nowiki><div id="{{{biome}}}" style="position:relative; display:inline-block; text-align:left; width:100%;">
 
<div style="position:relative; display:inline-block; float:right; z-index:1; width:200px; margin:8px; margin-top:4px; margin-bottom:24px; padding-left:8px; padding-right:8px; vertical-align:top; text-align:center; background:white; box-shadow:0 0 8px #333; border:1px solid black; border-radius:15px 15px 15px 15px; background: -webkit-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -o-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -moz-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}});">
 
<span style="font-size:1.5em; color:white; text-shadow: 1px 1px 4px black, 0 0 1em {{#var:VariableColor}}, 0 0 0.2em black;">'''{{{biome}}}'''</span><br>
 
[[File:{{{image}}}|200px|left]]
 
<div class="floatleft"></div>
 
<div style="position:relative; display:inline-block; left:-2px; width:200px;">
 
<table style="text-align:center;">
 
<tr>
 
<td colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px; min-width:198px; max-width:198px;"> '''Child Biomes:'''
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Center:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{#if:{{{center|}}}|{{{center}}}|None}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Cave:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{ #if: {{{cave|}}} | {{{cave}}}|None}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Mine:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{#if:{{{mine|}}}|{{{mine}}}|None}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Ruin:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{ #if: {{{ruin|}}} | {{{Ruin}}}|None}}
 
</td></tr>
 
<tr>
 
<td colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px; min-width:198px; max-width:198px;"> '''Climate:'''
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Temperature:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{#if:{{{temp|}}}|{{{temp}}}|???}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Weather:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{ #if: {{{weather|}}} | {{{weather}}}|???}}
 
</td></tr>
 
</table></div></div>
 
</nowiki>
 
 
This part here is for the horizontal infobox, and can be expanded as needed. No big changes here, but a possible addition category can be added.
 
 
<nowiki><div style="margin-top:40px; height:8px; border-bottom:1px solid black; background: -webkit-linear-gradient(transparent, #989996); background: -o-linear-gradient(transparent, #989996); background: -moz-linear-gradient(transparent, #989996); background: linear-gradient(transparent, #989996);"></div>
 
<div style="background:{{#var:VariableColor}}; padding:4px;">'''Dangers:''' {{{dangers}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|78%)}}; padding:4px;">'''Flora:''' {{{flora}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|86%)}}; padding:4px;">'''Fauna:''' {{{fauna}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; padding:4px;">'''Resources:''' {{{resources}}} </div>
 
<div style="position:relative; height:8px; border-top:1px solid black; background: -webkit-linear-gradient(#989996, transparent); background: -o-linear-gradient(#989996, transparent); background: -moz-linear-gradient(#989996, transparent); background: linear-gradient(#989996, transparent);"></div>
 
<div style="position:relative; top:-24px;>
 
</nowiki>
 
 
==Center==
 
 
Enclosure and category
 
 
<nowiki><includeonly>
 
</includeonly>
 
<noinclude>{{doc}}
 
[[Category:Templates]]</noinclude></nowiki>
 
 
This next part is only for changing the top box and it's colors. It isn't displayed at all.
 
 
<nowiki>
 
<div style="display:none;">
 
{{#switch:{{uc:{{{centerbiome}}}}}
 
<!-- Credit for this template goes to the main ARK wiki on Gamepedia (https://ark.gamepedia.com/Template:Biome) -->
 
<!-- COLOR SCHEMES -->
 
<!-- TopInfoboxColor is the top-half of the main infobox gradient (HEX format) -->
 
<!-- VariableColor is bottom-half of the main infobox gradient and lightened/darkened to produce the horizontal infobox (HSL format) -->
 
<!-- VariableColor's third parameter (the lightness--or L of HSL) must be 70% to render infoboxes correctly. In order to reduce the parsing overhead from variables, the template assumes all HSL colors start with a lightness of 70%. -->
 
| NOVICE GRASSLAND =
 
{{#vardefine:TopInfoboxColor|7dc903}}
 
{{#vardefine:VariableColor|hsl(83, 97%, 70%)}}
 
| GRASSLAND =
 
{{#vardefine:TopInfoboxColor|52b904}}
 
{{#vardefine:VariableColor|hsl(94, 96%, 70%)}}
 
| MIST FOREST =
 
{{#vardefine:TopInfoboxColor|00650b}}
 
{{#vardefine:VariableColor|hsl(126, 100%, 70%)}}
 
| DARK SWAMP =
 
{{#vardefine:TopInfoboxColor|438b13}}
 
{{#vardefine:VariableColor|hsl(96, 76%, 70%)}}
 
| BADLANDS =
 
{{#vardefine:TopInfoboxColor|dbce51}}
 
{{#vardefine:VariableColor|hsl(54, 66%, 70%)}}
 
| MAGEWEAVE FOREST =
 
{{#vardefine:TopInfoboxColor|7f7ac7}}
 
{{#vardefine:VariableColor|hsl(244, 41%, 70%)}}
 
| MYSTERIOUS VALLEY =
 
{{#vardefine:TopInfoboxColor|e7ae04}}
 
{{#vardefine:VariableColor|hsl(45, 97%, 70%)}}
 
| SNOWY PLATEAU =
 
{{#vardefine:TopInfoboxColor|93cdb4}}
 
{{#vardefine:VariableColor|hsl(154, 58%, 70%)}}
 
| ROTTEN FOREST =
 
{{#vardefine:TopInfoboxColor|6a8d90}}
 
{{#vardefine:VariableColor|hsl(184, 21%, 70%)}}
 
| LAVA FIELDS =
 
{{#vardefine:TopInfoboxColor|89692a}}
 
{{#vardefine:VariableColor|hsl(40, 96%, 70%)}}
 
| RIVER =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| ISLAND =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| #default =
 
{{#vardefine:TopInfoboxColor|FFFFFF}}
 
{{#vardefine:VariableColor|hsl(0, 0%, 70%)}}
 
}}
 
</div>
 
</nowiki>
 
 
This next part is for the main vertical inforbox, and contains pictures, and pertinent information.
 
 
<nowiki><div id="{{{centerbiome}}}" style="position:relative; display:inline-block; text-align:left; width:100%;">
 
<div style="position:relative; display:inline-block; float:right; z-index:1; width:200px; margin:8px; margin-top:4px; margin-bottom:24px; padding-left:8px; padding-right:8px; vertical-align:top; text-align:center; background:white; box-shadow:0 0 8px #333; border:1px solid black; border-radius:15px 15px 15px 15px; background: -webkit-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -o-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -moz-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}});">
 
<span style="font-size:1.5em; color:white; text-shadow: 1px 1px 4px black, 0 0 1em {{#var:VariableColor}}, 0 0 0.2em black;">'''{{{centerbiome}}}'''</span><br>
 
[[File:{{{image}}}|200px|left]]
 
<div class="floatleft"></div>
 
<div style="position:relative; display:inline-block; left:-2px; width:200px;">
 
<table style="text-align:center;">
 
<tr>
 
<td colspan="2" colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px;">'''Parent Biome:'''</td>
 
<tr>
 
<td colspan="2"> <span>{{ #if: {{{parent|}}} | {{{parent}}} |??? }}</span>
 
</td></tr>
 
<tr>
 
<td colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px; min-width:198px; max-width:198px;"> '''Climate:'''
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Temperature:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{#if:{{{temp|}}}|{{{temp}}}|???}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Weather:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{ #if: {{{weather|}}} | {{{weather}}}|???}}
 
</td></tr>
 
</table></div></div>
 
</nowiki>
 
 
This part here is for the horizontal infobox, and can be expanded as needed. No big changes here, but a possible addition category can be added.
 
 
<nowiki><div style="margin-top:40px; height:8px; border-bottom:1px solid black; background: -webkit-linear-gradient(transparent, #989996); background: -o-linear-gradient(transparent, #989996); background: -moz-linear-gradient(transparent, #989996); background: linear-gradient(transparent, #989996);"></div>
 
<div style="background:{{#var:VariableColor}}; padding:4px;">'''Dangers:''' {{{dangers}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|78%)}}; padding:4px;">'''Flora:''' {{{flora}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|86%)}}; padding:4px;">'''Fauna:''' {{{fauna}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; padding:4px;">'''Resources:''' {{{resources}}} </div>
 
<div style="position:relative; height:8px; border-top:1px solid black; background: -webkit-linear-gradient(#989996, transparent); background: -o-linear-gradient(#989996, transparent); background: -moz-linear-gradient(#989996, transparent); background: linear-gradient(#989996, transparent);"></div>
 
<div style="position:relative; top:-24px;>
 
</nowiki>
 
 
==Cave==
 
 
For all the caves that are found underground and in gashes.
 
 
Enclosure and category
 
 
<nowiki><includeonly>
 
</includeonly>
 
<noinclude>{{doc}}
 
[[Category:Templates]]</noinclude></nowiki>
 
 
This next part is only for changing the top box and it's colors. It isn't displayed at all. The goal with this section is to expand it to include all biomes, sub biomes, and more. It also includes the prevent outside text from showing.
 
 
<nowiki>
 
<div style="display:none;">
 
{{#switch:{{uc:{{{cavebiome}}}}}
 
<!-- Credit for this template goes to the main ARK wiki on Gamepedia (https://ark.gamepedia.com/Template:Biome) -->
 
<!-- COLOR SCHEMES -->
 
<!-- TopInfoboxColor is the top-half of the main infobox gradient (HEX format) -->
 
<!-- VariableColor is bottom-half of the main infobox gradient and lightened/darkened to produce the horizontal infobox (HSL format) -->
 
<!-- VariableColor's third parameter (the lightness--or L of HSL) must be 70% to render infoboxes correctly. In order to reduce the parsing overhead from variables, the template assumes all HSL colors start with a lightness of 70%. -->
 
| NOVICE GRASSLAND CAVE =
 
{{#vardefine:TopInfoboxColor|7dc903}}
 
{{#vardefine:VariableColor|hsl(83, 97%, 70%)}}
 
| GRASSLAND CAVE =
 
{{#vardefine:TopInfoboxColor|52b904}}
 
{{#vardefine:VariableColor|hsl(94, 96%, 70%)}}
 
| MOUNTAIN FOREST CAVE =
 
{{#vardefine:TopInfoboxColor|00650b}}
 
{{#vardefine:VariableColor|hsl(126, 100%, 70%)}}
 
| SWAMP CAVE =
 
{{#vardefine:TopInfoboxColor|438b13}}
 
{{#vardefine:VariableColor|hsl(96, 76%, 70%)}}
 
| DESERT CAVE =
 
{{#vardefine:TopInfoboxColor|dbce51}}
 
{{#vardefine:VariableColor|hsl(54, 66%, 70%)}}
 
| MAGIC FOREST CAVE =
 
{{#vardefine:TopInfoboxColor|7f7ac7}}
 
{{#vardefine:VariableColor|hsl(244, 41%, 70%)}}
 
| GOLDEN REALM CAVE =
 
{{#vardefine:TopInfoboxColor|e7ae04}}
 
{{#vardefine:VariableColor|hsl(45, 97%, 70%)}}
 
| FROZEN LAND CAVE =
 
{{#vardefine:TopInfoboxColor|93cdb4}}
 
{{#vardefine:VariableColor|hsl(154, 58%, 70%)}}
 
| DARK FOREST CAVE =
 
{{#vardefine:TopInfoboxColor|6a8d90}}
 
{{#vardefine:VariableColor|hsl(184, 21%, 70%)}}
 
| DOOM LANDS CAVE =
 
{{#vardefine:TopInfoboxColor|89692a}}
 
{{#vardefine:VariableColor|hsl(40, 96%, 70%)}}
 
| DEEP OCEAN CAVE =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| RIVER CAVE =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| ISLAND CAVE =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| #default =
 
{{#vardefine:TopInfoboxColor|FFFFFF}}
 
{{#vardefine:VariableColor|hsl(0, 0%, 70%)}}
 
}}
 
</div>
 
</nowiki>
 
This next part is for the main vertical inforbox, and contains pictures, and pertinent information. The goal with this box is to make it expand and contract as needed, and to show biome specific information like sub biomes, child biomes, and ruins.
 
 
<nowiki><div id="{{{cavebiome}}}" style="position:relative; display:inline-block; text-align:left; width:100%;">
 
<div style="position:relative; display:inline-block; float:right; z-index:1; width:200px; margin:8px; margin-top:4px; margin-bottom:24px; padding-left:8px; padding-right:8px; vertical-align:top; text-align:center; background:white; box-shadow:0 0 8px #333; border:1px solid black; border-radius:15px 15px 15px 15px; background: -webkit-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -o-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -moz-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}});">
 
<span style="font-size:1.5em; color:white; text-shadow: 1px 1px 4px black, 0 0 1em {{#var:VariableColor}}, 0 0 0.2em black;">'''{{{cavebiome}}}'''</span><br>
 
[[File:{{{image}}}|200px|left]]
 
<div class="floatleft"></div>
 
<div style="position:relative; display:inline-block; left:-2px; width:200px;">
 
<table style="text-align:center;">
 
<tr>
 
<td colspan="2" colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px;">'''Parent Biome:'''</td>
 
<tr>
 
<td colspan="2"> <span>{{ #if: {{{parent|}}} | {{{parent}}} |??? }}</span>
 
</td></tr>
 
<tr>
 
<td colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px; min-width:198px; max-width:198px;"> '''Climate:'''
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Temperature:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{#if:{{{temp|}}}|{{{temp}}}|???}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Weather:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{ #if: {{{weather|}}} | {{{weather}}}|???}}
 
</td></tr>
 
</table></div></div>
 
</nowiki>
 
 
This part here is for the horizontal infobox, and can be expanded as needed. No big changes here, but a possible addition category can be added.
 
 
<nowiki><div style="margin-top:40px; height:8px; border-bottom:1px solid black; background: -webkit-linear-gradient(transparent, #989996); background: -o-linear-gradient(transparent, #989996); background: -moz-linear-gradient(transparent, #989996); background: linear-gradient(transparent, #989996);"></div>
 
<div style="background:{{#var:VariableColor}}; padding:4px;">'''Dangers:''' {{{dangers}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|78%)}}; padding:4px;">'''Flora:''' {{{flora}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|86%)}}; padding:4px;">'''Fauna:''' {{{fauna}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; padding:4px;">'''Resources:''' {{{resources}}} </div>
 
<div style="position:relative; height:8px; border-top:1px solid black; background: -webkit-linear-gradient(#989996, transparent); background: -o-linear-gradient(#989996, transparent); background: -moz-linear-gradient(#989996, transparent); background: linear-gradient(#989996, transparent);"></div>
 
<div style="position:relative; top:-24px;>
 
</nowiki>
 
 
==Ruins==
 
 
Enclosure and category
 
 
<nowiki><includeonly>
 
</includeonly>
 
<noinclude>{{doc}}
 
[[Category:Templates]]</noinclude></nowiki>
 
 
This next part is only for changing the top box and it's colors. It isn't displayed at all. The goal with this section is to expand it to include all biomes, sub biomes, and more. It also includes the prevent other text from showing.
 
 
<nowiki>
 
<div style="display:none;">
 
{{#switch:{{uc:{{{ruinbiome}}}}}
 
<!-- Credit for this template goes to the main ARK wiki on Gamepedia (https://ark.gamepedia.com/Template:Biome) -->
 
<!-- COLOR SCHEMES -->
 
<!-- TopInfoboxColor is the top-half of the main infobox gradient (HEX format) -->
 
<!-- VariableColor is bottom-half of the main infobox gradient and lightened/darkened to produce the horizontal infobox (HSL format) -->
 
<!-- VariableColor's third parameter (the lightness--or L of HSL) must be 70% to render infoboxes correctly. In order to reduce the parsing overhead from variables, the template assumes all HSL colors start with a lightness of 70%. -->
 
| BROKEN RUIN =
 
{{#vardefine:TopInfoboxColor|946b29}}
 
{{#vardefine:VariableColor|hsl(37, 45%, 70%)}}
 
| DUNGEON RUIN =
 
{{#vardefine:TopInfoboxColor|946b29}}
 
{{#vardefine:VariableColor|hsl(37, 45%, 70%)}}
 
| ICE RUIN =
 
{{#vardefine:TopInfoboxColor|946b29}}
 
{{#vardefine:VariableColor|hsl(37, 45%, 70%)}}
 
| MOSS RUIN =
 
{{#vardefine:TopInfoboxColor|946b29}}
 
{{#vardefine:VariableColor|hsl(37, 45%, 70%)}}
 
| OCEAN RUIN =
 
{{#vardefine:TopInfoboxColor|946b29}}
 
{{#vardefine:VariableColor|hsl(37, 45%, 70%)}}
 
| PYRAMID RUIN =
 
{{#vardefine:TopInfoboxColor|946b29}}
 
{{#vardefine:VariableColor|hsl(37, 45%, 70%)}}
 
| RELIC RUIN =
 
{{#vardefine:TopInfoboxColor|946b29}}
 
{{#vardefine:VariableColor|hsl(37, 45%, 70%)}}
 
| #default =
 
{{#vardefine:TopInfoboxColor|FFFFFF}}
 
{{#vardefine:VariableColor|hsl(0, 0%, 70%)}}
 
}}
 
</div>
 
</nowiki>
 
This next part is for the main vertical inforbox, and contains pictures, and pertinent information. The goal with this box is to make it expand and contract as needed, and to show biome specific information like sub biomes, child biomes, and ruins.
 
 
<nowiki><div id="{{{ruinbiome}}}" style="position:relative; display:inline-block; text-align:left; width:100%;">
 
<div style="position:relative; display:inline-block; float:right; z-index:1; width:200px; margin:8px; margin-top:4px; margin-bottom:24px; padding-left:8px; padding-right:8px; vertical-align:top; text-align:center; background:white; box-shadow:0 0 8px #333; border:1px solid black; border-radius:15px 15px 15px 15px; background: -webkit-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -o-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -moz-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}});">
 
<span style="font-size:1.5em; color:white; text-shadow: 1px 1px 4px black, 0 0 1em {{#var:VariableColor}}, 0 0 0.2em black;">'''{{{ruinbiome}}}'''</span><br>
 
[[File:{{{image}}}|200px|left]]
 
<div class="floatleft"></div>
 
<div style="position:relative; display:inline-block; left:-2px; width:200px;">
 
<table style="text-align:center;">
 
<tr>
 
<td colspan="2" colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px;">'''Parent Biomes:'''</td>
 
<tr>
 
<td colspan="2"> <span>{{ #if: {{{parent|}}} | {{{parent}}} |??? }}</span>
 
</td></tr>
 
<tr>
 
<td colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px; min-width:198px; max-width:198px;"> '''Climate:'''
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Temperature:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{#if:{{{temp|}}}|{{{temp}}}|???}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Weather:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{ #if: {{{weather|}}} | {{{weather}}}|???}}
 
</td></tr>
 
</table></div></div>
 
</nowiki>
 
 
This part here is for the horizontal infobox, and can be expanded as needed. No big changes here, but a possible additional category can be added.
 
 
<nowiki><div style="margin-top:40px; height:8px; border-bottom:1px solid black; background: -webkit-linear-gradient(transparent, #989996); background: -o-linear-gradient(transparent, #989996); background: -moz-linear-gradient(transparent, #989996); background: linear-gradient(transparent, #989996);"></div>
 
<div style="background:{{#var:VariableColor}}; padding:4px;">'''Dangers:''' {{{dangers}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|86%)}}; padding:4px;">'''Enemies:''' {{{enemy}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; padding:4px;">'''Treasure:''' {{{treasure}}} </div>
 
<div style="position:relative; height:8px; border-top:1px solid black; background: -webkit-linear-gradient(#989996, transparent); background: -o-linear-gradient(#989996, transparent); background: -moz-linear-gradient(#989996, transparent); background: linear-gradient(#989996, transparent);"></div>
 
<div style="position:relative; top:-24px;>
 
</nowiki>
 
 
==Mine==
 
 
Enclosure and category
 
 
<nowiki><includeonly>
 
</includeonly>
 
<noinclude>{{doc}}
 
[[Category:Templates]]</noinclude></nowiki>
 
 
This next part is only for changing the top box and it's colors. It isn't displayed at all. The goal with this section is to expand it to include all biomes, sub biomes, and more. It also includes the prevent other text from showing.
 
 
<nowiki>
 
<div style="display:none;">
 
{{#switch:{{uc:{{{biome}}}}}
 
<!-- Credit for this template goes to the main ARK wiki on Gamepedia (https://ark.gamepedia.com/Template:Biome) -->
 
<!-- COLOR SCHEMES -->
 
<!-- TopInfoboxColor is the top-half of the main infobox gradient (HEX format) -->
 
<!-- VariableColor is bottom-half of the main infobox gradient and lightened/darkened to produce the horizontal infobox (HSL format) -->
 
<!-- VariableColor's third parameter (the lightness--or L of HSL) must be 70% to render infoboxes correctly. In order to reduce the parsing overhead from variables, the template assumes all HSL colors start with a lightness of 70%. -->
 
| NOVICE GRASSLAND =
 
{{#vardefine:TopInfoboxColor|7dc903}}
 
{{#vardefine:VariableColor|hsl(83, 97%, 70%)}}
 
| GRASSLAND =
 
{{#vardefine:TopInfoboxColor|52b904}}
 
{{#vardefine:VariableColor|hsl(94, 96%, 70%)}}
 
| MOUNTAIN FOREST =
 
{{#vardefine:TopInfoboxColor|00650b}}
 
{{#vardefine:VariableColor|hsl(126, 100%, 70%)}}
 
| SWAMP =
 
{{#vardefine:TopInfoboxColor|438b13}}
 
{{#vardefine:VariableColor|hsl(96, 76%, 70%)}}
 
| DESERT =
 
{{#vardefine:TopInfoboxColor|dbce51}}
 
{{#vardefine:VariableColor|hsl(54, 66%, 70%)}}
 
| MAGIC FOREST =
 
{{#vardefine:TopInfoboxColor|7f7ac7}}
 
{{#vardefine:VariableColor|hsl(244, 41%, 70%)}}
 
| GOLDEN REALM =
 
{{#vardefine:TopInfoboxColor|e7ae04}}
 
{{#vardefine:VariableColor|hsl(45, 97%, 70%)}}
 
| FROZEN LAND =
 
{{#vardefine:TopInfoboxColor|93cdb4}}
 
{{#vardefine:VariableColor|hsl(154, 58%, 70%)}}
 
| DARK FOREST =
 
{{#vardefine:TopInfoboxColor|6a8d90}}
 
{{#vardefine:VariableColor|hsl(184, 21%, 70%)}}
 
| DOOM LANDS =
 
{{#vardefine:TopInfoboxColor|89692a}}
 
{{#vardefine:VariableColor|hsl(40, 96%, 70%)}}
 
| DEEP OCEAN =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| RIVER =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| ISLAND =
 
{{#vardefine:TopInfoboxColor|00d1ce}}
 
{{#vardefine:VariableColor|hsl(179, 100%, 70%)}}
 
| #default =
 
{{#vardefine:TopInfoboxColor|FFFFFF}}
 
{{#vardefine:VariableColor|hsl(0, 0%, 70%)}}
 
}}
 
</div>
 
</nowiki>
 
This next part is for the main vertical inforbox, and contains pictures, and pertinent information. The goal with this box is to make it expand and contract as needed, and to show biome specific information like sub biomes, child biomes, and ruins.
 
 
<nowiki><div id="{{{biome}}}" style="position:relative; display:inline-block; text-align:left; width:100%;">
 
<div style="position:relative; display:inline-block; float:right; z-index:1; width:200px; margin:8px; margin-top:4px; margin-bottom:24px; padding-left:8px; padding-right:8px; vertical-align:top; text-align:center; background:white; box-shadow:0 0 8px #333; border:1px solid black; border-radius:15px 15px 15px 15px; background: -webkit-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -o-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: -moz-linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}}); background: linear-gradient(#{{#var:TopInfoboxColor}}, {{#var:VariableColor}});">
 
<span style="font-size:1.5em; color:white; text-shadow: 1px 1px 4px black, 0 0 1em {{#var:VariableColor}}, 0 0 0.2em black;">'''{{{biome}}}'''</span><br>
 
[[File:{{{image}}}|200px|left]]
 
<div class="floatleft"></div>
 
<div style="position:relative; display:inline-block; left:-2px; width:200px;">
 
<table style="text-align:center;">
 
<tr>
 
<td colspan="2" colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px;">'''Center:'''</td>
 
<tr>
 
<td colspan="2"> <span>{{ #if: {{{center|}}} | {{{center}}} |??? }}</span>
 
</td></tr>
 
<tr>
 
<td colspan="2" colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px;">'''Mine:'''</td>
 
<tr>
 
<td colspan="2"> <span>{{ #if: {{{mine|}}} | {{{mine}}} |None }}</span>
 
</td></tr>
 
<tr>
 
<td colspan="2" colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px;">'''Ruin:'''</td>
 
<tr>
 
<td colspan="2"> <span>{{ #if: {{{ruin|}}} | {{{ruin}}} |None }}</span>
 
</td></tr>
 
<tr>
 
<td colspan="2" colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px;">'''Cave:'''</td>
 
<tr>
 
<td colspan="2"> <span>{{ #if: {{{cave|}}} | {{{cave}}} |??? }}</span>
 
</td></tr>
 
<tr>
 
<td colspan="2" style="background:{{#var:VariableColor}}; border:1px solid white; border-radius:15px 15px 15px 15px; min-width:198px; max-width:198px;"> '''Climate:'''
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Temperature:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{#if:{{{temp|}}}|{{{temp}}}|???}}
 
</td></tr>
 
<tr>
 
<td style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; border:1px solid white; border-radius:15px 0 0 15px; text-align:right;"> '''Weather:''' </td>
 
<td style="text-align:left; padding-left:5px;"> {{ #if: {{{weather|}}} | {{{weather}}}|???}}
 
</td></tr>
 
</table></div></div>
 
</nowiki>
 
 
This part here is for the horizontal infobox, and can be expanded as needed. No big changes here, but a possible addition category can be added.
 
 
<nowiki><div style="margin-top:40px; height:8px; border-bottom:1px solid black; background: -webkit-linear-gradient(transparent, #989996); background: -o-linear-gradient(transparent, #989996); background: -moz-linear-gradient(transparent, #989996); background: linear-gradient(transparent, #989996);"></div>
 
<div style="background:{{#var:VariableColor}}; padding:4px;">'''Dangers:''' {{{dangers}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|78%)}}; padding:4px;">'''Flora:''' {{{flora}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|86%)}}; padding:4px;">'''Fauna:''' {{{fauna}}} </div>
 
<div style="background:{{#replace:{{#var:VariableColor}}|70%)|94%)}}; padding:4px;">'''Resources:''' {{{resources}}} </div>
 
<div style="position:relative; height:8px; border-top:1px solid black; background: -webkit-linear-gradient(#989996, transparent); background: -o-linear-gradient(#989996, transparent); background: -moz-linear-gradient(#989996, transparent); background: linear-gradient(#989996, transparent);"></div>
 
<div style="position:relative; top:-24px;>
 
</nowiki>
 

Latest revision as of 21:30, 16 May 2018

Clearing up talk page so that it can actually be used by people! If you have any questions or just want to chat you can certainly leave me anything you want!

Sub-pages[]

User talk:Jesthel/Template test

Comments[]

If you are visiting this page, hello!
Jesthel (talk) 19:49, 28 April 2018 (UTC)

Testing Ground[]

Nothing here right now! If you would like me to fix or otherwise test something out just let me know in the comments above!