Bản mẫu:Infobox NRHP/doc

This template is part of WikiProject National Register of Historic Places. Examples are displayed at the bottom of the page.

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

**Blank Template With ALL Possible Parameters**

**Blank Template With Most Used Parameters**

**Parameters**
Most fields are optional because they use ParserFunctions, which allow fields to be hidden if no value is set.
Wikilinks are acceptable in any of the Infobox fields except coordinates and map parameters.
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.

**Designations**
name — Name of the NRHP. Preferably the exact name listed on the register
:Example format — name = Manzanar War Relocation Center.
added — Date that the NRHP was added to the register.
:Example format — added = July 30, 1976.
nrhp_type — Type of historic place (as defined by the National Park Service). Setting any value to this causes a bar to be shown across the top of the infobox with that designation and its standard color. Former designations grey out the bar and add the word "Former."
:Accepted values —
::"nhl" — National Historic Landmark
::"formernhl" — Former NHL
::"nhld" — National Historic Landmark District
::"formernhld" — Former NHLD
::"hd" — Historic District
::"formerhd" — Former HD
::"cp" — Contributing Property to a Historic District
::"nhldcp" — Contributing Property to a National Historic Landmark District
::"nmon" — National Monument
::"formernmon" — Former NMON
::"nhs" — National Historic Site
::"formernhs" — Former NHS
::"nmem" — National Memorial
::"formernmem" — Former NMEM
::"nhp" — National Historic Park
::"formernhp" — Former NHP
::"nb" — National Battlefield
::"formernb" — Former NB
::"nmp" — National Military Park
::"formernmp" — Former NMP
::"nbp" — National Battlefield Park
::"formernbp" — Former NBP
::"nhs" — National Historic Site
::"formernhs" — Former NHS
::"nhr" — National Historic Reserve
::"formernhr" — Former NHR
::"ihs" — International Historic Site
::"formerihs" — Former IHS
nrhp_type2 — Second type of historic place (some places may be designated as more than one); same accepted values as nrhp_type. Setting a value to this causes a second bar to be displayed across the top of the infobox.
nrhp_type3 — Third type of historic place (some places may be designated as more than one); same accepted values as nrhp_type. Setting a value to this causes a third bar to be displayed across the top of the infobox.
nrhp_type4 — Fourth type of historic place (some places may be designated as more than one); same accepted values as nrhp_type. Setting a value to this causes a fourth bar to be displayed across the top of the infobox.
partof — The historical district that a Contributing Property is a part of.
partof_refnum — The referecne number of the historical district that a Contributing Property is a part of.
designated_nrhp_type — Date the NRHP was designated a specific NPS title (NHL, NMEM, etc.). This parameter requires an acceptable value in nrhp_type.
:Example formats  —
::If the site was designated a National Historic Landmark on January 1, 2000:
:::nrhp_type = nhl, and designated_nrhp_type = January 1, 2000.
::Works with former designations as well; if the site is a former NHL, designated_nrhp_type is the date on which it was added, not delisted. (There is another parameter for that date)
:::nrhp_type = formernhl, and designated_nrhp_type = January 1, 2000.
designated_nrhp_type2 — Date the NRHP was designated a second specific NPS title (NHL, NMEM, etc.). Requires an acceptable value in nrhp_type2 and works like designated_nrhp_type.
designated_nrhp_type3 — Date the NRHP was designated a third specific NPS title (NHL, NMEM, etc.). Requires an acceptable value in nrhp_type3 and works like designated_nrhp_type.
designated_nrhp_type4 — Date the NRHP was designated a fourth specific NPS title (NHL, NMEM, etc.). Requires an acceptable value in nrhp_type3 and works like designated_nrhp_type.

**Local Designations**
designated_other1_name — Allows for a local designation (such as city landmark) to be specified. Setting a value to this causes a bar to be displayed across the top of the infobox under the NPS bars.
:Example format — designated_other1_name = California Historic Landmark.
designated_other1_abbr — NPS designations all have a standard abbreviation, and so do some local designations. If there is no standard abbreviation, this parameter is not required, but it is suggested that the user makes up an abbreviation for the sake of space in the infobox.
:Example format — designated_other1_abbr = CHL.
designated_other1_color — Allows a user to set the background color of the bar at the top of the infobox. Accepts standard HTML colors and any hex value. Default value is white.
:Example format — designated_other1_color = blue.
:Example format — designated_other1_color = #073ACF.
designated_other1_link — If there is a Wikipedia article describing the local designation, type the name of it into this parameter, and the title bar will link to that page.
:Example format — designated_other1_link = List of California Historical Landmarks
designated_other1_date — Date that the site was declared the local designation set in designated_other1_name.
:Example format — designated_other1_date = January 1, 1972.
designated_other1_number — Much like the NRHP reference number (refnum parameter explained below), some local designations have numbers (i.e. California Historic Landmark #850). This parameter allows the user to display that number.
:Example format — designated_other1_number = 850.
designated_other1_num_position — Tells the infobox where to display the number declared above. Number can be displayed in the local designation's title bar (set parameter to "top"), in the information section of the infobox (set parameter to "bottom"), or both locations (set parameter to "both"). Default is both.
:Example format — designated_other1_num_position = bottom.
designated_other2_name, etc. — This parameter and other designated_other parameters work exactly the same as the designated_other1 parameters explained above, creating a separate bar for each local designation. They allow the user to display up to four local designations.
designated_other3_name, etc. — This parameter and other designated_other parameters work exactly the same as the designated_other1 parameters explained above, creating a separate bar for each local designation. They allow the user to display up to four local designations.
designated_other4_name, etc. — This parameter and other designated_other parameters work exactly the same as the designated_other1 parameters explained above, creating a separate bar for each local designation. They allow the user to display up to four local designations.

**Delistings**
delisted — Date that the NRHP was removed from the register. Setting a value to this parameter causes the NRHP bar to turn grey and adds the word "Former" to the beginning.
:Example format — delisted = January 2, 2000.
delisted_nrhp_type — Date that the site was delisted from a specific NPS title (NHL, NMEM, etc.). Requires an acceptable value in nrhp_type (which should be a former designation such as "formernhl," but doesn't have to be).
:Example formats —
::If the site was designated a National Historic Landmark on January 1, 2000, and delisted on January 2, 2000:
:::nrhp_type = formernhl, designated_nrhp_type = January 1, 2000, and delisted_nrhp_type = January 2, 2000.
delisted_nrhp_type2 — Date the NRHP was delisted from a second specific NPS title (NHL, NMEM, etc.). Requires an acceptable value in nrhp_type2 and works like delisted_nrhp_type.
delisted_nrhp_type3 — Date the NRHP was delisted from a third specific NPS title (NHL, NMEM, etc.). Requires an acceptable value in nrhp_type3 and works like delisted_nrhp_type.
delisted_nrhp_type4 — Date the NRHP was delisted from a fourth specific NPS title (NHL, NMEM, etc.). Requires an acceptable value in nrhp_type4 and works like delisted_nrhp_type.

**Image/Map**
image — Name of main image displayed. Only the title of the image. If left blank, no image is shown.
:Example format — image = Manzanar Relocation Center, Manzanar, California. Street scene of barrack homes... - NARA - 538128 - restored.png.
image_size — Size of main image in pixels (Do not include "px"). Default 250.
:Example format — image_size = 400.
alt — Alt text for main image. This is for visually impaired readers, and typically has little in common with the image's caption; see WP:ALT.
:Example format — alt = Small buildings in rows in a dusty flat area. A tattered U.S. flag flies from a pole in the foreground, and tall mountains dominate the background below a sky with clouds.
caption — Caption for main image.
:Example format — caption = A hot windstorm brings dust from the surrounding desert July 3, 1942.
locmapin — If you want a map to be displayed, set this parameter to the state in which the NRHP is located. Set to "USA" if you want a map of the entire USA displayed. If the parameter is left blank, no map will be displayed.
:Example format — locmapin = California.
map_width — Width of the map in pixels (Do not include "px"). Default 235.
:Example format — mapwidth = 275.
map_alt — Alt text for map
:Example format — map_alt = Located in California, close to the midpoint of the diagonal border between California and Nevada.
map_caption — Caption displayed under the map.
:Example format — map_caption = Location of Thomas Center in Florida.

**Coordinates**
Coordinates can be input in either Degrees-Minutes-Seconds (DMS) format or in decimal format, and may be displayed in the opposite format if desired.  For example, if you enter  and want it to display in DMS format, you could simply add , or if you had DMS coordinates and wanted to display them in decimal format, you can use .
DMS format: Setting values for lat_degrees and long_degrees makes the locator dot appear on the locator map. If the following format is used, do not use either of the other two formats.
:lat_degrees — Degrees section of latitude. (0 - 180)
::Example format — lat_degrees = 36.
:lat_minutes — Minutes section of latitude. (0 - 60)
::Example format — lat_minutes = 43.
:lat_seconds — Seconds section of latitude. (0 - 60)
::Example format — lat_seconds = 42.
:lat_direction — Direction. (N or S)
::Example format — lat_direction = N.
:long_degrees — Degrees section of longitude. (0 - 180)
::Example format — long_degrees = 118.
:long_minutes — Minutes section of longitude. (0 - 60)
::Example format — long_minutes = 9.
:long_seconds — Seconds section of longitude. (0 - 60)
::Example format — long_seconds = 16.
:long_direction — Direction. (E or W).
::Example format — long_direction = W.
DEC format: Setting values for latitude and longitude makes the locator dot appear on the locator map. If the following format is used, do not use either of the other two formats.
:latitude — Latitude in decimals
::Example format — latitude = 36.6453.
:longitude — Longitude in decimals
::Example format — longitude = -118.1567.
Either format — The following format will not cause the locator dot to appear on the locator map. If the following format is used, do not use either of the other two formats.
:coordinates — Coordinates in any display format desired
::Example format — coordinates = 36.6453, -118.1567.
::Example format — coordinates = 36º43'42" N, 118º9'16" W.
Coordinate Parameters — This infobox uses Coord to display coordinates and link them to an interactive map of the location. An explanation of acceptable parameters can be found here.
:Examples —
::coord_parameters = region:US_type:landmark
::coord_display = inline
::coord_format = dms

**Site Info**
location — City in which NRHP is located.
:Example format — .
nearest_city — If NRHP is located in a mostly rural area, this parameter should be used instead of location.
:Example format — .
area — Area of the NRHP. Mostly used with districts, parks, and sites.  tags may be used to display standard alongside metric measurements.
:Example format — area = 814 acres.
:Example format — area = .
built — If the NRHP is a building or manmade structure, when it was built.
:Example format — built = 1942.
architect — Architect of the NRHP (building or manmade structure).
:Example format — architect = .
architecture — Architectural style.
:Example format — architecture = .
visitation_num — Number of visitors to the site.
:Example format — visitation_num = 81,344.
visitation_year — Year in which visitation_num occurred.
:Example format — visitation_year = 2007.
refnum — NRHP Reference Number.
:Example format — refnum = 76000484.
mpsub — If the NRHP was submitted under a Multiple Property Submission, type its name here.
:Example format — mpsub = California MRA.
governing_body — Body that owns/operates the NRHP or its site.
:Example format — governing_body = .

**Embedding**
Many articles about National Register of Historic Places listings may overlap with other categories (Point Reyes Lighthouse is also a lighthouse and contains a lighthouse infobox). Sometimes it may be necessary or desirable to combine the NRHP infobox with the other infobox(es) in an article to conserve space or to reduce redundancy. This infobox accepts a special parameter that does just this. By adding "embed = yes" to the first line of the infobox code, one can embed this infobox into another, creating the illusion of one continuous infobox. Though the process is a little complicated, it is possible to insert this infobox into most if not all other infoboxes in one of the following methods:

**Standard infobox**
This method normally works for most major infoboxes. In order to embed this infobox, first look at the pre-existing infobox. If the NRHP infobox should be displayed at the bottom (most likely the case) of the infobox, figure out which parameter is displayed at the bottom of the infobox. NOTE: The last parameter displayed is not always the last parameter in the code. Parameters can be written in any order in the code, but always display in a preset order according to the coding of the infobox. For example, in the following code, the USCG number is the last information shown, but not the last parameter in the code:
Once the last parameter displayed is determined, find that parameter in the code. In the above example, the USCG number is the last thing displayed, so the parameter you're looking for is most likely USCG = 6-0385. To embed the infobox, simply add a line break after this parameter and insert the NRHP infobox code with embed = yes as the first parameter. Parameters which appear in both infoboxes can usually be eliminated from one or the other to avoid repeating information. The final code and output for the above example would be:

**Examples**

**Standard NRHP**
The infobox to the right is an example of what the Manzanar infobox would look like if the site had no NPS or local designations.

**More than one NRHP type**
Notice that nrhp_type and nrhp_type2 contain the NPS designation, and designated_nrhp_type and designated_nrhp_type2 contain the designation dates for the corresponding nrhp_types.

**Delisted NRHP**
If Manzanar had been delisted from the NRHP. delisted contains the date on which the site was delisted, and it causes the NRHP bar at the top of the infobox to turn grey and adds "Formerly listed."

**Delisted from NPS designation but not NRHP**
A property can sometimes be delisted from a certain NPS title, but still remain on the NRHP. Notice that since the site is no longer an NHS, nrhp_type2 = formernhs. delisted_nrhp_type2 contains the date on which the site was delisted as an NHS, and designated_nrhp_type2 contains the date on which the site was originally listed or designated as an NHS.

**One or more local designations**
Notice that with designated_other1_num_position = top, the CHL# is only displayed in the title bar, not the information section. designated_other2_num_position is set to "bottom," so it does the opposite. If there were a third local designation, and its num_position parameter was left blank, it would display in the default manner - both top and bottom.
Also notice that the first local designation is linked, and the second is not. This is because designated_other1_link is set to the page List of California Historical Landmarks, and designated_other2_link is left empty.

**Only Image - No Map**
Notice the Coordinates are still displayed even though the map is not. Also, since designated_other1_num_position and designated_other2_num_position are left blank, the number is displayed in both the top and the bottom.

**Only Map - No Image**
Thể loại:National Register of Historic Places templates