Template:Biome Infobox: Difference between revisions

From Valheim Wiki
Created page with "__NOTOC__ {| id="scraper-infobox" class="wikitable" style="padding-left: 20px; min-width: 280px; max-width: 400px; float: right; margin: 0;" |- | id="scraper-item-name" class=..."
 
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__<!--
-->{{#vardefine:__passives|{{#if: {{{passives|}}} | {{:Explode String|input={{{passives}}}|linksuffix=(Creature)}} | - }}}}<!--
-->{{#vardefine:__hostiles|{{#if: {{{hostiles|}}} | {{:Explode String|input={{{hostiles}}}|linksuffix=(Enemy)}} | - }}}}<!--
-->{{#vardefine:__bosses|{{#if: {{{bosses|}}} | {{:Explode String|input={{{bosses}}}|linksuffix=(Boss)}} | - }}}}<!--
-->{{#vardefine:__npcs|{{#if: {{{npcs|}}} | {{:Explode String|input={{{npcs}}}|linksuffix=(NPC)}} | - }}}}
{| id="scraper-infobox" class="wikitable" style="padding-left: 20px; min-width: 280px; max-width: 400px; float: right; margin: 0;"
{| id="scraper-infobox" class="wikitable" style="padding-left: 20px; min-width: 280px; max-width: 400px; float: right; margin: 0;"
|-
|-
Line 23: Line 27:
<div style="float: center;">
<div style="float: center;">
<div id="scraper-item-image" class="infoboxhover" style="text-align: center;">
<div id="scraper-item-image" class="infoboxhover" style="text-align: center;">
<center>[[File:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}.png|320px{{#if:{{{height|}}}|{{!}}{{{height}}}}}]]</center>
<center>[[File:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}.png|320px]]</center>
</div>
</div>
</div>}}{{#ifexist: File:{{BASEPAGENAME}}.png||[[Category:Missing Biome image]]}}
</div>}}{{#ifexist: File:{{BASEPAGENAME}}.png||[[Category:Missing Biome image]]}}
|-
|-
{{#if:{{{location|}}}|
|'''Passive creatures:'''||{{#var:__passives}}
{{!}}'''Location(s):'''{{!}}{{!}}{{{location}}}
|-
}}
|'''Enemies:'''||{{#var:__hostiles}}
|-
|'''Bosses:'''||{{#var:__bosses}}
|}
|}
<noinclude>
<noinclude>
<pre>
<pre>
{{Item Infobox
{{Biome Infobox
  |passives=Fish,Kraken
  | passives = Fish, Kraken
  |hostiles=Sea Serpent
  | hostiles = Sea Serpent
| bosses = Eikthyr
| npcs = Odin
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[[Category:Items]]</includeonly><noinclude>This Template has Auto Category: [[:Category:Items|Category:Items]] Linked into it.</noinclude>
[[Category:Biomes]]</includeonly><noinclude>This Template has Auto Category: [[:Category:Biomes|Category:Biomes]] Linked into it.</noinclude>

Latest revision as of 22:52, 11 December 2022

Biome Infobox
Passive creatures: -
Enemies: -
Bosses: -


{{Biome Infobox
 | passives = Fish, Kraken
 | hostiles = Sea Serpent
 | bosses = Eikthyr
 | npcs = Odin
}}

This Template has Auto Category: Category:Biomes Linked into it.