Template:Spawn Map: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Arkalor
mNo edit summary
imported>Arkalor
(tidy up, fixed the gap that was appearing in MonoBook)
 
Line 1: Line 1:
<includeonly><blockquote class="toccolours" style="float:none; padding: 0px 0px 0px 0px; display:table; width:256px; height:290px">
<includeonly><div style="display:inline-block; width:256px; height:290px; margin: 10px; border: 2px solid #e5e5e5;">
{{Overlay Images
<div style="position: absolute;">[[File:Spawn Map Base.jpg]]</div>
| Base Image=Spawn Map Base.jpg
<div style="position: absolute;">[[File:{{#ifexist:File:Spawn Map {{{1|}}}.png|Spawn Map {{{1|}}}.png{{!}}{{{1|}}} Spawns|No Spawn Map.png{{!}}link=Spawn Map}}]]</div>
| Top Image={{#ifexist:File:Spawn Map {{{1|}}}.png|Spawn Map {{{1|}}}.png{{!}}{{{1|}}} Spawns|No Spawn Map.png{{!}}link=Spawn Map}}
<span style="position: relative; left:10px; top:250px; font-size:x-small;">[[Spawn Map|Data]] courtesy of [http://mobtracker.yewsplugins.com/index.html Mob Tracker]. Zoomable color</span>
}}
<span style="position: relative; left:10px; top:236px; font-size:x-small;">maps available with downloadable [http://mobtracker.yewsplugins.com/html/spawn_maps.html Viewer].</span></div></includeonly><noinclude>[[Category:Wiki Templates]]{{Documentation}}</noinclude>
<div style="position: relative; left:10px; top:258px"><small>[[Spawn Map|Data]] courtesy of [http://mobtracker.yewsplugins.com/index.html Mob Tracker]. Zoomable color</small></div>
<div style="position: relative; left:10px; top:252px"><small>maps available with downloadable [http://mobtracker.yewsplugins.com/html/spawn_maps.html Viewer].</small></div></blockquote></includeonly><noinclude>
{{Related|Spawn Map|Creatures|Wiki Templates}}
== Syntax ==
<pre>
{{Spawn Map|<Creature>}}
</pre>
 
== Usage ==
Displays a spawn map from Mob Tracker, note a spawn map must have been uploaded, a 256x256px transparent [[png]] showing spawn locations. See [[Wiki Swiss Tool]] for details on creating this map. If spawns change dramatically a new map may need to be created with more current data.
 
If a spawn map hasn't been created yet an error image will be shown. Most creature pages use <code><nowiki>{{Spawn Map|{{PAGENAME}}}}</nowiki></code>, however for some pages, such as [[Shadow (Creature)]], you would need to use <code><nowiki>{{Spawn Map|Shadow}}</nowiki></code> for it to display properly.
 
For example:
 
<pre>
{{Spawn Map|Dual Fragment}}
 
{{Spawn Map|Da Fragment}}
</pre>
 
display as:
 
{{Spawn Map|Dual Fragment}}
 
{{Spawn Map|Da Fragment}}
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 15:43, 6 July 2015