Difference between revisions of "Template:Region"

From Ludlow Family Wiki
Jump to: navigation, search
Line 5: Line 5:
 
* ''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]] and [[Property:Highlight Color]] tags.
 
Adds the [[:Category:Region]] and [[Property:Highlight Color]] tags.
</noinclude><includeonly>[[Category:Region]]{{#set:
+
</noinclude><includeonly>{{Region/Raw
| Highlight Color={{#if: {{{highlight|}}} | {{{highlight}}} | white}}
+
| highlight={{#if: {{{highlight|}}} | {{{highlight}}} | white}}
}}
+
| map place={{{map place|}}}
{{Place Map
+
| map coords={{{map coords|}}}
| place={{{map place|}}}
+
| map zoom={{{map zoom|}}}
| coords={{{map coords|}}}
+
}}</includeonly>
| zoom={{{map zoom|}}}
 
}}
 
''See also {{Wikipedia|{{PAGENAME}}|Wikipedia}}, {{FamilySearch Wiki|{{PAGENAME}}|FamilySearch}}''</includeonly>
 

Revision as of 08:24, 22 June 2015

Header for a Region page.

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