Difference between revisions of "Template:Territory"

From Ludlow Family Wiki
Jump to: navigation, search
m (1 revision imported: Import from Smith wiki)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>Header for a Territory page.
 
<noinclude>Header for a Territory page.
 
* ''region'': Region to which this Territory belongs
 
* ''region'': Region to which this Territory belongs
 +
* ''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 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 8: Line 10:
 
| Enclosing Region={{{region}}}
 
| Enclosing Region={{{region}}}
 
}}
 
}}
{{Place Map
+
{{Place/Map
 
| place={{{map place|}}}
 
| place={{{map place|}}}
 
| coords={{{map coords|}}}
 
| coords={{{map coords|}}}
Line 14: Line 16:
 
}}
 
}}
 
''Located in [[{{{region}}}]]''<br/>
 
''Located in [[{{{region}}}]]''<br/>
''See also {{Wikipedia|{{PAGENAME}}|Wikipedia}}, {{FamilySearch Wiki|{{PAGENAME}}|FamilySearch}}''
+
''See also {{Wikipedia|{{#if:{{{wikipedia|}}}|{{{wikipedia}}}|{{PAGENAME}}}}|Wikipedia}}, {{FamilySearch Wiki|{{#if:{{{familysearch|}}}|{{{familysearch}}}|{{PAGENAME}} Genealogy}}|FamilySearch}}''</includeonly>
</includeonly>
 

Latest revision as of 14:06, 13 January 2020

Header for a Territory page.

  • region: Region to which this Territory belongs
  • 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:Territory tag and sets Property:Enclosing Region.