Шаблон:SpawningMap: различия между версиями

Материал из ARK: Survival Evolved Wiki
Перейти к: навигация, поиск
Строка 19: Строка 19:
 
-->{{#if:{{{7|}}}|
 
-->{{#if:{{{7|}}}|
 
{{!}}-{{!}}
 
{{!}}-{{!}}
{{{7|}}}=<div class="noviewer" style="position: relative;width:{{{size|314}}}px;height:{{{size|314}}}px"><div style="position:absolute" class="spawningMap-map colorBlindToggleable">[[File:{{{7|}}}_{{#ifeq:{{{7|}}}|Ragnarok|Ocean_}}Topographic_Map.jpg|{{{size|314}}}px]]</div><div style="position:absolute;" class="svgCreatureMap colorBlindToggleable">[[File:Spawning_{{{species}}}_{{{7|}}}.svg|link=|{{{size|314}}}px]]</div></div>}}
+
{{{7|}}}=<div class="noviewer" style="position: relative;width:{{{size|314}}}px;height:{{{size|314}}}px"><div style="position:absolute" class="spawningMap-map colorBlindToggleable">[[File:{{{7|}}}_{{#ifeq:{{{7|}}}|Ragnarok|Ocean_}}Topographic_Map.jpg|{{{size|314}}}px]]</div><div style="position:absolute;" class="svgCreatureMap colorBlindToggleable">[[File:Spawning_{{{species}}}_{{{7|}}}.svg|link=|{{{size|314}}}px]]</div></div>}}<!--
  +
-->{{#if:{{{8|}}}|
  +
{{!}}-{{!}}
  +
{{{8|}}}=<div class="noviewer" style="position: relative;width:{{{size|314}}}px;height:{{{size|314}}}px"><div style="position:absolute" class="spawningMap-map colorBlindToggleable">[[File:{{{8|}}}_{{#ifeq:{{{8|}}}|Ragnarok|Ocean_}}Topographic_Map.jpg|{{{size|314}}}px]]</div><div style="position:absolute;" class="svgCreatureMap colorBlindToggleable">[[File:Spawning_{{{species}}}_{{{8|}}}.svg|link=|{{{size|314}}}px]]</div></div>}}<!--
  +
-->{{#if:{{{9|}}}|
  +
{{!}}-{{!}}
  +
{{{9|}}}=<div class="noviewer" style="position: relative;width:{{{size|314}}}px;height:{{{size|314}}}px"><div style="position:absolute" class="spawningMap-map colorBlindToggleable">[[File:{{{9|}}}_{{#ifeq:{{{9|}}}|Ragnarok|Ocean_}}Topographic_Map.jpg|{{{size|314}}}px]]</div><div style="position:absolute;" class="svgCreatureMap colorBlindToggleable">[[File:Spawning_{{{species}}}_{{{9|}}}.svg|link=|{{{size|314}}}px]]</div></div>}}
 
}}
 
}}
 
{{#if:{{{nolegend|}}}||{{RarityLegend|{{{size|314}}}}}}}<!--
 
{{#if:{{{nolegend|}}}||{{RarityLegend|{{{size|314}}}}}}}<!--
Строка 37: Строка 43:
 
* <code>Ragnarok</code>
 
* <code>Ragnarok</code>
 
* <code>Valguero</code>
 
* <code>Valguero</code>
  +
* <code>Genesis: Part 1</code>
  +
* <code>Crystal Isles</code>
   
 
===Example===
 
===Example===

Версия 05:34, 22 сентября 2020

Usage

Displays spawning-maps for species if the according spawning-map is available as a svg-file. The svg-filename has to have the format Spawning [SpeciesName] [MapName].svg and should be in the Category:SVG Spawning Maps.

Parameters

  • size the width of the map in px. Default is 314 for the Template:infobox creature.
  • species the species-name which appears in the svg-filename.
  • nolegend if set to a non-empty value the legend is not included. It can be added manually using {{RarityLegend|size}}

Unnamed parameter-values are the map-names, as they appear in the svg-filename. Possible values are currently

  • The Island
  • Scorched Earth
  • Aberration
  • Extinction
  • The Center
  • Ragnarok
  • Valguero
  • Genesis: Part 1
  • Crystal Isles

Example

{{SpawningMap|size=300|species=Pulmonoscorpius|The Island|Aberration}}

Часто             Редко
  Неприручаемые   В пещерах