Template:Biome Infobox: Difference between revisions
From Valheim Wiki
No edit summary |
No edit summary |
||
| (14 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 | <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]]}} | ||
|- | |- | ||
|'''Passive creatures:'''||{{#var:__passives}} | |||
|- | |||
|'''Enemies:'''||{{#var:__hostiles}} | |||
|- | |||
|'''Bosses:'''||{{#var:__bosses}} | |||
|} | |||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Biome Infobox | {{Biome Infobox | ||
|passives=Fish,Kraken | | passives = Fish, Kraken | ||
|hostiles=Sea Serpent | | hostiles = Sea Serpent | ||
| bosses = Eikthyr | |||
| npcs = Odin | |||
}} | }} | ||
</pre> | </pre> | ||
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.