<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.figueroa.cc/index.php?action=history&amp;feed=atom&amp;title=Template%3AMinimap%2Fdoc</id>
	<title>Template:Minimap/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.figueroa.cc/index.php?action=history&amp;feed=atom&amp;title=Template%3AMinimap%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.figueroa.cc/index.php?title=Template:Minimap/doc&amp;action=history"/>
	<updated>2026-12-04T15:46:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.13</generator>
	<entry>
		<id>https://wiki.figueroa.cc/index.php?title=Template:Minimap/doc&amp;diff=133&amp;oldid=prev</id>
		<title>imported&gt;Joschilein8343389 at 00:34, 15 June 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.figueroa.cc/index.php?title=Template:Minimap/doc&amp;diff=133&amp;oldid=prev"/>
		<updated>2019-06-15T00:34:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{doc/start}}&lt;br /&gt;
==Usage==&lt;br /&gt;
Usage with Pixel-Coordinates&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Minimap&lt;br /&gt;
| xloc         = Number&lt;br /&gt;
| yloc         = Number&lt;br /&gt;
| icon         = String&lt;br /&gt;
| location     = String&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Usage with In-Game-Coordinates&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Minimap&lt;br /&gt;
| xcoord       = Number&lt;br /&gt;
| yxoord       = Number&lt;br /&gt;
| icon         = String&lt;br /&gt;
| location     = String&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
&lt;br /&gt;
; xloc: The horizontal offset of the map image (in Pixels)&lt;br /&gt;
; yloc: The vertical offset of the map image (in Pixels)&lt;br /&gt;
; ycoord: The horizontal offset (in In-Game-Coordinates)&lt;br /&gt;
; ycoord: The vertical offset (in In-Game-Coordinates)&lt;br /&gt;
; icon: The icon to display in the center of the minimap. E.g. &amp;quot;mini T Map Icon vista.png&amp;quot;&lt;br /&gt;
; location: The text name of the location (optional) - this should be displayed as an ALT tag when the user hovers over the icon.&lt;br /&gt;
&lt;br /&gt;
==CSS styling==&lt;br /&gt;
There is specific CSS styling set within [[MediaWiki:Common.css]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* This is styling for the minimap template */&lt;br /&gt;
.minimap {&lt;br /&gt;
	width: 300px;&lt;br /&gt;
	height: 300px;&lt;br /&gt;
	display:table-cell;&lt;br /&gt;
	vertical-align: middle;&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	border: none;&lt;br /&gt;
	background-image: url(&amp;#039;https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/f/fb/MiniMapFull.jpg&amp;#039;);&lt;br /&gt;
	background-repeat: no-repeat;&lt;br /&gt;
}&lt;br /&gt;
.minimap img {&lt;br /&gt;
	float: none;&lt;br /&gt;
	display:inline-block;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* There is only one image for the minimap - it&amp;#039;s the whole map resized to 2000px x 2000px size.&lt;br /&gt;
[[File:MiniMapFull.jpg|thumb]]&lt;br /&gt;
* Using CSS techniques, the minimap itself is a DIV element that is sized as exactly 300px x 300px. The map image is set as the background for the DIV and an offset is specified, so that it shows the correct section of the map.&lt;br /&gt;
* The icon specified should always be shown centered on the minimap - there was an issue when getting this to work inside an infobox, so a workaround was implemented whereby all the minimap versions of the icons are 300px x 32px with a transparent area. The icons also had a black stroke/border applied so that they are more visible. They are all named the same as the standard icons, but with &amp;quot;Mini &amp;quot; prefixed to the filename.&lt;br /&gt;
* To convert from in-game coordinates to the offset required, some maths needs to be applied. Take the in-game X,Y coordinate , add +342, +446. Then multiply by -2.45 and add +150, +150 (see the example below).&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example is taken from the Location infobox template and uses values passed to that template to transclude the Minimap template.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Minimap&lt;br /&gt;
| xloc = {{#expr: (({{#explode:{{{Coords}}}|,|0}} + 342) * -2.45) + 150 }}&lt;br /&gt;
| yloc = {{#expr: (({{#explode:{{{Coords}}}|,|1}} + 446) * -2.45) + 150 }}&lt;br /&gt;
| icon = Mini {{{MapIcon}}}&lt;br /&gt;
| location = {{{Name}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{doc/end}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Joschilein8343389</name></author>
	</entry>
</feed>