<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ancestry.jonesipedia.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AMaplink%2Ftestcases</id>
	<title>Template:Maplink/testcases - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ancestry.jonesipedia.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AMaplink%2Ftestcases"/>
	<link rel="alternate" type="text/html" href="https://ancestry.jonesipedia.com/index.php?title=Template:Maplink/testcases&amp;action=history"/>
	<updated>2026-05-10T17:00:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.47.0-wmf.1</generator>
	<entry>
		<id>https://ancestry.jonesipedia.com/index.php?title=Template:Maplink/testcases&amp;diff=3439&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://ancestry.jonesipedia.com/index.php?title=Template:Maplink/testcases&amp;diff=3439&amp;oldid=prev"/>
		<updated>2022-04-28T16:44:12Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:44, 28 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://ancestry.jonesipedia.com/index.php?title=Template:Maplink/testcases&amp;diff=3438&amp;oldid=prev</id>
		<title>en&gt;Jts1882: /* Mapframe tag */  fix spacing</title>
		<link rel="alternate" type="text/html" href="https://ancestry.jonesipedia.com/index.php?title=Template:Maplink/testcases&amp;diff=3438&amp;oldid=prev"/>
		<updated>2021-11-04T08:22:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Mapframe tag: &lt;/span&gt;  fix spacing&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Testcases notice &amp;lt;!--|toc=on--&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==Maplink tag==&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple geoline&lt;br /&gt;
|type=line|id=Q2108}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple geoshape&lt;br /&gt;
|type=shape|id=Q797}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple geomask&lt;br /&gt;
|type=shape-inverse|id=Q797}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple Data: page&lt;br /&gt;
|type=data|from=Sandbox/Evad37/St Georges Terrace.map|}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=title display&lt;br /&gt;
|type=line|id=Q2108|display=title}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=point|coord={{coord|-15.4|17.2}}}}&amp;lt;/nowiki&amp;gt;|_title=Simple point (supplied coordinates)&lt;br /&gt;
|type=point|coord={{coord|-15.4|17.2}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple point (Wikidata coordinates)&lt;br /&gt;
|type=point|id=Q797}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius=1000|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Simple circle (supplied coordinates)&lt;br /&gt;
|type=circle|radius=1000|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple circle (wikidata coordinates)&lt;br /&gt;
|type=circle|radius=5000|id=Q60}}&lt;br /&gt;
&lt;br /&gt;
==Mapframe tag==&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple geoline&lt;br /&gt;
|frame=yes|type=line|id=Q2108}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple geoline with coordinates on Wikidata&lt;br /&gt;
|frame=yes|type=line|id=Q515443}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Frame latitude &amp;amp; longitude (simple geoline)&lt;br /&gt;
|frame=yes|frame-lat=42.4934|frame-long=-82.9166|zoom=8|type=line|id=Q2108}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Frame latitude &amp;amp; longitude within {{tl|Coord}} template (simple geoline)&lt;br /&gt;
|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|frame-coordinates={{Coord|41.9|N|82.7|W}}|zoom=7|type=line|id=Q2108}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|frame-coordinates={{Coord|41.9|N|82.7|W}}|zoom=7|type=line|id=Q2108}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Frameless (simple geoline)&lt;br /&gt;
|frame=yes|plain=yes|frame-lat=42.4934|frame-long=-82.9166|zoom=8|type=line|id=Q2108}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple geoshape&lt;br /&gt;
|frame=yes|type=shape|id=Q797}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple geomask&lt;br /&gt;
|frame=yes|type=shape-inverse|id=Q797}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple Data: page&lt;br /&gt;
|frame=yes|type=data|from=Sandbox/Evad37/St Georges Terrace.map|}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Raw data&lt;br /&gt;
|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__||frame=yes|type=data|raw={{Wikipedia:Map data/Wikipedia KML/Interstate 45}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|type=data|raw={{Wikipedia:Map data/Wikipedia KML/Interstate 45}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Raw Wikidata query&lt;br /&gt;
|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__||frame=yes|type=data|frame-width=600|frame-height=400|frame-lat=52|frame-long=-110|zoom=3|raw={&lt;br /&gt;
  &amp;quot;type&amp;quot;: &amp;quot;ExternalData&amp;quot;,&lt;br /&gt;
  &amp;quot;service&amp;quot;: &amp;quot;geoshape&amp;quot;,&lt;br /&gt;
  &amp;quot;query&amp;quot;: &amp;quot;&lt;br /&gt;
SELECT ?id ?head&lt;br /&gt;
  (SAMPLE(?img) as ?img_) &lt;br /&gt;
  (min(?partyId) as ?party) &lt;br /&gt;
  (if(?party = &amp;#039;0&amp;#039;, &amp;#039;#800000&amp;#039;, if(?party = &amp;#039;1&amp;#039;, &amp;#039;#000080&amp;#039;, &amp;#039;#008000&amp;#039;)) as ?fill)&lt;br /&gt;
  (concat(&amp;#039;[[&amp;#039;, substr(str(?link),31,500),  &amp;#039;{{!}}&amp;#039;, ?headLabel, &amp;#039;]]&amp;#039;) as ?title)&lt;br /&gt;
  (concat(?stateLabel, &amp;#039;\\n&amp;#039;, &amp;#039;[[File:&amp;#039;, substr(str(?img_), 52, 500), &amp;#039;{{!}}200px]]&amp;#039;) as ?description)&lt;br /&gt;
WHERE {  &lt;br /&gt;
  ?id wdt:P31 wd:Q35657 .&lt;br /&gt;
  ?id wdt:P6 ?head .&lt;br /&gt;
  ?head wdt:P102 ?party .&lt;br /&gt;
  BIND(if(?party = wd:Q29468, &amp;#039;0&amp;#039;, if(?party = wd:Q29552, &amp;#039;1&amp;#039;, &amp;#039;2&amp;#039;)) as ?partyId) &lt;br /&gt;
  SERVICE wikibase:label {&lt;br /&gt;
    bd:serviceParam wikibase:language &amp;#039;en&amp;#039; .&lt;br /&gt;
    ?head rdfs:label ?headLabel .&lt;br /&gt;
    ?id rdfs:label ?stateLabel .&lt;br /&gt;
  }&lt;br /&gt;
  OPTIONAL {&lt;br /&gt;
    ?head wdt:P18 ?img .&lt;br /&gt;
  }&lt;br /&gt;
  ?link schema:about ?head .&lt;br /&gt;
  ?link schema:isPartOf &amp;lt;https://en.wikipedia.org/&amp;gt; .&lt;br /&gt;
} GROUP BY ?id ?head ?headLabel ?link ?stateLabel&lt;br /&gt;
&amp;quot;} }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|type=data|frame-width=600|frame-height=400|frame-lat=52|frame-long=-110|zoom=3|raw={&lt;br /&gt;
  &amp;quot;type&amp;quot;: &amp;quot;ExternalData&amp;quot;,&lt;br /&gt;
  &amp;quot;service&amp;quot;: &amp;quot;geoshape&amp;quot;,&lt;br /&gt;
  &amp;quot;query&amp;quot;: &amp;quot;&lt;br /&gt;
SELECT ?id ?head&lt;br /&gt;
  (SAMPLE(?img) as ?img_) &lt;br /&gt;
  (min(?partyId) as ?party) &lt;br /&gt;
  (if(?party = &amp;#039;0&amp;#039;, &amp;#039;#800000&amp;#039;, if(?party = &amp;#039;1&amp;#039;, &amp;#039;#000080&amp;#039;, &amp;#039;#008000&amp;#039;)) as ?fill)&lt;br /&gt;
  (concat(&amp;#039;[[&amp;#039;, substr(str(?link),31,500),  &amp;#039;{{!}}&amp;#039;, ?headLabel, &amp;#039;]]&amp;#039;) as ?title)&lt;br /&gt;
  (concat(?stateLabel, &amp;#039;\\n&amp;#039;, &amp;#039;[[File:&amp;#039;, substr(str(?img_), 52, 500), &amp;#039;{{!}}200px]]&amp;#039;) as ?description)&lt;br /&gt;
WHERE {  &lt;br /&gt;
  ?id wdt:P31 wd:Q35657 .&lt;br /&gt;
  ?id wdt:P6 ?head .&lt;br /&gt;
  ?head wdt:P102 ?party .&lt;br /&gt;
  BIND(if(?party = wd:Q29468, &amp;#039;0&amp;#039;, if(?party = wd:Q29552, &amp;#039;1&amp;#039;, &amp;#039;2&amp;#039;)) as ?partyId) &lt;br /&gt;
  SERVICE wikibase:label {&lt;br /&gt;
    bd:serviceParam wikibase:language &amp;#039;en&amp;#039; .&lt;br /&gt;
    ?head rdfs:label ?headLabel .&lt;br /&gt;
    ?id rdfs:label ?stateLabel .&lt;br /&gt;
  }&lt;br /&gt;
  OPTIONAL {&lt;br /&gt;
    ?head wdt:P18 ?img .&lt;br /&gt;
  }&lt;br /&gt;
  ?link schema:about ?head .&lt;br /&gt;
  ?link schema:isPartOf &amp;lt;https://en.wikipedia.org/&amp;gt; .&lt;br /&gt;
} GROUP BY ?id ?head ?headLabel ?link ?stateLabel&lt;br /&gt;
&amp;quot;} }}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=point|coord={{coord|-15.4|17.2}}}}&amp;lt;/nowiki&amp;gt;|_title=Simple point (supplied coordinates, &amp;lt;code&amp;gt;{{!}}lat{{!}}long&amp;lt;/code&amp;gt; )&lt;br /&gt;
|frame=yes|type=point|coord={{coord|-15.4|17.2}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=point|coord={{coord|15.4|S|17.2|E}}}}&amp;lt;/nowiki&amp;gt;|_title=Simple point (supplied coordinates, &amp;lt;code&amp;gt;{{!}}lat{{!}}S{{!}}long{{!}}E&amp;lt;/code&amp;gt; )&lt;br /&gt;
|frame=yes|type=point|coord={{coord|15.4|S|17.2|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=point|coord={{coord|15|24|S|17|12|E}}}}&amp;lt;/nowiki&amp;gt;|_title=Simple point (supplied coordinates, &amp;lt;code&amp;gt;{{!}}lat_d{{!}}lat_m{{!}}S{{!}}long_d{{!}}long_m{{!}}E&amp;lt;/code&amp;gt; )&lt;br /&gt;
|frame=yes|type=point|coord={{coord|15|24|S|17|12|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=point|coord={{coord|15|24|10|S|17|12|15|E}}}}&amp;lt;/nowiki&amp;gt;|_title=Simple point (supplied coordinates, &amp;lt;code&amp;gt;{{!}}lat_d{{!}}lat_m{{!}}lat_s{{!}}S{{!}}long_d{{!}}long_m{{!}}long_s{{!}}E&amp;lt;/code&amp;gt; )&lt;br /&gt;
|frame=yes|type=point|coord={{coord|15|24|10|S|17|12|15|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple point (Wikidata coordinates)&lt;br /&gt;
|frame=yes|type=point|id=Q797}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Point from Wikidata, but with novalue set on item (error expected)&lt;br /&gt;
|frame=yes|type=point|id=Q2327957}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=circle|radius=1000|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Simple circle (supplied coordinates)&lt;br /&gt;
|frame=yes|type=circle|radius=1000|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple circle (wikidata coordinates)&lt;br /&gt;
|frame=yes|type=circle|radius=5000|id=Q60}}&lt;br /&gt;
&lt;br /&gt;
==Multiple features==&lt;br /&gt;
===Maplink===&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 lines&lt;br /&gt;
|type=line|id=Q1318331|type2=line|id2=Q1544264}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 shapes&lt;br /&gt;
|type=shape|id=Q100|type2=shape|id2=Q1384}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 .map pages&lt;br /&gt;
|type=data|from=MAX Light Rail (Perth).map|type2=data|from2=Sandbox/Evad37/St Georges Terrace.map}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 points (manually specified)|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=point|coord={{coord|32|S|116|E}}|type2=point|coord2={{coord|31.8|S|115.8|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|type=point|coord={{coord|32|S|116|E}}|type2=point|coord2={{coord|31.8|S|115.8|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Line + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|id=Q1318331|type=line|type2=point|coord2={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|id=Q1318331|type=line|type2=point|coord2={{coord|32|S|116|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Shape + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=shape|id=Q3495894|type2=point|coord2={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|type=shape|id=Q3495894|type2=point|coord2={{coord|32|S|116|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Shape + line&lt;br /&gt;
|type=shape|id=Q3495894|type2=line|id2=Q1318331}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Shape + line + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=shape|id=Q3495894|type2=line|id2=Q1318331|type3=point|coord3={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|type=shape|id=Q3495894|type2=line|id2=Q1318331|type3=point|coord3={{coord|32|S|116|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Circle + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__||type=circle|coord={{coord|32|S|116|E}}|type2=point|coord2={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|type=circle|radius=2000|coord={{coord|32|S|116|E}}|type2=point|coord2={{coord|32|S|116|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Circle + line&lt;br /&gt;
|type=circle|radius=2000|id=Q3495894|type2=line|id2=Q1318331}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Line + Shape-inverse + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=line|id=Q1318331|type2=shape-inverse|id2=Q3495894|type3=point|coord3={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|type=line|id=Q1318331&lt;br /&gt;
|type2=shape-inverse|id2=Q3495894&lt;br /&gt;
|type3=point|coord3={{coord|32|S|116|E}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Mapframe tag===&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 lines&lt;br /&gt;
|frame=yes|type=line|id=Q1318331|type2=line|id2=Q1544264}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 shapes&lt;br /&gt;
|frame=yes|type=shape|id=Q100|type2=shape|id2=Q1384}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 .map pages&lt;br /&gt;
|frame=yes|type=data|from=MAX Light Rail (Perth).map|type2=data|from2=Sandbox/Evad37/St Georges Terrace.map}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=2 points (manually specified)|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=point|coord={{coord|32|S|116|E}}|type2=point|coord2={{coord|31.8|S|115.8|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|type=point|coord={{coord|32|S|116|E}}|type2=point|coord2={{coord|31.8|S|115.8|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Line + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|id=Q1318331|type=line|type2=point|coord2={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|id=Q1318331|type=line|type2=point|coord2={{coord|32|S|116|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Shape + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=shape|id=Q3495894|type2=point|coord2={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|type=shape|id=Q3495894|type2=point|coord2={{coord|32|S|116|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Shape + line&lt;br /&gt;
|frame=yes|type=shape|id=Q3495894|type2=line|id2=Q1318331}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Shape + line + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=shape|id=Q3495894|type2=line|id2=Q1318331|type3=point|coord3={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|type=shape|id=Q3495894|type2=line|id2=Q1318331|type3=point|coord3={{coord|32|S|116|E}}}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Point within a shape, with various optional/style parameters &lt;br /&gt;
|frame=yes|plain=yes|frame-width=250|frame-height=280|type=shape-inverse|zoom=7|frame-lat=29.185|frame-long=76.225|stroke-width=3|id=Q1174|type2=point|id2=Q200663|title2=Faridabad}}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Line + Shape-inverse + point|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|type=line|id=Q1318331|type2=shape-inverse|id2=Q3495894|type3=point|coord3={{coord|32|S|116|E}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes&lt;br /&gt;
|type=line|id=Q1318331&lt;br /&gt;
|type2=shape-inverse|id2=Q3495894&lt;br /&gt;
|type3=point|coord3={{coord|32|S|116|E}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Styles==&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Stroke width and stroke colour for line&lt;br /&gt;
|frame=yes|zoom=9|type=line|id=Q100|stroke-width=3|stroke-color=#008888}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Stroke width, stroke colour, and fill colour for shape&lt;br /&gt;
|frame=yes|zoom=9|type=shape|id=Q100|stroke-width=3|stroke-color=#008888|fill=#00ff00}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Stroke width, stroke colour, and fill colour for shape-inverse&lt;br /&gt;
|frame=yes|zoom=9|type=shape-inverse|id=Q100|stroke-width=3|stroke-color=#00ffff|fill=#888888}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Marker symbol and colour for point&lt;br /&gt;
|frame=yes|zoom=9|type=point|id=Q100|marker=star|marker-color=#888800}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Stroke-opacity and fill-opacity for shape&lt;br /&gt;
|frame=yes|zoom=9|type=shape|id=Q100|stroke-width=3|stroke-color=#008888|stroke-opacity=0.4|fill=#00ff00|fill-opacity=0.4}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Stroke-opacity and fill-opacity for shape-inverse&lt;br /&gt;
|frame=yes|zoom=9|type=shape-inverse|id=Q100|stroke-width=3|stroke-color=#008888|stroke-opacity=0.4|fill=#00ff00|fill-opacity=0.4}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Stroke width, stroke colour, and fill colour for circle&lt;br /&gt;
|frame=yes|zoom=9|type=circle|radius=10000|id=Q100|stroke-width=3|stroke-color=#008888|fill=#00ff00}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Stroke-opacity and fill-opacity for circle&lt;br /&gt;
|frame=yes|zoom=9|type=circle|radius=10000|id=Q100|stroke-width=3|stroke-color=#008888|stroke-opacity=0.4|fill=#00ff00|fill-opacity=0.4}}&lt;br /&gt;
&lt;br /&gt;
==Circles==&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius_m=1110|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Radius in metres&lt;br /&gt;
|type=circle|radius_m=1110|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius_km=10|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Radius in kilometres&lt;br /&gt;
|type=circle|radius_km=10|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius_mi=10|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Radius in miles&lt;br /&gt;
|type=circle|radius_mi=10|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius_ft=200|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Radius in feet&lt;br /&gt;
|type=circle|radius_ft=200|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius=1000|edges=8|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Fewer edges&lt;br /&gt;
|type=circle|radius=1000|edges=8|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius=1000|edges=68|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=Extra edges&lt;br /&gt;
|type=circle|radius=1000|edges=68|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|type=circle|radius_m=1110|coord={{coord|-31.95|115.85}}}}&amp;lt;/nowiki&amp;gt;|_title=No radius specified (error expected)&lt;br /&gt;
|type=circle|coord={{coord|-31.95|115.85}}}}&lt;br /&gt;
&lt;br /&gt;
==Geomasks==&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Geomask with hole&lt;br /&gt;
|type=shape-inverse|id=Q7998839|frame=yes}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Geomask with holes and stroke styles&lt;br /&gt;
|frame=yes|plain=y|frame-width=135|frame-height=200|frame-align=center|stroke-width=2|zoom=9|type=shape-inverse|stroke-color=#808080|id=Q16567|title=Columbus}}&lt;br /&gt;
&lt;br /&gt;
==Multi switcher==&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Multiple zoom levels (specifying numbers)&lt;br /&gt;
|frame=yes|plain=yes|switch=zoomed out; zoomed mid; zoomed in|type=point|id=Q100|zoom=SWITCH:5;8;11}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title= Multiple geolines (shape outlines), which are auto-zoomed&lt;br /&gt;
|frame=yes |plain=yes |frame-align=left |type=point |id=Q100 |type2=line |stroke-width2=1 |id2=SWITCH:Q578170, Q771, Q100 |switch=country, state, city}}&lt;br /&gt;
{{cot|Inside an infobox}}&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|style=width:50%|{{tl|maplink}} || {{tl|maplink/sandbox}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Infobox&lt;br /&gt;
|above = Some infobox&lt;br /&gt;
|image = {{maplink|frame=yes|plain=yes|frame-align=center|switch=zoomed out; zoomed mid; zoomed in|type=point|id=Q100|zoom=SWITCH:3,7,1}}&lt;br /&gt;
|caption = A caption for the mapframe&lt;br /&gt;
}}&lt;br /&gt;
| {{Infobox&lt;br /&gt;
|above = Some infobox&lt;br /&gt;
|image = {{maplink/sandbox|frame=yes|plain=yes|frame-align=center|switch=zoomed out; zoomed mid; zoomed in|type=point|id=Q100|zoom=SWITCH:3,7,1}}&lt;br /&gt;
|caption = A caption for the mapframe&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
{{cob}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Framed, align right&lt;br /&gt;
|frame=yes|text=Captiony thingy|switch=zoomed out; zoomed mid; zoomed in|type=point|id=Q100|zoom=SWITCH:5;8;11}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Framed, align left, no text&lt;br /&gt;
|frame=yes |frame-align=left |type=point |id=Q100 |type2=line |stroke-width2=1 |id2=SWITCH:Q578170, Q771, Q100 |switch=country, state, city}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Framed, align center&lt;br /&gt;
|frame=yes|frame-align=center|switch=zoomed out; zoomed mid; zoomed in|type=point|id=Q100|zoom=SWITCH:3,7,11}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Multiple switch parameters (zoom and geomask)&lt;br /&gt;
|frame=yes |frame-align=center |switch=demo #1, demo#2, demo#3 |zoom=SWITCH:2,6,10 |type1=shape-inverse |id=SWITCH:Q30, Q771, Q100 |type2=point |id2=Q100 |text=Foo [[bar]] baz}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Multiple switch parameters (zoom and frame-coord) |_code = &lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes |frame-align=center |switch=demo #1, demo#2, demo#3 |zoom=SWITCH:2,6,10 |type1=point |id1=Q100 |frame-coord=SWITCH:{{Coord|1|23|N|2|34|E}}###{{Coord|32|1|S|115|6|E}}###{{Coord|32|1|N|115|6|W}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes |frame-align=center |switch=demo #1, demo#2, demo#3 |zoom=SWITCH:2,6,10 |type1=point |id1=Q100 |frame-coord=SWITCH:{{Coord|1|23|N|2|34|E}}###{{Coord|32|1|S|115|6|E}}###{{Coord|32|1|N|115|6|W}}}}&lt;br /&gt;
=== Errors expected ===&lt;br /&gt;
{{cot}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=No SWITCH: lists  &lt;br /&gt;
|frame=yes|plain=yes|switch=zoomed out; zoomed in|type=point|id=Q100|zoom=5}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Not enough labels&lt;br /&gt;
|frame=yes|plain=yes|switch=zoomed out; zoomed in|type=point|id=Q100|zoom=SWITCH:5;8;11}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Only one label&lt;br /&gt;
|frame=yes|plain=yes|switch=zoomed out|type=point|id=Q100|zoom=SWITCH:5;8;11}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Only one value in SWITCH: list&lt;br /&gt;
|frame=yes|plain=yes|switch=zoomed out, zoomed in|type=point|id=Q100|zoom=SWITCH:5}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Differing numbers values in SWITCH: list&lt;br /&gt;
|frame=yes|plain=yes|switch=zoomed out; zoomed in|type=point|id=SWITCH:Q30, Q100|zoom=SWITCH:5;8;11}}&lt;br /&gt;
{{cob}}&lt;br /&gt;
&lt;br /&gt;
==Named coordinates test data==&lt;br /&gt;
&amp;lt;!-- copied from [[Template:GeoGroup/doc]]  --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable collapsible collapsed&amp;quot; style=width:100%&lt;br /&gt;
|+Some data from [[Netherton Tunnel Branch Canal]] article:&lt;br /&gt;
! Point&lt;br /&gt;
! [[Geographic coordinate system|Coordinates]]&amp;lt;br /&amp;gt;(links to map &amp;amp; photo sources)&lt;br /&gt;
|-&lt;br /&gt;
| Dudley Port Junction&lt;br /&gt;
| {{coord|52.52204|-2.04331|region:GB_type:landmark|name=Dudley Port Junction}}&lt;br /&gt;
|-&lt;br /&gt;
| Groveland Bridge (Tipton Road, A457)&lt;br /&gt;
| {{coord|52.51758|-2.04760|region:GB_type:landmark|name=Groveland Bridge (Tipton Road, A457)}}&lt;br /&gt;
|-&lt;br /&gt;
| Tividale Aqueduct (Old BCN Main Line)&lt;br /&gt;
| {{coord|52.51640|-2.04843|region:GB_type:landmark|name=Tividale Aqueduct (Old BCN Main Line)}}&lt;br /&gt;
|-&lt;br /&gt;
| Northern tunnel portal&lt;br /&gt;
| {{coord|52.51534|-2.04948|region:GB_type:landmark|name=Northern tunnel portal}}&lt;br /&gt;
|-&lt;br /&gt;
| Aston Road air vent&lt;br /&gt;
| {{coord|52.50850|-2.05518|region:GB_type:landmark|name=Aston Road air vent}}&lt;br /&gt;
|-&lt;br /&gt;
| Regent Road air vent&lt;br /&gt;
| {{coord|52.50697|-2.05708|region:GB_type:landmark|name=Regent Road air vent}} &amp;lt;!-- Approx. canal mid-point --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| Approx. tunnel midpoint&lt;br /&gt;
| {{coord|52.50435|-2.05932|region:GB_type:landmark|name=Approx. tunnel midpoint}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Named coordinates ==&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable collapsible collapsed&amp;quot; style=width:100%&lt;br /&gt;
|+Further data from [[Netherton Tunnel Branch Canal]] article:&lt;br /&gt;
|-&lt;br /&gt;
| Southern tunnel portal&lt;br /&gt;
| {{coord|52.49335|-2.06916|region:GB_type:landmark|name=Southern tunnel portal}}&lt;br /&gt;
|-&lt;br /&gt;
| Windmill End Junction&lt;br /&gt;
| {{coord|52.49157|-2.07019|region:GB_type:landmark|name=Windmill End Junction}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=All coordinates on page&lt;br /&gt;
|frame=yes|type=named}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=All coordinates on page in a section&lt;br /&gt;
|frame=yes|type=named|from=#Named coordinates}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=All coordinates on another page&lt;br /&gt;
|frame=yes|type=named|from=List of bridges in Perth, Western Australia}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=All coordinates on page plus a geoshape&lt;br /&gt;
|frame=yes|type=named&lt;br /&gt;
|type2=shape-inverse|id2=Q23124&lt;br /&gt;
|type3=line|id3=Q23124}}&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=With style params&lt;br /&gt;
|frame=yes|type=named|from=#Named coordinates|marker=star|marker-color=#ff0000}}&lt;br /&gt;
&lt;br /&gt;
==Overlays==&lt;br /&gt;
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple overlay|_code=&amp;lt;nowiki&amp;gt;{{__TEMPLATENAME__|frame=yes|plain=yes|type=point|id=Q100|overlay={{mapframe|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|zoom=5}} }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|frame=yes|plain=yes|type=point|id=Q100|overlay={{mapframe|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|zoom=5}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
{{clear}}&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
 --&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;Jts1882</name></author>
	</entry>
</feed>