Difference between revisions of "Template:Locale"

From Ludlow Family Wiki
Jump to: navigation, search
Line 4: Line 4:
 
* ''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
Adds the [[:Category:Locale]] tag and sets [[Property:Locale Territory]].
+
Adds the [[:Category:Locale]] tag and sets [[Property:Enclosing Territory]].
 
</noinclude><includeonly>{{Locale/Raw
 
</noinclude><includeonly>{{Locale/Raw
 
| territory={{#if:{{{territory|}}}|{{{territory}}}|{{#explode:{{PAGENAME}}|,|-1}}}}
 
| territory={{#if:{{{territory|}}}|{{{territory}}}|{{#explode:{{PAGENAME}}|,|-1}}}}

Revision as of 11:50, 21 June 2015

Header for a Locale page.

  • territory: Territory to which this Locale belongs; default is the last comma-delimited part of the page name
  • 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.