<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AUS_elections_imagemap%2Fdoc</id>
	<title>Module:US elections imagemap/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AUS_elections_imagemap%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:US_elections_imagemap/doc&amp;action=history"/>
	<updated>2026-04-21T17:34:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:US_elections_imagemap/doc&amp;diff=147413&amp;oldid=prev</id>
		<title>imported&gt;Elli: /* Subpages */ better term</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:US_elections_imagemap/doc&amp;diff=147413&amp;oldid=prev"/>
		<updated>2021-01-19T20:53:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Subpages: &lt;/span&gt; better term&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lua sidebar}}&lt;br /&gt;
{{Module rating |beta}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For general usage, use the wrapped template at {{t|US elections imagemap}}. This page is mainly documentation for Module maintainers.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
=== &amp;lt;code&amp;gt;makeMap&amp;lt;/code&amp;gt; ===&lt;br /&gt;
Generates the inner part of an imagemap. Needs to be wrapped with imagemap tags to work, this only generates state shapes and links. This is due to a limitation in Lua modules.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Parameters&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Usage !! Example&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;link_template&amp;#039;&amp;#039;&amp;#039; || Template for links || 2018 STATE gubernatorial election&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;cycle&amp;#039;&amp;#039;&amp;#039; || Election cycle || Gov2{{efn|name=datapage|For valid values of {{para|cycle}} and {{para|extra_states}}, see [[Module:US elections imagemap/data]].}}&lt;br /&gt;
|-&lt;br /&gt;
| extra_states || Extra states to include{{efn|name=semicolon|(&amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt; delimited)}} || OR;WV{{efn|name=datapage}}&lt;br /&gt;
|-&lt;br /&gt;
| extra_lines || Extra raw lines to include{{efn|name=semicolon}} || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;rect 702 391 725 423 [[2020–21 United States Senate special election in Georgia]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| state_overrides || Set a custom link for the state, instead of following the template{{efn|name=semicolon}} || AZ=2020 United States Senate special election in Arizona&lt;br /&gt;
|-&lt;br /&gt;
| excluded_states || States to exclude. Overridden by &amp;lt;code&amp;gt;extra_states&amp;lt;/code&amp;gt;{{efn|name=semicolon}} || AK;HI&lt;br /&gt;
|}&lt;br /&gt;
{{notelist}}&lt;br /&gt;
&lt;br /&gt;
== Submodules ==&lt;br /&gt;
* [[Module:US elections imagemap/utils]] — string utilities&lt;br /&gt;
* [[Module:US elections imagemap/data]] — shapes and cycle data&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Elli</name></author>
	</entry>
</feed>