Template:Infobox nrhp/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox nrhp (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
Humpback Covered Bridge
U.S. National Register of Historic Places
The Humpback Covered Bridge is the last remaining bridge of its type in the U.S.
The Humpback Covered Bridge is the last remaining bridge of its type in the U.S.
Location: Alleghany County, Virginia, USA
Nearest city: Covington, Virginia
Coordinates: 37°48′02″N 80°02′84″W / 37.80056, -80.05667Coordinates: 37°48′02″N 80°02′84″W / 37.80056, -80.05667
Built/Founded: 1810's
Added to NRHP: October 1, 1969
NRHP Reference#: 69000219
Governing body: Virginia Department of Transportation

This template is part of WikiProject National Register of Historic Places.

Contents

[edit] Usage

To get started, copy and paste one of the following blank templates into the top of the article.

[edit] Blank template for infobox with photo

{{Infobox nrhp
| name = 
| nrhp_type = 
| image = 
| caption = 
| lat_degrees = 
| lat_minutes = 
| lat_seconds = 
| lat_direction = 
| long_degrees = 
| long_minutes = 
| long_seconds = 
| long_direction = 
| location = 
| nearest_city = 
| area = 
| built = 
| architect = 
| architecture = 
| designated =
| added = 
| established = 
| visitation_num = 
| visitation_year = 
| refnum = 
| mpsub = 
| governing_body = 
}}

[edit] Blank template for infobox with locator map

{{Infobox nrhp
| name = 
| nrhp_type = 
| image = US_Locator_Blank.svg
| caption = 
| locator_x = 
| locator_y = 
| lat_degrees = 
| lat_minutes = 
| lat_seconds = 
| lat_direction = 
| long_degrees = 
| long_minutes = 
| long_seconds = 
| long_direction = 
| location = 
| nearest_city = 
| area = 
| built = 
| architect = 
| architecture = 
| designated =
| added = 
| established = 
| visitation_num = 
| visitation_year = 
| refnum = 
| mpsub = 
| governing_body = 
}}

[edit] Parameters

Most fields are optional because they use m:ParserFunctions, which allows fields to be hidden if they do not have a value or shown if they do have a value.

Wiki links [[]] are fine in any of the Infobox fields except coordinates.

Please spend some time at the National Register of Historic Places WikiProject article and its talk page for standards on presenting names and other data.

  • image
    • The preferred image is a good, clear one of the Place discussed in the article. However, when such is not available, a map (as in the first entry) should be used.
  • imagesize - optional (default: 235px), width of top image
    • This parameter should not be placed in template without a value, i.e. | imagesize =
  • caption - optional, but a caption will not be shown if there is no image.
  • locator_x/locator_y
    • these fields are to be used in conjunction with the map
    • When replacing the map with an image, make sure to eliminate any pre-existing locator dot by making locator_x and locator_y blank
    • If you know the latitude and longitude of the place you can enter that instead and leave this blank for a location map to be generated automatically.
  • locmapin - optional locator map for "Template:Location map" (default: USA); shows full USA map by calling "{{Location map USA}}".
  • mapwidth - optional width (default: 220), don't add "px".
  • lat/long
    • If you have only degrees and minutes, set the seconds to "0".
    • If you do not specify an image, but do specify latitude and longitude, a locator map will be generated. This locator map will default to {{Location map USA}} unless the locmapin parameter is specified. See Template:Location map/doc for a list of states for which specific location maps are available.
  • location/nearest_city
    • If the Place is in a city/town, enter it and the state in this field.
      (e.g., [[Orlando, Florida|Orlando]], [[Florida]])
      
      The "Nearest city" field may then be left blank.
    • If the Place is not in a city/town, enter the county and state in the "Location" field.
      (e.g., [[Citrus County, Florida|Citrus County]], [[Florida]])
      
      Then fill in the "Nearest city" field as appropriate.
  • area - primarily for use with national parks, historic districts, and the like
  • built - when the site was constructed (specific date or approximate year/century/millennium, as appropriate), discovered, or first inhabited/used
  • architect - the name(s) of the architects or designers of the building(s) or structure(s)
  • added - when the site was added to the National Register
  • visitation_num & visitation_year - primarily for use with national parks and/or when such information is available
  • refnum - the reference number assigned by the National Register
  • governing_body - the specific federal/state/local agency or organization that administers the site (very optional, as it is often difficult to determine this; if unsure, please leave blank)

[edit] Finding coordinates for the locator dot

There is a simple template tool named {{Locator grid}} which you can use to help with pinpointing the x and y coordinates for a locator dot. If you're using a popular locator map, you can test with the list of examples already included in the usage and instructions page. If you know the latitude and longitude it may be easier to simply leave the image parameter blank and let the template generate a locator map off of the geographic coordinates.

[edit] Under the Hood

[edit] Sub-Templates

This template calls the following sub-templates:

  • {{Superimpose}} (talk) provides the ability to overlay the locator dot on the base image.
  • {{Coord}} (talk) formats the coordinates and makes the link to other mapping resources.
  • {{Location map}} (talk) is used when no image is specified, but lat and long are.

[edit] Examples

[edit] Infobox with photo

The following wikicode creates the Photo Infobox, when a picture is available:

Hotel Thomas
U.S. National Register of Historic Places
Thomas Center west entrance
Thomas Center west entrance
Location: Alachua County, Florida
Nearest city: Gainesville, Florida
Built/Founded: 1910
Added to NRHP: July 16, 1973
Governing body: City of Gainesville
{{Infobox nrhp
| name = Hotel Thomas
| nrhp_type = 
| image = thomas-center-gville04.jpg
| caption = Thomas Center west entrance
| lat_degrees = 
| lat_minutes = 
| lat_seconds = 
| lat_direction = 
| long_degrees = 
| long_minutes = 
| long_seconds = 
| long_direction = 
| location = [[Alachua County, Florida]]
| nearest_city = [[Gainesville, Florida]]
| area = 
| built = [[1910]]
| architect = 
| architecture = 
| designated =
| added = [[July 16]], [[1973]]
| established = 
| visitation_num = 
| visitation_year =
| refnum = 
| mpsub = 
| governing_body = City of Gainesville
}}


[edit] Infobox with U.S. locator map using X and Y coordinates

The wikicode below creates the Map Infobox to the right:

City of Alachua Historic District
(U.S. Registered Historic District)
City of Alachua Historic District
Location: Alachua County, Florida
Nearest city: Alachua, Florida
Added to NRHP: July 14, 2000
Governing body: National Register
{{Infobox nrhp
| name = City of Alachua Historic District
| nrhp_type = hd
| image = US_Locator_Blank.svg
| imagesize = 240px
| locator_x = 189
| locator_y = 120
| location = [[Alachua County, Florida]]
| nearest_city = [[Alachua, Florida]]
| added = [[July 14]], [[2000]]
| governing_body = [[NRHP|National Register]]
}}


[edit] Infobox with U.S. locator map using geographic coordinates

The wikicode below creates the Map Infobox to the right, this uses the latitude and longitude to generate a locator map:

Episcopal Church of the Resurrection
U.S. National Register of Historic Places
Infobox nrhp/doc (USA)
Infobox nrhp/doc
Location: Cincinnati, Ohio
Coordinates: 39°7′38″N 84°42′13″W / 39.12722, -84.70361Coordinates: 39°7′38″N 84°42′13″W / 39.12722, -84.70361
Architect: Samuel Hannaford
Added to NRHP: April 13, 1977
MPS: Hannaford, Samuel, & Sons TR
Governing body: Private
{{Infobox nrhp
| name = Episcopal Church of the Resurrection
| mapwidth = 250 <!--don't add "px"-->
| lat_degrees = 39
| lat_minutes = 7
| lat_seconds = 38
| lat_direction = N
| long_degrees = 84
| long_minutes = 42
| long_seconds = 13
| long_direction = W
| location = [[Cincinnati, Ohio|Cincinnati]], [[Ohio]]
| architect = [[Samuel Hannaford]]
| added = [[April 13]], [[1977]]
| mpsub = Hannaford, Samuel, & Sons TR
| governing_body = Private
}}


[edit] Infobox with state locator map using geographic coordinates

The wikicode below creates the Map Infobox to the right, using the latitude and longitude and the locmapin parameter to generate a locator map for the state of Minnesota:

Rabideau Civilian Conservation Corps (CCC) Camp
U.S. National Register of Historic Places
Infobox nrhp/doc (Minnesota)
Infobox nrhp/doc
Nearest city: Blackduck, Minnesota
Coordinates: 47°38′24″N 94°32′55″W / 47.64, -94.54861Coordinates: 47°38′24″N 94°32′55″W / 47.64, -94.54861
Built/Founded: 1935
Architect: Civilian Conservation Corps
Added to NRHP: June 16, 1976
NRHP Reference#: 76001046 [1]
Governing body: Forest Service
{{Infobox nrhp
| name = Rabideau Civilian Conservation Corps (CCC) Camp
| locmapin = Minnesota
| lat_degrees = 47
| lat_minutes = 38
| lat_seconds = 24
| lat_direction = N
| long_degrees = 94
| long_minutes = 32
| long_seconds = 55
| long_direction = W
| nearest_city = [[Blackduck, Minnesota]]
| built = 1935
| architect = Civilian Conservation Corps
| added = [[June 16]], [[1976]]
| refnum = 76001046 <ref name="nris">{{cite web | url=http://www.nr.nps.gov/ | title=National Register Information System | date=2007-01-23 | work=National Register of Historic Places | publisher=National Park Service}}</ref>
| governing_body = Forest Service
}}


[edit] References from examples

  1. ^ National Register Information System. National Register of Historic Places. National Park Service (2007-01-23).

[edit] Sub-pages

For a current list of all template sub-pages, see:

http://en.wikipedia.org/w/index.php?title=Special%3APrefixindex&from=Template%3AInfobox+nrhp&namespace=0

[edit] See also