Template:Infobox historic area/doc

From Atlas

Usage[edit]

This template is part of the WikiProject Pennsylvania. Please see the template's discussion page for examples and a guide to using it.

NOTE: There is nothing in this template specific to Pennsylvania, therefore it can be used for other areas. Examples include The Twelve Apostles (Victoria) in Australia.

Example[edit]

{{Infobox_historic_area 
|  name = Schuylkill Fishing Company
 | iucn_category = 
 | image = Schuylkill Fishing Company.png
 | caption = Schuylkill Fishing Company logo
 | locator_x = 
 | locator_y = 
 | location = [[Andalusia, Pennsylvania|Andalusia]], [[Pennsylvania]] <!--1003 State Road, Bensalem, PA 19020 -->
 | nearest_city =
 | locmapin                 = Pennsylvania  <!--Calculates location dot from geo coords, allows image and locator map -->
 | map_width                = 250
 | map_alt                  = 
 | map_caption              = 
 | lat_degrees = 40
 | lat_minutes = 3
 | lat_seconds = 43.57
 | lat_direction = N
 | long_degrees = 74
 | long_minutes = 57
 | long_seconds = 59.35
 | long_direction = W
 | coord_parameters         = 
 | coord_display            = inline,title
 | coord_format             = dms
 | area = 
 | established = 1732
 | visitation_num = 
 | visitation_year = 
 | governing_body = private
}}
Schuylkill Fishing Company
Schuylkill Fishing Company logo

Lua error in Module:Location_map at line 501: Unable to find the specified location map definition. Neither "Module:Location map/data/Pennsylvania" nor "Template:Location map Pennsylvania" exists.

Location: Andalusia, Pennsylvania
Coordinates: Lua error: callParserFunction: function "#coordinates" was not found.
Established: 1732
Governing body: private

Microformat[edit]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[edit]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[edit]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox historic area