Difference between revisions of "Template:Locale/Raw"

From Ludlow Family Wiki
Jump to: navigation, search
m (Dan Smith moved page Template:Locale/Set Basic to Template:Locale/Raw without leaving a redirect)
Line 1: Line 1:
<noinclude>Sets [[:Category:Locale]] and [[Property:Enclosing Territory]]; sets the sort key to the Territory.
+
<noinclude>Header for a Locale page.
* ''territory'': Territory that encloses this Locale
+
* ''territory'': Territory to which this Locale belongs
 +
* ''map place'': place to search for in the map
 +
* ''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]].
 
</noinclude><includeonly>{{DEFAULTSORT:{{{territory}}}}}[[Category:Locale]]{{#set:
 
</noinclude><includeonly>{{DEFAULTSORT:{{{territory}}}}}[[Category:Locale]]{{#set:
 
| Enclosing Territory={{{territory}}}
 
| Enclosing Territory={{{territory}}}
}}</includeonly>
+
}}
 +
<div style="float:right; margin-left:15px; margin-bottom:15px">{{#widget:Google Map
 +
| place={{#if:{{{map place|}}}|{{{map place}}}|{{#if:{{{map coords|}}}||{{PAGENAME}}}}}}
 +
| center={{{map coords|}}}
 +
| zoom={{{map zoom|}}}
 +
| width=400
 +
| height=400
 +
}}</div>
 +
''Located in {{{territory}}}{{Wrap|, part of |{{Locale/Region|{{PAGENAME}}}}}}''</includeonly>

Revision as of 11:33, 21 June 2015

Header for a Locale page.

  • territory: Territory to which this Locale belongs
  • map place: place to search for in the map
  • 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.