Template:Infobox Pennsylvania historic site/doc

This template is part of WikiProject Pennsylvania. Examples are displayed at the bottom of the page. It is based on NRHP Infobox. It is intended for historic structures, locations or sites whose historic significance is signified by a Pennsylvania state historic marker, as well other local historic and landmark designations in Pennsylvania, that are not also listed on the National Register of Historic Places. If they are listed in the National Register, please use the NRHP Infobox and use the NRHP infbox's local designations parameters with a consistent color scheme to that which is used here.

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

{| style="background:transparent; margin:0px; width:100%"
 * width=50% |
 * width=50% |

Blank template with ALL possible parameters

 * style="vertical-align:top" |

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 Pennsylvania WikiProject and its talk page for standards on presenting names and other data.

Designations
name — Name of the landmark or site. Typically the name of the article, and preferably the exact name listed on Pennsylvania Historical and Museum Commission database, or other local historical databases as appropriate.

Note that so far, only local Pittsburgh historic designations are thoroughly documented with Wikipedia articles, so those designations are the only other available values for this parameter. However, additional designations can be added with the open "local designation" parameters (see below).


 * Example format — name = Manzanar War Relocation Center.

PAhistoric_type — Type of historic designation. Setting any value to this causes a bar to be shown across the top of the infobox with that designation and its standard color.

PAhistoric_type2, PAhistoric_type3 — Second, and third type of historic landmark (some places may be designated as more than one); same accepted values as PAhistoric_type. Setting a value to any these causes multiple bars to be displayed across the top of the infobox.

Designation dates
designated_PAhistoric_type — Date the Pennsylvania Historical Marker was dedicated or other landmarks were so designated. This parameter requires an acceptable value in PAhistoric_type.
 * Example formats —
 * If the Pennsylvania Historical Marker was dedicated on January 1, 2000:
 * PAhistoric_type = PA, and designated_PAhistoric_type = January 1, 2000.

designated_PAhistoric_CP — Date that a City of Pittsburgh historic designation was made
 * Example formats —
 * If the City of Pittsburgh Historic Structure was designated on February 22, 1977:
 * PAhistoric_type = CPHStructure, and designated_PAhistoric_CP = February 22, 1977.

designated_PAhistoric_PHLF — Year that a Pittsburgh History & Landmarks Foundation landmark was designated.
 * Example formats —
 * If the Pittsburgh History and Landmarks Foundation landmark was designated in 2003:
 * PAhistoric_type = PHLF, and designated_PAhistoric_PHLF = 2003.

designated_PAhistoric_PRHP - Date the buildings, structures, sites, objects, interiors or districts was added to the Philadelphia Register of Historic Places.
 * Example formats —
 * If the Philadelphia Register of Historic Places was designated on January 1, 2000:
 * PAhistoric_type = PRHP, and designated_PAhistoric_PRHP = January 1, 2000.

Note that so far only local Pittsburgh and Philadelphia designations are sufficiently documented and available. These fields requires an acceptable value in PAhistoric_type.

Wildcard 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 PAhistoric bars.
 * Example format — designated_other1_name = Exampleville Historic Landmark.

designated_other1_short — For the sake of space in the infobox, a shortened name or abbreviation for the local designation can be entered here.
 * Example format — designated_other1_short = 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_textcolor — Allows a user to set the text color of the title in the bar at the top of the infobox. Accepts standard HTML colors and any hex value.
 * Example format — designated_other1_textcolor = gold.
 * Example format — designated_other1_textcolor = #ffc94b.

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 Exampleville 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, some local designations have numbers (i.e. Exampleville 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.

Image/Map
image — Name of main image displayed. Only the title of the image. If left blank, no image is shown.
 * Example format — image = AlleghenyArsenal.jpg.

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 = The low stone wall is seen running along the 40th Street side of Arsenal Park with the Pennsylvania Historical Marker for the Allegheny Arsenal to the left and, on the right behind some trees, a portion of the low-lying stone powder magazine is visible in the park.

caption — Caption for main image.
 * Example format — caption = The 40th St. side of the site of the former Allegheny Arsenal. The powder magazine can be see on the right.

locmapin — If you want a map of Pennsylvania to be displayed, set this parameter to "USA Pennsylvania". If the parameter is left blank, no map will be displayed. In some larger cities and some counties, more local maps can be displayed (e.g. "Pittsburgh" displays a map of Pittsburgh). For a complete listing of maps available, see Category:United States location map modules.
 * Example format — locmapin = Pittsburgh.

district_map – For districts, a map of the district can be displayed if one exists rather than a pinpoint map of the state. Set this value to the image containing the district map. Complete details about districts are explained below.
 * Example format – district_map = McClellan Heights district (Davenport).svg.

map_width — Width of the map in pixels (Do not include "px"). Default 235. This parameter is compatible with both a pinpoint map and a district map.
 * Example format — mapwidth = 275.

map_alt — Alt text for map. This parameter is compatible with both a pinpoint map and a district map.
 * Example format — map_alt = Located in the Lawrenceville section of Pittsburgh in Allegheny County, Western Pennsylvania.

map_caption — Caption displayed under the map. This parameter is compatible with both a pinpoint map and a district map.
 * Example format — map_caption =Location of the Allegheny Arsenal in Pittsburgh.

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. Use the coord template to enter coordinates and control their display.


 * coordinates — Coordinates in any display format desired
 * Example format — coordinates = 36.6453°N, -118.1567°W .
 * Example format — coordinates = 36.72833°N, -118.15444°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.

Site information
location — City in which the historic site or landmark is located.
 * Example format — location = Arsenal Park, Lawrenceville, Pittsburgh, Pennsylvania .

nearest_city — If the marker or site is located in a mostly rural area, this parameter should be used instead of location.
 * Example format — nearest_city = Altoona, Pennsylvania .

area — Area of a historic site or district. Mostly used with districts, but could be also used with parks and sites. undefined undefined tags may be used to display standard alongside metric measurements.
 * Example format — area = 30 acres.
 * Example format — area = 30 acre .

built — If the landmark is a building or structure has been removed, destroyed, raized, or demolished.
 * Example format — built = 1814.

demolished — If the landmark is a building or manmade structure, when it was built.
 * Example format — demolished = 1910 or demolished = partly.

architect — Architect of the landmark (building or manmade structure).
 * Example format — architect = Benjamin Henry Latrobe? .

architecture — Architectural style.
 * Example format — architecture = Classical Revival .

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.

governing_body — Body that owns/operates the NRHP or its site.
 * Example format — governing_body = City of Pittsburgh .

Embedding
Many articles about Pennsylvania or local historic sites or landmarks may overlap with other categories. For example, Pittsburgh's Hot Metal Bridge is also a bridge that contains a bridge infobox. Sometimes it may be necessary or desirable to combine the PAhistoric 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.

Place this infobox inside the module or embedded parameter or any such variant of the parent infobox.



Districts
Some local designations, such as City of Pittsburgh Designated Historic Districts, are designations for a collection of related structures or areas that have a certain theme or event in common with each other. There is a special functionality of the infobox to replace the normal pinpoint locator map with an image file containing a map of the district (Example here). This is useful because a district may cover a very large area while the pinpoint can only show a single point. However, be aware that If a district map is used, the location map will be suppressed.

The parameters for the district map are:

district_map – File name of the image of the map of the district. "Image:" or "File:" should not be included.
 * Example format – district_map = Beaver Historic District map.png.

map_caption, map_width, and map_alt are all compatible with this map as well as the pinpont map. For an explanation of these parameters, see above.

Standard PA Historic Infobox
The infobox to the right is an example of what the Altoona Works (Pennsylvania Railroad Shops) infobox would look like. The site has not other local designations.

More than one Pennsylvania historic type
This is the same example as shown at the top. Notice that PAhistoric_type, "PAhistoric_type2", and PAhistoric_type3 each contain a pre-defined PAhistoric designation ("PA", "CPHStructure", and "PHLF", respectively). Likewise, the designated_PAhistoric_type, designated_PAhistoric_CP, and designated_PAhistoric_PHLF contain the corresponding dedication/designation dates for the respective historic designations (although, in this example, the dedication date for the PA Historical Marker is listed as "n/a" in the PHMC database).

One or more local designations
Notice that with designated_other1_num_position = top, the Hypothetical Blair County historic designation # 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 Blair County, and designated_other2_link is left empty.

Only Image - No Map
Notice the Coordinates are still displayed even though the map is not.