Template:Infobox NRHP/sandbox

{{#ifeq:{{{embed|}}}|yes||{{main other|{{short description|United States historic place|noreplace}}}}}}{{Infobox

|child={{#ifeq:{{{embed|}}}|yes|yes}}

|bodystyle = border-spacing:1px;{{#if:{{{borderless|}}}|border-collapse:collapse; border-spacing:0px; border:none; width:100%; margin:0px; font-size:100%; clear:none; float:none}}

|subheaderstyle = padding:0; border:none;

|subheader = {{infobox|child=yes

|data1 =

{{{name|{{PAGENAMEBASE}}}}}

|data2 = {{#ifeq:{{#invoke:String|find|source={{{refnum|}}}|target=^%s*(%d%d%d%d%d%d%d%d)|plain=false}}|0|{{#if:{{#switch:{{lc:{{{nrhp_type|}}}}}|cp|nhldcp=a}}{{#switch:{{lc:{{{nrhp_type2|}}}}}|cp|nhldcp=a}}{{#switch:{{lc:{{{nrhp_type3|}}}}}|cp|nhldcp=a}}{{#switch:{{lc:{{{nrhp_type4|}}}}}|cp|nhldcp=a}}||{{cat handler|main=Category:NRHP infobox needing cleanup}}}}|

{{#if:{{{delisted|}}}|Formerly listed on the }}U.S. National Register of Historic Places
}}

|data3 = {{#if:{{lc:{{{nrhp_type|}}}}}|{{#ifeq:{{lc:{{{nrhp_type}}}}}|nrhp||

{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|New York|New York#USA=New York (state)|USA Georgia=Georgia (U.S. state)|USA Washington|Washington=Washington (state)|District of Columbia|USA District of Columbia|Washington DC|Washington, DC|United States Washington, D.C.=Washington, D.C.|US Virgin Islands=the United States Virgin Islands|USA=the United States|{{{locmapin}}}}}|the United States}}}}}}
}}}}

|data4 = {{#if:{{lc:{{{nrhp_type2|}}}}}|{{#ifeq:{{lc:{{{nrhp_type2}}}}}|nrhp||

{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type2}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|New York|New York#USA=New York (state)|USA Georgia=Georgia (U.S. state)|USA Washington|Washington=Washington (state)|District of Columbia|USA District of Columbia|Washington DC|Washington, DC|United States Washington, D.C.=Washington, D.C.|US Virgin Islands=the United States Virgin Islands|USA=the United States|{{{locmapin}}}}}|the United States}}}}}}
}}}}

|data5 = {{#if:{{lc:{{{nrhp_type3|}}}}}|{{#ifeq:{{lc:{{{nrhp_type3}}}}}|nrhp||

{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type3}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|New York|New York#USA=New York (state)|USA Georgia=Georgia (U.S. state)|USA Washington|Washington=Washington (state)|District of Columbia|USA District of Columbia|Washington DC|Washington, DC|United States Washington, D.C.=Washington, D.C.|US Virgin Islands=the United States Virgin Islands|USA=the United States|{{{locmapin}}}}}|the United States}}}}}}
}}}}

|data6 = {{#if:{{lc:{{{nrhp_type4|}}}}}|{{#ifeq:{{lc:{{{nrhp_type4}}}}}|nrhp||

{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type4}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|New York|New York#USA=New York (state)|USA Georgia=Georgia (U.S. state)|USA Washington|Washington=Washington (state)|District of Columbia|USA District of Columbia|Washington DC|Washington, DC|United States Washington, D.C.=Washington, D.C.|US Virgin Islands=the United States Virgin Islands|USA=the United States|{{{locmapin}}}}}|the United States}}}}}}
}}}}

|data7 = {{#if:{{{designated_other1_name|{{{designated_other1|}}}}}}|

{{#ifeq:{{Designation/text|{{{designated_other1|}}}}}|Invalid designation|{{#if:{{{designated_other1_textcolor|}}}|{{auto link|{{{designated_other1_link}}}|{{{designated_other1_name}}}}}|{{auto link|{{{designated_other1_link}}}|{{{designated_other1_name}}}}}}}|{{Designation/text|{{{designated_other1|}}}}}}}{{#if:{{#switch:{{{designated_other1_num_position|both}}}|both|top=a}}|{{#if:{{{designated_other1_number|}}}| {{abbr|No.|number}} {{{designated_other1_number}}}}}}}
}}

|data8 = {{#if:{{{designated_other2_name|{{{designated_other2|}}}}}}|

{{#ifeq:{{Designation/text|{{{designated_other2|}}}}}|Invalid designation|{{#if:{{{designated_other2_textcolor|}}}|{{auto link|{{{designated_other2_link}}}|{{{designated_other2_name}}}}}|{{auto link|{{{designated_other2_link}}}|{{{designated_other2_name}}}}}}}|{{Designation/text|{{{designated_other2|}}}}}}}{{#if:{{#switch:{{{designated_other2_num_position|both}}}|both|top=a}}|{{#if:{{{designated_other2_number|}}}| {{abbr|No.|number}} {{{designated_other2_number}}}}}}}
}}

|data9 = {{#if:{{{designated_other3_name|{{{designated_other3|}}}}}}|

{{#ifeq:{{Designation/text|{{{designated_other3|}}}}}|Invalid designation|{{#if:{{{designated_other3_textcolor|}}}|{{auto link|{{{designated_other3_link}}}|{{{designated_other3_name}}}}}|{{auto link|{{{designated_other3_link}}}|{{{designated_other3_name}}}}}}}|{{Designation/text|{{{designated_other3|}}}}}}}{{#if:{{#switch:{{{designated_other3_num_position|both}}}|both|top=a}}|{{#if:{{{designated_other3_number|}}}| {{abbr|No.|number}} {{{designated_other3_number}}}}}}}
}}

}}

|image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.136|alt={{{alt|}}}}}

|caption1 = {{{caption|}}}

|image2 = {{#if:{{{district_map|}}}

|{{#invoke:InfoboxImage|InfoboxImage|image={{{district_map|}}}|size={{{map_width|}}}|sizedefault=frameless|upright=1.136|alt={{{map_alt|}}}}}

|{{#if:{{both|{{{locmapin|}}}|{{{coordinates|}}}{{#switch:{{#property:P625}}|unknown value|=|#default=1}}}}|{{Location map|{{{locmapin|USA}}}|border=infobox|float=center|alt={{{map_alt|}}}|relief={{{locmap_relief|}}}|coordinates={{{coordinates|}}}|label={{{map_label|{{{locmap_label|}}}}}}|label_width={{{label_width|}}}|label_size={{{label_size|}}}|position={{{label_position|{{{locmap_label_position|}}}}}}|background={{{label_background|}}}|marksize=7|width={{{map_width|250}}}|caption={{{map_caption|}}}}}

}}

}}

|caption2 = {{#if:{{{district_map|}}}|{{{map_caption|}}}}}

|image3 = {{#invoke:Infobox mapframe|auto|mapframe-frame-width=250}}

|caption3 = {{#invoke:Infobox mapframe|autocaption}}

|headerstyle=background:{{#if:{{{delisted|}}}|#ddd|{{Designation/color|NRHP}}}}

|datastyle = border: 0;

|labelstyle = font-weight:bold; border: 0;

|label1 = Location

|data1 = {{{location|}}}

|label2 = Nearest city

|data2 = {{{nearest_city|}}}

|label3 = {{#ifeq:{{{coord_display}}}|title||Coordinates}}

|data3 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark|region:{{Country abbreviation|United States|{{Infobox NRHP/locmapin2region|{{{locmapin|}}}}}}}}}|}}

|label4 = Area

|data4 = {{{area|}}}

|label5 = Built

|data5 = {{{built|}}}

|label6 = Built by

|data6 = {{{builder|}}}

|label7 = Architect

|data7 = {{{architect|}}}

|label8 = Engineer

|data8 = {{{engineer|}}}

|label9 = {{{customarchitect_title|}}}

|data9 = {{{customarchitect|}}}

|label10 = Architectural style

|data10 = {{{architecture|}}}

|label11 = Demolished

|data11 = {{{demolished|}}}

|label12 = Restored

|data12 = {{{restored|}}}

|label13 = Restored by

|data13 = {{{restored_by|}}}

|label14 = Visitation

|data14 = {{#if:{{{visitation_num|}}}|{{{visitation_num}}} {{#if:{{{visitation_year|}}}|({{{visitation_year}}})}}}}{{#if:{{{visitation_ref|}}}|{{{visitation_ref}}}}}

|label15 = Website

|data15 = {{{website|}}}

|label20 = Part of

|data20 = {{#if:{{{partof2|}}}

|{{Unbulleted list

|1={{#if:{{{partof|}}}|{{auto link|{{{partof|}}}}} {{#if:{{{partof_refnum|}}}|({{#invoke:String|replace|{{{partof_refnum}}}|(%d+)|[{{NRHP Focus|%1|url=yes}} #%1]|1|false}})}}}}

|2={{#if:{{{partof2|}}}|{{auto link|{{{partof2|}}}}} {{#if:{{{partof2_refnum|}}}|({{#invoke:String|replace|{{{partof2_refnum}}}|(%d+)|[{{NRHP Focus|%1|url=yes}} ID%1]|1|false}})}}}}

}}

|{{#if:{{{partof|}}}|{{auto link|{{{partof|}}}}} {{#if:{{{partof_refnum|}}}|({{#invoke:String|replace|{{{partof_refnum}}}|(%d+)|[{{NRHP Focus|%1|url=yes}} ID%1]|1|false}})}}}}

}}

|label21 = MPS

|data21 = {{{mpsub|}}}

|label22 = NRHP reference {{abbr|No.|number}}

|data22 = {{#if:{{{refnum|}}}|{{#invoke:String|replace|{{{refnum}}}|^%s*(%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}}}}{{#if:{{{increase_refnum|{{{increase1_refnum|}}}}}}| (original)
{{#invoke:String|replace|{{{increase_refnum|{{{increase1_refnum}}}}}}|(%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (increase{{#if:{{{increase2_refnum|}}}| 1}}){{#if:{{{increase2_refnum|}}}|
{{#invoke:String|replace|{{{increase2_refnum}}}|(%d%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (increase 2)}}{{#if:{{{increase3_refnum|}}}|
{{#invoke:String|replace|{{{increase3_refnum}}}|(%d%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (increase 3)}}{{#if:{{{increase4_refnum|}}}|
{{#invoke:String|replace|{{{increase4_refnum}}}|(%d%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (increase 4)}}}}

{{#if:{{{decrease_refnum|{{{decrease1_refnum|}}}}}}|
{{#invoke:String|replace|{{{decrease_refnum|{{{decrease1_refnum|}}}}}}|(%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (decrease{{#if:{{{decrease2_refnum|}}}| 1}}){{#if:{{{decrease2_refnum|}}}|
{{#invoke:String|replace|{{{decrease2_refnum}}}|(%d%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (decrease 2)}}{{#if:{{{decrease3_refnum|}}}|
{{#invoke:String|replace|{{{decrease3_refnum}}}|(%d%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (decrease 3)}}{{#if:{{{decrease4_refnum|}}}|
{{#invoke:String|replace|{{{decrease4_refnum}}}|(%d%d+)|[{{NRHP Focus|%1|url=yes}} %1]|1|false}} (decrease 4)}}}}

|label23 = {{#if:{{#switch:{{{designated_other1_num_position|both}}}|both|bottom=a}}|{{#ifeq:{{Designation/abbreviation|{{{designated_other1|}}}}}|???|{{uc:{{{designated_other1_abbr}}}}}|{{Designation/abbreviation|{{{designated_other1|}}}}}}} {{abbr|No.|number}}}}

|data23 = {{#if:{{#switch:{{{designated_other1_num_position|both}}}|both|bottom=a}}|{{{designated_other1_number|}}}}}

|label24 = {{#if:{{#switch:{{{designated_other2_num_position|both}}}|both|bottom=a}}|{{#ifeq:{{Designation/abbreviation|{{{designated_other2|}}}}}|???|{{uc:{{{designated_other2_abbr}}}}}|{{Designation/abbreviation|{{{designated_other2|}}}}}}} {{abbr|No.|number}}}}

|data24 = {{#if:{{#switch:{{{designated_other2_num_position|both}}}|both|bottom=a}}|{{{designated_other2_number|}}}}}

|label25 = {{#if:{{#switch:{{{designated_other3_num_position|both}}}|both|bottom=a}}|{{#ifeq:{{Designation/abbreviation|{{{designated_other3|}}}}}|???|{{uc:{{{designated_other3_abbr}}}}}|{{Designation/abbreviation|{{{designated_other3|}}}}}}} {{abbr|No.|number}}}}

|data25 = {{#if:{{#switch:{{{designated_other3_num_position|both}}}|both|bottom=a}}|{{{designated_other3_number|}}}}}

|header30 = {{#ifexpr:0{{#if:{{{designated_other1_date|}}}|1}}{{#if:{{{designated_other2_date|}}}|1}}{{#if:{{{designated_other3_date|}}}|1}}{{#if:{{{added|}}}|1}}{{#if:{{{increase|}}}|1}}{{#if:{{{increase2|}}}|1}}{{#if:{{{increase3|}}}|1}}{{#if:{{{decrease|}}}|1}}{{#if:{{{decrease2|}}}|1}}{{#if:{{{decrease3|}}}|1}}{{#if:{{{designated_nrhp_type|}}}|1}}{{#if:{{{designated_nrhp_type2|}}}|1}}{{#if:{{{designated_nrhp_type3|}}}|1}}{{#if:{{{designated_nrhp_type4|}}}|1}}{{#if:{{{delisted|}}}|1}}{{#if:{{{delisted_nrhp_type|}}}|1}}{{#if:{{{delisted_nrhp_type2|}}}|1}}{{#if:{{{delisted_nrhp_type3|}}}|1}}{{#if:{{{delisted_nrhp_type4|}}}|1}}{{#if:{{{delisted_other1_date|}}}|1}}{{#if:{{{delisted_other2_date|}}}|1}}{{#if:{{{delisted_other3_date|}}}|1}}{{#if:{{{sigdate1|{{{sigdate|}}}}}}|1}}{{#if:{{{sigdate2|}}}|1}}{{#if:{{{sigdate3|}}}|1}}>1|Significant dates}}

|label31 = {{{sigdate1_label|{{{sigdate_label|}}}}}}

|data31 = {{{sigdate1|{{{sigdate|}}}}}}

|label32 = {{{sigdate2_label|}}}

|data32 = {{{sigdate2|}}}

|label33 = {{{sigdate3_label|}}}

|data33 = {{{sigdate3|}}}

|label34 = Added to NRHP

|data34 = {{{added|}}}

|label35 = Boundary increase{{#if:{{{increase2|}}}|s}}

|data35 = {{{increase|{{{increase1|}}}}}}{{#if:{{{increase2|}}}|
{{{increase2}}}}}{{#if:{{{increase3|}}}|
{{{increase3}}}}}{{#if:{{{increase4|}}}|
{{{increase4}}}}}

|label36 = Boundary decrease{{#if:{{{decrease2|}}}|s}}

|data36 = {{{decrease|{{{decrease1|}}}}}}{{#if:{{{decrease2|}}}|
{{{decrease2}}}}}{{#if:{{{decrease3|}}}|
{{{decrease3}}}}}{{#if:{{{decrease4|}}}|
{{{decrease4}}}}}

|label37 = Designated {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type}}}}}}}

|data37 = {{{designated_nrhp_type|}}}

|label38 = Designated {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type2}}}}}}}

|data38 = {{{designated_nrhp_type2|}}}

|label39 = Designated {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type3}}}}}}}

|data39 = {{{designated_nrhp_type3|}}}

|label40 = Designated {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type4}}}}}}}

|data40 = {{{designated_nrhp_type4|}}}

|label41 = Designated {{#ifeq:{{Designation/abbreviation|{{{designated_other1|}}}}}|???|{{uc:{{{designated_other1_abbr}}}}}|{{Designation/abbreviation|{{{designated_other1|}}}}}}}

|data41 = {{{designated_other1_date|}}}

|label42 = Designated {{#ifeq:{{Designation/abbreviation|{{{designated_other2|}}}}}|???|{{uc:{{{designated_other2_abbr}}}}}|{{Designation/abbreviation|{{{designated_other2|}}}}}}}

|data42 = {{{designated_other2_date|}}}

|label43 = Designated {{#ifeq:{{Designation/abbreviation|{{{designated_other3|}}}}}|???|{{uc:{{{designated_other3_abbr}}}}}|{{Designation/abbreviation|{{{designated_other3|}}}}}}}

|data43 = {{{designated_other3_date|}}}

|label44 = Removed from NRHP

|data44 = {{{delisted|}}}

|label45 = Delisted {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type}}}}}}}

|data45 = {{{delisted_nrhp_type|}}}

|label46 = Delisted {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type2}}}}}}}

|data46 = {{{delisted_nrhp_type2|}}}

|label47 = Delisted {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type3}}}}}}}

|data47 = {{{delisted_nrhp_type3|}}}

|label48 = Delisted {{Infobox NRHP/conv|abbr|{{lc:{{{nrhp_type4}}}}}}}

|data48 = {{{delisted_nrhp_type4|}}}

|label49 = Delisted {{#ifeq:{{Designation/abbreviation|{{{designated_other1|}}}}}|???|{{uc:{{{designated_other1_abbr}}}}}|{{Designation/abbreviation|{{{designated_other1|}}}}}}}

|data49 = {{{delisted_other1_date|}}}

|label50 = Delisted {{#ifeq:{{Designation/abbreviation|{{{designated_other2|}}}}}|???|{{uc:{{{designated_other2_abbr}}}}}|{{Designation/abbreviation|{{{designated_other2|}}}}}}}

|data50 = {{{delisted_other2_date|}}}

|label51 = Delisted {{#ifeq:{{Designation/abbreviation|{{{designated_other3|}}}}}|???|{{uc:{{{designated_other3_abbr}}}}}|{{Designation/abbreviation|{{{designated_other3|}}}}}}}

|data51 = {{{delisted_other3_date|}}}

| header52 = {{{embedded|{{{module|}}}}}}

}}{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:Infobox NRHP with unknown parameter "_VALUE_"|ignoreblank=y| added | alt | architect | architecture | area | borderless | builder | built | caption | coordinates | customarchitect_title | customarchitect | decrease | decrease_refnum | decrease1 | decrease1_refnum | decrease2 | decrease2_refnum | decrease3 | decrease3_refnum | decrease4 | decrease4_refnum | delisted | delisted_nrhp_type | delisted_nrhp_type2 | delisted_nrhp_type3 | delisted_nrhp_type4 | delisted_other1_date | delisted_other2_date | delisted_other3_date | demolished | designated_nrhp_type | designated_nrhp_type2 | designated_nrhp_type3 | designated_nrhp_type4 | designated_other1 | designated_other1_abbr | designated_other1_color | designated_other1_date | designated_other1_link | designated_other1_name | designated_other1_num_position | designated_other1_number | designated_other1_textcolor | designated_other2 | designated_other2_abbr | designated_other2_color | designated_other2_date | designated_other2_link | designated_other2_name | designated_other2_num_position | designated_other2_number | designated_other2_textcolor | designated_other3 | designated_other3_abbr | designated_other3_color | designated_other3_date | designated_other3_link | designated_other3_name | designated_other3_num_position | designated_other3_number | designated_other3_textcolor | district_map | embed | engineer | image | image_size | increase | increase_refnum | increase1 | increase1_refnum | increase2 | increase2_refnum | increase3 | increase3_refnum | increase4 | increase4_refnum | label_background | label_position | label_size | label_width | location | locmap_label | locmap_label_position | locmap_relief | locmapin | map_alt | map_caption | map_label | map_width | mpsub | name | nearest_city | nocat | nrhp_type | nrhp_type2 | nrhp_type3 | nrhp_type4 | partof | partof_refnum | partof2 | partof2_refnum | refnum | restored | restored_by | sigdate | sigdate_label | sigdate1 | sigdate1_label | sigdate2 | sigdate2_label | sigdate3 | sigdate3_label | visitation_num | visitation_ref | visitation_year | website | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher | embedded | module }}{{Main other|{{#if:{{{nocat|}}}|Category:NRHP infobox with nocat}}}}

{{documentation}}