Difference between revisions of "Template:Locale"

From Ludlow Family Wiki
Jump to: navigation, search
m (5 revisions imported: Initial import from smithfam)
m (1 revision imported: Import from Smith wiki)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
* ''territory'': Territory to which this Locale belongs; default is the last comma-delimited part of the page name
 
* ''territory'': Territory to which this Locale belongs; default is the last comma-delimited part of the page name
 
* ''wikipedia'': Wikipedia article name; default is page name
 
* ''wikipedia'': Wikipedia article name; default is page name
* ''familysearch'': FamilySearch Wiki article name; default is page name
+
* ''familysearch'': FamilySearch Wiki article name; default is page name followed by "Genealogy"
 
* ''map place'': place to search for in the map; default is page name, or nothing if ''map coords'' is set
 
* ''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
Line 10: Line 10:
 
| territory={{#if:{{{territory|}}}|{{{territory}}}|{{#explode:{{PAGENAME}}|,|-1}}}}
 
| territory={{#if:{{{territory|}}}|{{{territory}}}|{{#explode:{{PAGENAME}}|,|-1}}}}
 
| wikipedia={{#if:{{{wikipedia|}}}|{{{wikipedia}}}|{{PAGENAME}}}}
 
| wikipedia={{#if:{{{wikipedia|}}}|{{{wikipedia}}}|{{PAGENAME}}}}
| familysearch={{#if:{{{familysearch|}}}|{{{familysearch}}}|{{PAGENAME}}}}
+
| familysearch={{#if:{{{familysearch|}}}|{{{familysearch}}}|{{PAGENAME}} Genealogy}}
 
| map place={{{map place|}}}
 
| map place={{{map place|}}}
 
| map coords={{{map coords|}}}
 
| map coords={{{map coords|}}}
 
| map zoom={{{map zoom|}}}
 
| map zoom={{{map zoom|}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:06, 13 January 2020

Header for a Locale page.

  • territory: Territory to which this Locale belongs; default is the last comma-delimited part of the page name
  • wikipedia: Wikipedia article name; default is page name
  • familysearch: FamilySearch Wiki article name; default is page name followed by "Genealogy"
  • 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.