Templat:Kotak info NRHP: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
Zamwan (bincang | sumb.)
Tiada ringkasan suntingan
Pengemasan.
Baris 1:
{{Infobox
|child={{#ifeq:{{{embed|}}}|yes|yes}}
|bodystyle=width:250px; border-spacing:1px;{{#if:{{{borderless|}}}|border-collapse:collapse; border-spacing:0px; border:none; width:100%; margin:0px; font-size:100%; clear:none; float:none}}
|data1 = <div style="width:100%; text-align:center; font-size:105%; font-weight:bold; background:{{Designation/color|NRHP|color}}; line-height:1.5">{{{name<includeonly>|{{PAGENAME}}</includeonly>}}}</div>
|data2 = {{#if:{{{refnum<includeonly>|</includeonly>}}}|<div style="width:100%; text-align:center; line-height:1.5; background:{{#if:{{{delisted|}}}|&#35;ddd|{{Designation/color|NRHP|color}}}};">{{#if:{{{delisted|}}}|[[ListDaftar of delistedproperti National Register of Historic Places propertiesyang dihapus|FormerlyPernah listedterdaftar]] on thedi&nbsp;}}[[UnitedAmerika StatesSerikat|U.S.]] [[DaftarNational TempatRegister Bersejarahof NegaraHistoric Places]]</div>|{{#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=[[CategoryKategori:NRHP infobox needing cleanup]]}}}}}}
|data3 = {{#if:{{lc:{{{nrhp_type<includeonly>|</includeonly>}}}}}|{{#ifeq:{{lc:{{{nrhp_type}}}}}|nrhp||<div style="width:100%; text-align:center; line-height:1.4; background:{{Infobox NRHP/conv|color|{{lc:{{{nrhp_type}}}}}}}">{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|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}}}}}}</div>}}}}
|data4 = {{#if:{{lc:{{{nrhp_type2<includeonly>|</includeonly>}}}}}|{{#ifeq:{{lc:{{{nrhp_type2}}}}}|nrhp||<div style="width:100%; text-align:center; line-height:1.5; background:{{Infobox NRHP/conv|color|{{lc:{{{nrhp_type2}}}}}}}">{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type2}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|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}}}}}}</div>}}}}
|data5 = {{#if:{{lc:{{{nrhp_type3<includeonly>|</includeonly>}}}}}|{{#ifeq:{{lc:{{{nrhp_type3}}}}}|nrhp||<div style="width:100%; text-align:center; line-height:1.5; background:{{Infobox NRHP/conv|color|{{lc:{{{nrhp_type3}}}}}}}">{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type3}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|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}}}}}}</div>}}}}
|data6 = {{#if:{{lc:{{{nrhp_type4<includeonly>|</includeonly>}}}}}|{{#ifeq:{{lc:{{{nrhp_type4}}}}}|nrhp||<div style="width:100%; text-align:center; line-height:1.5; background:{{Infobox NRHP/conv|color|{{lc:{{{nrhp_type4}}}}}}}">{{Infobox NRHP/conv|text|{{lc:{{{nrhp_type4}}}}}|{{#if:{{{nocat|}}}|nocat|{{#if:{{{locmapin|}}}|{{#switch:{{{locmapin}}}|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}}}}}}</div>}}}}
|data7 = {{#if:{{{designated_other1_name<includeonly>|{{{designated_other1|}}}</includeonly>}}}|<div style="width:100%; text-align:center; line-height:1.5; background:{{#ifeq:{{Designation/text|{{{designated_other1|}}}|color}}|Invalid designation&#35;FFF|{{{designated_other1_color|#FFF}}}|{{Designation/color|{{{designated_other1|}}}|color}}}}">{{#ifeq:{{Designation/text|{{{designated_other1|}}}|text}}|Invalid designation|{{#if:{{{designated_other1_textcolor|}}}|{{auto link|{{{designated_other1_link}}}|<span style{{=}}"color:{{{designated_other1_textcolor}}}">{{{designated_other1_name}}}</span>}}|{{auto link|{{{designated_other1_link}}}|{{{designated_other1_name}}}}}}}|{{Designation/text|{{{designated_other1|}}}|text}}}}{{#if:{{#switch:{{{designated_other1_num_position|both}}}|both|top=a}}|{{#if:{{{designated_other1_number<includeonly>|</includeonly>}}}|&nbsp;<nowiki>#</nowiki>{{{designated_other1_number}}}}}}}</div>}}
|data8 = {{#if:{{{designated_other2_name<includeonly>|{{{designated_other2|}}}</includeonly>}}}|<div style="width:100%; text-align:center; line-height:1.5; background:{{#ifeq:{{Designation/text|{{{designated_other2|}}}|color}}|Invalid designation&#35;FFF|{{{designated_other2_color|#FFF}}}|{{Designation/color|{{{designated_other2|}}}|color}}}}">{{#ifeq:{{Designation/text|{{{designated_other2|}}}|text}}|Invalid designation|{{#if:{{{designated_other2_textcolor|}}}|{{auto link|{{{designated_other2_link}}}|<span style{{=}}"color:{{{designated_other2_textcolor}}}">{{{designated_other2_name}}}</span>}}|{{auto link|{{{designated_other2_link}}}|{{{designated_other2_name}}}}}}}|{{Designation/text|{{{designated_other2|}}}|text}}}}{{#if:{{#switch:{{{designated_other2_num_position|both}}}|both|top=a}}|{{#if:{{{designated_other2_number<includeonly>|</includeonly>}}}|&nbsp;<nowiki>#</nowiki>{{{designated_other2_number}}}}}}}</div>}}
|data9 = {{#if:{{{designated_other3_name<includeonly>|{{{designated_other3|}}}</includeonly>}}}|<div style="width:100%; text-align:center; line-height:1.5; background:{{#ifeq:{{Designation/text|{{{designated_other2designated_other3|}}}|color}}|Invalid designation&#35;FFF|{{{designated_other3_color|#FFF}}}|{{Designation/color|{{{designated_other3|}}}|color}}}}">{{#ifeq:{{Designation/text|{{{designated_other3|}}}|text}}|Invalid designation|{{#if:{{{designated_other3_textcolor|}}}|{{auto link|{{{designated_other3_link}}}|<span style{{=}}"color:{{{designated_other3_textcolor}}}">{{{designated_other3_name}}}</span>}}|{{auto link|{{{designated_other3_link}}}|{{{designated_other3_name}}}}}}}|{{Designation/text|{{{designated_other3|}}}|text}}}}{{#if:{{#switch:{{{designated_other3_num_position|both}}}|both|top=a}}|{{#if:{{{designated_other3_number<includeonly>|</includeonly>}}}|&nbsp;<nowiki>#</nowiki>{{{designated_other3_number}}}}}}}</div>}}
|data10 = {{#invokeif:InfoboxImage{{{image<includeonly>|InfoboxImage</includeonly>}}}|image=[[Berkas:{{{image|<noinclude>Example.png</noinclude>}}}|size={{{image_size|250px250}}}|sizedefault=frameless|upright=1.14px|alt={{{alt|}}}]]}}
|data11 = {{#if:{{{caption<includeonly>|</includeonly>}}}|<div style="font-size:90%;">{{{caption}}}</div>|}}
|data12 = {{#if:{{{district_map|}}}|<center><div class="center" style="width:auto; margin-left:auto; margin-right:auto; width:{{{map_width|240}}}px">{{#invoke[[Berkas:InfoboxImage|InfoboxImage|image={{{district_map}}}|size={{{map_width|235px235}}}|sizedefault=frameless|upright=1.07px|alt={{{map_alt|}}}}}]]</div>
{{#if:{{{map_caption|}}}|<div style="background:transparent; width:{{{map_width|240}}}px; font-size:90%">{{{map_caption}}}</div>}}</center>}}
|data13 = {{#if:{{{district_map|}}}||{{#if:{{{locmapin<includeonly>|</includeonly>}}}|{{#if:{{{lat_degrees|{{{latitude<includeonly>|</includeonly>}}}}}}{{{long_degrees|{{{longitude<includeonly>|</includeonly>}}}}}}|<center>{{Location map|{{{locmapin|USA}}}|float=center|alt={{{map_alt|}}}|relief={{{locmap_relief|}}}|lat={{{latitude|<noinclude>25</noinclude>}}}|lat_deg={{{lat_degrees|<noinclude>4225</noinclude>}}}|lat_min={{{lat_minutes|0}}}|lat_sec={{{lat_seconds|0}}}|lat_dir={{#if:{{{lat_direction|}}}|{{{lat_direction}}}|{{#if:{{{latitude|}}}||<noinclude>N}</noinclude>}}}|long={{{longitude|<noinclude>-67</noinclude>}}}|lon_deg={{{long_degrees|<noinclude>7167</noinclude>}}}|lon_min={{{long_minutes|0}}}|lon_sec={{{long_seconds|0}}}|lon_dir={{#if:{{{long_direction|<noinclude>W</noinclude>}}}|{{{long_direction}}}|{{#if:{{{longitude|}}}||W}}}}float=center|label={{{map_label|{{{locmap_label|}}}}}}|label_size={{{label_size|}}}|position={{{label_position|{{{locmap_label_position|}}}}}}|background={{{label_background|}}}|marksize=7|width={{{map_width|240}}}|caption=}}<div style="font-size:90%;">{{{map_caption<includeonly>|</includeonly>}}}</div></center>}}}}}}
 
|headerstyle=background:{{#if:{{{delisted|}}}|&#35;ddd|{{Designation/color|NRHP|color}}}}
|datastyle = border: 0;<!---Style fix for when embedding in bordered infoboxes--->
|labelstyle = font-weight:bold; border: 0;