Difference between revisions of "Template:Infobox building"

From blackwiki
Jump to navigation Jump to search
imported>Sdkb
(heading fix)
imported>Jonesey95
(rm redundant, inconsistent parameters; limit error check to article space; rm unneeded error check; see talk page)
 
Line 11: Line 11:
 
| captionstyle = text-align: center
 
| captionstyle = text-align: center
 
| image1    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|{{{logo_width|}}}}}}|sizedefault=frameless|upright={{{logo_upright|1.1}}}|alt={{{logo_alt|}}}}}
 
| image1    = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|{{{logo_width|}}}}}}|sizedefault=frameless|upright={{{logo_upright|1.1}}}|alt={{{logo_alt|}}}}}
| caption1  = {{{logo_caption|{{{Logo_caption|}}}}}}
+
| caption1  = {{{logo_caption|}}}
  
 
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{image_width|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.1}}}|border=yes|alt={{{image_alt|{{{alt|}}}}}}}}
 
| image2    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{image_width|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.1}}}|border=yes|alt={{{image_alt|{{{alt|}}}}}}}}
Line 22: Line 22:
 
  |mark    = {{{map_dot_mark|Red pog.svg}}}
 
  |mark    = {{{map_dot_mark|Red pog.svg}}}
 
  |marksize= 7
 
  |marksize= 7
  |label  = {{{pushpin_label|{{{map dot label|{{{map_dot_label|}}}}}}}}}
+
  |label  = {{{pushpin_label|{{{map_dot_label|}}}}}}
 
  |relief  = {{{pushpin_relief|{{{relief|}}}}}}
 
  |relief  = {{{pushpin_relief|{{{relief|}}}}}}
 
  |border  = infobox
 
  |border  = infobox
Line 67: Line 67:
  
  
| header9  = {{#if:{{{status|}}}{{{building_type|}}}{{{architectural_style|}}}{{{style|}}}{{{classification|}}}{{{location|}}}{{{location_town|}}}{{{location_city|}}}{{{location_country|}}}{{{address|}}}{{{coordinates|}}}{{{altitude|}}}{{{start_date|}}}{{{construction_start_date|}}}{{{topped-out_date|}}}{{{topped_out_date|}}}{{{est_completion|}}}{{{completion_date|}}}{{{inauguration_date|}}}{{{groundbreaking_date|}}}{{{opening_date|}}}{{{opening|}}}{{{opened|}}}{{{opened_date|}}}{{{renovation_date|}}}{{{closing_date|}}}{{{demolition_date|}}}{{{date_demolished|}}}{{{demolished_date|}}}{{{destruction_date|}}}{{{destroyed|}}}{{{cost|}}}{{{ren_cost|}}}{{{client|}}}{{{owner|}}}{{{governing_body|}}}{{{landlord|}}}{{{management|{{{operator|}}}}}}{{{affiliation|}}}|General information}}
+
| header9  = {{#if:{{{status|}}}{{{building_type|}}}{{{architectural_style|}}}{{{style|}}}{{{classification|}}}{{{location|}}}{{{location_town|}}}{{{location_city|}}}{{{location_country|}}}{{{address|}}}{{{coordinates|}}}{{{altitude|}}}{{{start_date|}}}{{{construction_start_date|}}}{{{topped_out_date|}}}{{{est_completion|}}}{{{completion_date|}}}{{{inauguration_date|}}}{{{groundbreaking_date|}}}{{{opening_date|}}}{{{opening|}}}{{{opened|}}}{{{opened_date|}}}{{{renovation_date|}}}{{{closing_date|}}}{{{demolition_date|}}}{{{date_demolished|}}}{{{demolished_date|}}}{{{destruction_date|}}}{{{destroyed|}}}{{{cost|}}}{{{ren_cost|}}}{{{client|}}}{{{owner|}}}{{{governing_body|}}}{{{landlord|}}}{{{management|{{{operator|}}}}}}{{{affiliation|}}}|General information}}
  
 
| label10  = Status
 
| label10  = Status
 
| class10  = category
 
| class10  = category
|  data10  = {{#if:{{{status|{{{Status|}}}}}}|{{#switch:{{lc:{{{status|{{{Status|}}}}}}}}
+
|  data10  = {{#if:{{{status|}}}|{{#switch:{{lc:{{{status|}}}}}
 
| built | completed | finished
 
| built | completed | finished
 
| complete = Complete
 
| complete = Complete
Line 86: Line 86:
 
| proposed    = Proposed
 
| proposed    = Proposed
 
| approved    = Approved
 
| approved    = Approved
| #default    = {{{status|{{{Status|}}}}}}
+
| #default    = {{{status|}}}
 
}}|{{#if:{{{cancelled|}}}{{{canceled|}}}|Never built|{{#if:{{{topped_out|}}}|[[Topping out|Topped-out]]}} }} }}
 
}}|{{#if:{{{cancelled|}}}{{{canceled|}}}|Never built|{{#if:{{{topped_out|}}}|[[Topping out|Topped-out]]}} }} }}
  
Line 139: Line 139:
  
 
| label26  = Topped-out
 
| label26  = Topped-out
|  data26  = {{{topped-out_date|{{{topped_out_date|}}}}}}
+
|  data26  = {{{topped_out_date|}}}
  
 
| rowclass27= note
 
| rowclass27= note
Line 320: Line 320:
 
|  data85  = {{{ren_awards|}}}
 
|  data85  = {{{ren_awards|}}}
  
| header86  = {{#if:{{{seating_type|}}}{{{capacity|{{{seating_capacity|}}}}}}{{{number_of_stores|}}}{{{number_of_anchors|}}}{{{unit_count|}}}{{{number_of_units|}}}{{{number_of_rooms|}}}{{{room_count|}}}{{{rooms|}}}{{{number_of_suites|}}}{{{suite_count|}}}{{{suites|}}}{{{number_of_restaurants|}}}{{{number_of_bars|{{{number_of_Bars|}}}}}}{{{facilities|}}}{{{parking|}}}{{{public_transit|}}}|Other information}}
+
| header86  = {{#if:{{{seating_type|}}}{{{capacity|{{{seating_capacity|}}}}}}{{{number_of_stores|}}}{{{number_of_anchors|}}}{{{unit_count|}}}{{{number_of_units|}}}{{{number_of_rooms|}}}{{{room_count|}}}{{{rooms|}}}{{{number_of_suites|}}}{{{suite_count|}}}{{{suites|}}}{{{number_of_restaurants|}}}{{{number_of_bars|}}}{{{facilities|}}}{{{parking|}}}{{{public_transit|}}}|Other information}}
  
 
| label87  = Seating type
 
| label87  = Seating type
Line 344: Line 344:
  
 
| label94  = Number of bars
 
| label94  = Number of bars
|  data94  = {{{number_of_bars|{{{number_of_Bars|}}}}}}
+
|  data94  = {{{number_of_bars|}}}
  
 
| label95  = Facilities
 
| label95  = Facilities
Line 366: Line 366:
 
| belowstyle = {{{belowstyle|}}}
 
| belowstyle = {{{belowstyle|}}}
 
| below    = {{{footnotes|}}}
 
| below    = {{{footnotes|}}}
}}{{main other|
+
}}<!-- end of infobox
{{#if:{{both|{{{height|}}}|{{{architectural|}}}{{{tip|}}}{{{antenna_spire|}}}{{{roof|}}}{{{top_floor|}}}{{{observatory|}}}}}|[[Category:Pages using infobox building with parameter errors]]}}
+
 
{{#ifeq:{{{1|μ}}}|μ||[[Category:Pages using infobox building with parameter errors|σ{{PAGENAME}}]]}}
+
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox building with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox building]] with unknown parameter "_VALUE_"|ignoreblank=y
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox building with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox building]] with unknown parameter "_VALUE_"|ignoreblank=y
+
| address | affiliation | alt | alternate_name | alternate_names | altitude | antenna_spire | architect | architectural | architectural_style | architecture_firm | awards | belowstyle | building_name | building_type | canceled | cancelled | capacity | caption | chain | circumference | civil_engineer | classification | client | closing_date | completion_date | construction_start_date | construction_stop_date | coordinates | cost | current_tenants | date_demolished | demolished_date | demolition_date | designations | destroyed | destruction_date | developer | diameter | elevator_count | embedded | engineer | est_completion | etymology | facilities | floor_area | floor_count | floors | footnotes | former_name | former_names | governing_body | grid_name | grid_position | groundbreaking_date | grounds_area | height | highest_end | highest_next | highest_prev | highest_reflabel | highest_region | highest_start | hotel_chain | hotel_name | image | image_alt | image_caption | image_map | image_size | image_upright | image_width | inauguration_date | known_for | landlord | location | location_city | location_country | location_town | logo | logo_alt | logo_caption | logo_size | logo_upright | logo_width | main_contractor | main_contractors | management | map_caption | map_dot_label | map_dot_mark | map_size | map_type | material | module | name | namesake | native_building_name | native_name | native_name_lang | nrhp | number_of_anchors | number_of_bars | number_of_restaurants | number_of_rooms | number_of_stores | number_of_suites | number_of_units | observatory | opened | opened_date | opening | opening_date | operator | other_designers | other_dimensions | owner | parking | public_transit | pushpin_label | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_relief | qid | quantity_surveyor | references | relief | relocated_date | ren_architect | ren_awards | ren_civ_engineer | ren_contractor | ren_cost | ren_engineer | ren_firm | ren_oth_designers | ren_qty_surveyor | ren_serv_engineer | ren_str_engineer | renovation_date | roof | room_count | rooms | seating_capacity | seating_type | services_engineer | size | start_date | status | stop_date | structural_engineer | structural_system | style | suite_count | suites | tip | top_floor | topped_out | topped_out_date | unit_count | website | weight | embed | map_alt | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-line | 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}}<!--
| address | affiliation | alt | alternate_name | alternate_names | altitude | antenna_spire | architect | architectural | architectural_style | architecture_firm | awards | belowstyle | building_name | building_type | canceled | cancelled | capacity | caption | chain | circumference | civil_engineer | classification | client | closing_date | completion_date | construction_start_date | construction_stop_date | coordinates | cost | current_tenants | date_demolished | demolished_date | demolition_date | designations | destroyed | destruction_date | developer | diameter | elevator_count | embedded | engineer | est_completion | etymology | facilities | floor_area | floor_count | floors | footnotes| former_name | former_names | governing_body | grid_name | grid_position | groundbreaking_date | grounds_area | height | highest_end | highest_next | highest_prev | highest_reflabel | highest_region | highest_start | hotel_chain | hotel_name | image | image_alt | image_caption | image_map | image_size | image_upright | image_width | inauguration_date | known_for | landlord | location | location_city | location_country | location_town | logo | logo_alt | logo_caption | Logo_caption | logo_size | logo_upright | logo_width | main_contractor | main_contractors | management | map dot label | map_caption | map_dot_label | map_dot_mark| map_size | map_type | material | module | name | namesake | native_building_name | native_name | native_name_lang | nrhp | number_of_anchors | number_of_bars | number_of_Bars | number_of_restaurants | number_of_rooms | number_of_stores | number_of_suites | number_of_units | observatory | opened | opened_date | opening | opening_date | operator | other_designers | other_dimensions | owner | parking | public_transit | pushpin_label | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_relief | qid | quantity_surveyor | references | relief | relocated_date | ren_architect | ren_awards | ren_civ_engineer | ren_contractor | ren_cost | ren_engineer | ren_firm | ren_oth_designers | ren_qty_surveyor | ren_serv_engineer | ren_str_engineer | renovation_date | roof | room_count | rooms | seating_capacity | seating_type | services_engineer | size | start_date | status | Status | stop_date | structural_engineer | structural_system | style | suite_count | suites | tip | top_floor | topped_out | topped_out_date | topped-out_date | unit_count | website | weight |embed |map_alt| 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
+
-->{{main other|1={{#if:{{{topped_out|}}}|[[Category:Pages using infobox building with topped out]]}}{{#if:{{{canceled|}}}{{{cancelled|}}}|[[Category:Pages using infobox building with cancelled]]}}<!--
}}{{#if:{{{topped_out|}}}|[[Category:Pages using infobox building with topped out]]}}{{#if:{{{canceled|}}}{{{cancelled|}}}|[[Category:Pages using infobox building with cancelled]]}}<noinclude>{{documentation}}</noinclude>
+
-->{{#if:{{both|{{{height|}}}|{{{architectural|}}}{{{tip|}}}{{{antenna_spire|}}}{{{roof|}}}{{{top_floor|}}}{{{observatory|}}}}}|[[Category:Pages using infobox building with parameter errors]]}} }}<!--
 +
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 14:21, 29 November 2020

Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
Town or cityScript error: No such module "If empty".
Script error: No such module "If empty".
OpeningScript error: No such module "If empty".
DestroyedScript error: No such module "If empty".
Number of roomsScript error: No such module "If empty".
Number of suitesScript error: No such module "If empty".

[[Category:Infobox templates|Template:Remove first word]]Lua error: Internal error: The interpreter has terminated with signal "24".