Difference between revisions of "Template:Region"

From Ludlow Family Wiki
Jump to: navigation, search
m (1 revision imported: Import from Smith wiki)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>Header for a Region page.
 
<noinclude>Header for a Region page.
 +
* ''highlight'': highlight color for this region, using [http://www.w3schools.com/cssref/css_colors_legal.asp CSS syntax]; default is white
 +
* ''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
 
* ''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:Region]] tag.
+
Adds the [[:Category:Region]] and [[Property:Highlight Color]] tags.
</noinclude><includeonly>[[Category:Region]]
+
</noinclude><includeonly>{{Region/Raw
{{Place Map
+
| highlight={{#if: {{{highlight|}}} | {{{highlight}}} | white}}
| place={{{map place|}}}
+
| wikipedia={{#if:{{{wikipedia|}}}|{{{wikipedia}}}|{{PAGENAME}}}}
| coords={{{map coords|}}}
+
| familysearch={{#if:{{{familysearch|}}}|{{{familysearch}}}|{{PAGENAME}} Genealogy}}
| zoom={{{map zoom|}}}
+
| map place={{{map place|}}}
}}
+
| map coords={{{map coords|}}}
''See also {{Wikipedia|{{PAGENAME}}|Wikipedia}}, {{FamilySearch Wiki|{{PAGENAME}}|FamilySearch}}''
+
| map zoom={{{map zoom|}}}
</includeonly>
+
}}</includeonly>

Latest revision as of 14:06, 13 January 2020

Header for a Region page.

  • highlight: highlight color for this region, using CSS syntax; default is white
  • 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:Region and Property:Highlight Color tags.