Template:Infobox nrhp/doc

< Template:Infobox nrhp
Revision as of 02:30, 4 February 2009 by Budlight (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
colspan="2" style="font-size: larger; Template:NRHP color text-align: center" | Humpback Covered Bridge
colspan=2 Template:Infobox nrhp/NRHP nrhp
Template:Superimpose
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°03′24″W / 37.80056°N 80.05667°W / 37.80056; -80.05667Coordinates: 37°48′02″N 80°03′24″W / 37.80056°N 80.05667°W / 37.80056; -80.05667
Built/Founded: 1810s
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.

Usage

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

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 = 
}}

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 = 
}}

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.

  • nrhp_type - this creates a sub-banner, defaulting to National Register of Historic Places. Other options include:
    • cp - Registered Historic District Contributing Property
    • hd - Registered Historic District
    • nbat - National Military Park
    • nhl - National Historic Landmark
    • nhld - National Historic Landmark District
    • nhs - National Historic Site
    • nmem - National Memorial
    • nmon - National Monument
  • 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)
  • architecture - the style of architecture (see Category:Architectural styles for common styles)
  • 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
  • mpsub - if part of a Multiple Property Submission, the title of that listing should be included here
  • 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)

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.

Under the Hood

Microformat

Template:UF-hcard-geo

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.

Examples

Infobox with photo

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

colspan="2" style="font-size: larger; Template:NRHP color text-align: center" | Hotel Thomas
colspan=2 Template:Infobox nrhp/NRHP nrhp
Template:Superimpose
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
}}


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

The wikicode below creates the Map Infobox to the right:

colspan="2" style="font-size: larger; Template:NRHP color text-align: center" | City of Alachua Historic District
colspan=2 Template:Infobox nrhp/NRHP hd
Template:Superimpose
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]]
}}


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:

colspan="2" style="font-size: larger; Template:NRHP color text-align: center" | Episcopal Church of the Resurrection
colspan=2 Template:Infobox nrhp/NRHP nrhp
[[image:Template:Location map USA|250px|Infobox nrhp/doc is located in Template:Location map USA]]
<div style="position: absolute; z-index: 2; top: Expression error: Unrecognized punctuation character "[".%; left: Expression error: Unexpected < operator.%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; left: -Expression error: Unrecognized punctuation character "[".px; top: -Expression error: Unrecognized punctuation character "[".px; width: Template:Location map USApx; font-size: Template:Location map USApx;">[[Image:Template:Location map USA|Template:Location map USAxTemplate:Location map USApx|Infobox nrhp/doc]]
Location: Cincinnati, Ohio
Coordinates: 39°7′38″N 84°42′13″W / 39.12722°N 84.70361°W / 39.12722; -84.70361Coordinates: 39°7′38″N 84°42′13″W / 39.12722°N 84.70361°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
}}


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:

colspan="2" style="font-size: larger; Template:NRHP color text-align: center" | Rabideau Civilian Conservation Corps (CCC) Camp
colspan=2 Template:Infobox nrhp/NRHP nrhp
[[image:Template:Location map Minnesota|220px|Infobox nrhp/doc is located in Template:Location map Minnesota]]
<div style="position: absolute; z-index: 2; top: Expression error: Unrecognized punctuation character "[".%; left: Expression error: Unexpected < operator.%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; left: -Expression error: Unrecognized punctuation character "[".px; top: -Expression error: Unrecognized punctuation character "[".px; width: Template:Location map Minnesotapx; font-size: Template:Location map Minnesotapx;">[[Image:Template:Location map Minnesota|Template:Location map MinnesotaxTemplate:Location map Minnesotapx|Infobox nrhp/doc]]
Nearest city: Blackduck, Minnesota
Coordinates: 47°38′24″N 94°32′55″W / 47.64°N 94.54861°W / 47.64; -94.54861Coordinates: 47°38′24″N 94°32′55″W / 47.64°N 94.54861°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
}}


References from examples

  1. "National Register Information System". National Register of Historic Places. National Park Service. 2007-01-23. http://www.nr.nps.gov/. 

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

See also

  • Template:Infobox nrhp/coding - notes on the coding of this template.
  • Template:Infobox nrhp map - a variation of this template that allows displaying both a top-image & bottom-map, in the style of city/town infoboxes.