Difference between revisions of "Template:Locale/Raw"

From Ludlow Family Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>Header for a Locale page.
 
<noinclude>Header for a Locale page.
 
* ''territory'': Territory to which this Locale belongs
 
* ''territory'': Territory to which this Locale belongs
* ''map place'': place to search for in the map
+
* ''map place'': place to search for in the map; default is page name, or nothing if ''map coords'' is set
 
* ''map coords'': center of the map; default is automatic
 
* ''map coords'': center of the map; default is automatic
 
* ''map zoom'': zoom level of the map (0-21); default is automatic
 
* ''map zoom'': zoom level of the map (0-21); default is automatic
Line 8: Line 8:
 
| Enclosing Territory={{{territory}}}
 
| Enclosing Territory={{{territory}}}
 
}}
 
}}
<div style="float:right; margin-left:15px; margin-bottom:15px">{{#widget:Google Map
+
{{Place Map
| place={{#if:{{{map place|}}}|{{{map place}}}|{{#if:{{{map coords|}}}||{{PAGENAME}}}}}}
+
| place={{{map place|}}}
| center={{{map coords|}}}
+
| coords={{{map coords|}}}
 
| zoom={{{map zoom|}}}
 
| zoom={{{map zoom|}}}
| width=400
 
| height=400
 
 
}}</div>
 
}}</div>
 
''Located in [[{{{territory}}}]]{{Wrap|, part of [[|{{Locale/Region|{{PAGENAME}}}}|]]}}''</includeonly>
 
''Located in [[{{{territory}}}]]{{Wrap|, part of [[|{{Locale/Region|{{PAGENAME}}}}|]]}}''</includeonly>

Revision as of 11:52, 21 June 2015

Header for a Locale page.

  • territory: Territory to which this Locale belongs
  • map place: place to search for in the map; default is page name, or nothing if map coords is set
  • map coords: center of the map; default is automatic
  • map zoom: zoom level of the map (0-21); default is automatic

Adds the Category:Locale tag and sets Property:Enclosing Territory.