<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://archaelund.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AOverlay%2Fdoc</id>
	<title>Template:Overlay/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://archaelund.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AOverlay%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://archaelund.com/wiki/index.php?title=Template:Overlay/doc&amp;action=history"/>
	<updated>2026-04-17T02:48:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>http://archaelund.com/wiki/index.php?title=Template:Overlay/doc&amp;diff=164&amp;oldid=prev</id>
		<title>MikeB: Created page with &quot;== Description == This template generates an annoted map by overlaying numbered markers on an image and displaying a corresponding legend underneath. It requires the Lua modul...&quot;</title>
		<link rel="alternate" type="text/html" href="http://archaelund.com/wiki/index.php?title=Template:Overlay/doc&amp;diff=164&amp;oldid=prev"/>
		<updated>2020-04-26T11:20:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Description == This template generates an annoted map by overlaying numbered markers on an image and displaying a corresponding legend underneath. It requires the Lua modul...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Description ==&lt;br /&gt;
This template generates an annoted map by overlaying numbered markers on an image and displaying a corresponding legend underneath. It requires the Lua module [[Module:Overlay]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Overlay&lt;br /&gt;
|Image = &lt;br /&gt;
|Title = &lt;br /&gt;
|Width = &lt;br /&gt;
|Height = &lt;br /&gt;
|Columns = &lt;br /&gt;
|Grid = &lt;br /&gt;
|Link = &lt;br /&gt;
|Legendbox = &lt;br /&gt;
|Float = &lt;br /&gt;
|Overlay = &lt;br /&gt;
|Border = &lt;br /&gt;
|Windrose = &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Legend --&amp;gt;&lt;br /&gt;
|Legend1Title = &lt;br /&gt;
|Legend1Start = &lt;br /&gt;
|Legend1End = &lt;br /&gt;
&amp;lt;!-- ...up to 6... --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Overlays --&amp;gt;&lt;br /&gt;
|Overlay1Form = &lt;br /&gt;
|Overlay1 = &lt;br /&gt;
|Overlay1Color = &lt;br /&gt;
|Overlay1Tip = &lt;br /&gt;
|Overlay1Link = &lt;br /&gt;
|Overlay1Left = &lt;br /&gt;
|Overlay1Top = &lt;br /&gt;
&amp;lt;!-- ...up to 30... --&amp;gt;&lt;br /&gt;
|Overlay1Left2 = &lt;br /&gt;
|Overlay1Top2 = &lt;br /&gt;
&amp;lt;!-- ...up to 12... --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Required&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Description&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Values&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Image&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The image. If not set then only the legend is presented.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;image name (including file extension)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Title&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Title displayed in the upper left corner of the image.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;arbitrary text&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Width&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Width of the image in pixels.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;positive number (defaults to 500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Height&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Height of the image in pixels.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;positive number (defaults to 500)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Columns&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The number of columns to display the legend in. Set to 0 to not display any legend.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;non-negative number (defaults to 3)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Grid&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Set to &amp;quot;yes&amp;quot; to turn on the coordinate grid to allow easier determination of overlay coordinates while editing.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;yes&amp;quot; / &amp;quot;no&amp;quot; (defaults to &amp;quot;no&amp;quot;; all values other than &amp;quot;yes&amp;quot; are equivalent to &amp;quot;no&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Link&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Set to &amp;quot;yes&amp;quot; to turn on default linking of overlay and legend entry.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;yes&amp;quot; / &amp;quot;no&amp;quot; (defaults to &amp;quot;no&amp;quot;; all values other than &amp;quot;yes&amp;quot; are equivalent to &amp;quot;no&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Legendbox&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Set to &amp;quot;no&amp;quot; to turn off the box/border around each section of the legend.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;yes&amp;quot; / &amp;quot;no&amp;quot; (defaults to &amp;quot;yes&amp;quot;; all values other than &amp;quot;no&amp;quot; are equivalent to &amp;quot;yes&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Float&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Determines how image and legend or positioned on the page.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;CCS float value (&amp;quot;none&amp;quot;, &amp;quot;left&amp;quot;, &amp;quot;right&amp;quot;) or &amp;quot;center&amp;quot; (defaults to &amp;quot;center&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Determines whether or not the overlays are presented when an image is available.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;yes&amp;quot; / &amp;quot;no&amp;quot; (defaults to &amp;quot;yes&amp;quot;; all values other than &amp;quot;no&amp;quot; are equivalent to &amp;quot;yes&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Border&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Determines whether or not a border is placed around the whole presentation.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;yes&amp;quot; / &amp;quot;no&amp;quot; (defaults to &amp;quot;yes&amp;quot;; all values other than &amp;quot;no&amp;quot; are equivalent to &amp;quot;yes&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Windrose&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Set to &amp;quot;yes&amp;quot; to display a windrose in the lower right corner of the image.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;yes&amp;quot; / &amp;quot;no&amp;quot; (defaults to &amp;quot;no&amp;quot;; all values other than &amp;quot;yes&amp;quot; are equivalent to &amp;quot;no&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align:left&amp;quot;&amp;gt;&amp;#039;&amp;#039;Legend&amp;#039;&amp;#039;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Legend1Title&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The title of Legend1.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;arbitrary text&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Legend1Start&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The number of the first overlay to appear in Legend1.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;positive number (defaults to the first overlay set, otherwise to the previous legend end plus 1 if there is a previous legend)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Legend1End&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The number of the last overlay to appear in Legend1.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;positive number (defaults to the next legend start less 1 if there is a next legend, otherwise to the last set overlay)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align:center&amp;quot;&amp;gt;&amp;#039;&amp;#039;... repeat this pattern for up to 6 separate sections of the legend ...&amp;#039;&amp;#039;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align:left&amp;quot;&amp;gt;&amp;#039;&amp;#039;Overlays&amp;#039;&amp;#039;&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Form&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The form of the overlays, either as numbered icon (e.g. {{#invoke:Overlay|Icon|1|red|Form=icon}}), colored text (e.g. {{#invoke:Overlay|Icon|1|red|Form=text}}), or bare color (e.g. {{#invoke:Overlay|Icon|1|red|Form=color}}).&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;quot;icon&amp;quot; / &amp;quot;text&amp;quot; / &amp;quot;color&amp;quot; (defaults to the previous overlay form, or to &amp;quot;icon&amp;quot; if there is no previous overlay form)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Text of Overlay1 to be displayed in the legend.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;arbitrary text (defaults to the value of Overlay1Tip if any)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Color&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The color of Overlay1.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;arbitrary color or one of the color tags defined in [[Module:Overlay/colors]]: {{ListFormat|access; enemy; npc; secret; site|Bullets}} (defaults to the previous overlay color, or to &amp;quot;red&amp;quot; if there is no previous overlay color)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Tip&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Pop up tool tip text to appear when the screen pointer is over Overlay1.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;arbitrary text (defaults to the value of Overlay1)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Link&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Text to be used as a link for the overlay legend text.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;arbitrary text (defaults to the value of Overlay1 if Link is not set to &amp;quot;no&amp;quot;)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Left&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Distance in pixels of the left edge of Overlay1 from the left side of the image.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;non-negative number&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Top&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Distance in pixels of the top edge of Overlay1 from the top side of the image.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;non-negative number&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Left2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The left ordinate for a second position of Overlay1.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;non-negative number&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Overlay1Top2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;The top ordinate for a second position of Overlay1.&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;non-negative number&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align:center&amp;quot;&amp;gt;&amp;#039;&amp;#039;... repeat this pattern for up to 30 different overlays, with up to 12 different positions per overlay ...&amp;#039;&amp;#039;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>MikeB</name></author>
	</entry>
</feed>