Difference between revisions of "Template:Buildings"
From DAS Wiki
Line 7: | Line 7: | ||
|address= | |address= | ||
|Geo= | |Geo= | ||
+ | |altitude= | ||
+ | |owner | ||
+ | |building_type= | ||
+ | |architectural_style= | ||
+ | |height= | ||
+ | |material= | ||
+ | |floor_count= | ||
+ | |floor_area= | ||
+ | |elevator_count= | ||
+ | |structural_system= | ||
+ | |cost= | ||
|architect= | |architect= | ||
+ | |architecture_firm= | ||
+ | |structural_engineer= | ||
+ | |civil_engineer= | ||
+ | |m-e_engineer= | ||
+ | |other_designers= | ||
+ | |surveyor= | ||
+ | |landscape_architect= | ||
+ | |design_awards= | ||
+ | |main_contractor= | ||
+ | |start_date= | ||
+ | |groundbreaking_date= | ||
+ | |topped_out_date= | ||
+ | |completion_date= | ||
+ | |opened_date= | ||
+ | |renovation_date= | ||
+ | |ren_architect= | ||
+ | |ren_firm= | ||
+ | |ren_engineer= | ||
+ | |ren_str_engineer= | ||
+ | |ren_civ_engineer= | ||
+ | |ren_oth_designers= | ||
+ | |ren_m-e_engineer= | ||
+ | |ren_contractor= | ||
+ | |ren_cost= | ||
+ | |ren_awards= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | {{#cargo_declare:_table=buildings|image=File|address=String|Geo=Coordinates|architect=Page}} | + | {{#cargo_declare:_table=buildings |
− | </noinclude><includeonly>{{#cargo_store:_table=buildings|image={{{image|}}}|address={{{address|}}}|Geo={{{Geo|}}}|architect={{{architect|}}} }}{| style="width: 24em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | + | |image=File |
+ | |address=String | ||
+ | |Geo=Coordinates | ||
+ | |altitude=string | ||
+ | |owner=string | ||
+ | |building_type=string | ||
+ | |architectural_style=string | ||
+ | |height=string | ||
+ | |material=string | ||
+ | |floor_count=float | ||
+ | |floor_area=float | ||
+ | |elevator_count=integer | ||
+ | |structural_system=string | ||
+ | |height=float | ||
+ | |architect=Page | ||
+ | |architecture_firm=string | ||
+ | |structural_engineer=string | ||
+ | |civil_engineer=string | ||
+ | |m-e_engineer=string | ||
+ | |other_designers=string | ||
+ | |surveyor=string | ||
+ | |landscape_architect=string | ||
+ | |general_contractor=string | ||
+ | |awards=string | ||
+ | |groundbreaking_date=date | ||
+ | |start_date=date | ||
+ | |topped_out_date=date | ||
+ | |completion_date=date | ||
+ | |opened_date=date | ||
+ | |cost=float | ||
+ | |renovation_date=date | ||
+ | |ren_architect=string | ||
+ | |ren_firm=string | ||
+ | |ren_engineer=string | ||
+ | |ren_str_engineer=string | ||
+ | |ren_civ_engineer=string | ||
+ | |ren_oth_designers=string | ||
+ | |ren_m-e_engineer=string | ||
+ | |ren_contractor=string | ||
+ | |ren_cost=float | ||
+ | |ren_awards=string | ||
+ | }} | ||
+ | </noinclude><includeonly>{{#cargo_store:_table=buildings | ||
+ | |image={{{image|}}} | ||
+ | |address={{{address|}}} | ||
+ | |Geo={{{Geo|}}} | ||
+ | |altitude={{{altitude|}}} | ||
+ | |owner={{{owner|}}} | ||
+ | |building_type={{{building_type|}}} | ||
+ | |architectural_style= {{{architectural_style|}}} | ||
+ | |height={{{height|}}} | ||
+ | |material= {{{material|}}} | ||
+ | |floor_count= {{{floor_count|}}} | ||
+ | |floor_area= {{{floor_area|}}} | ||
+ | |elevator_count= {{{elevator_count|}}} | ||
+ | |structural_system= {{{structural_system|}}} | ||
+ | |height={{{height|}}} | ||
+ | |architect={{{architect|}}} | ||
+ | |architecture_firm={{{architecture_firm|}}} | ||
+ | |structural_engineer={{{structural_engineer|}}} | ||
+ | |civil_engineer={{{civil_engineer|}}} | ||
+ | |m-e_engineer={{{m-e_engineer|}}} | ||
+ | |other_designers={{{other_designers|}}} | ||
+ | |surveyor={{{surveyor|}}} | ||
+ | |landscape_architect={{{landscape_architect|}}} | ||
+ | |general_contractor={{{general_contractor|}}} | ||
+ | |awards={{{awards|}}} | ||
+ | |groundbreaking_date={{{groundbreaking_date|}}} | ||
+ | |start_date={{{start_date|}}} | ||
+ | |topped_out_date={{{topped_out_date|}}} | ||
+ | |completion_date={{{completion_date|}}} | ||
+ | |opened_date={{{opened_date|}}} | ||
+ | |cost={{{cost|}}} | ||
+ | |renovation_date={{{renovation_date|}}} | ||
+ | |ren_architect={{{ren_architect|}}} | ||
+ | |ren_firm={{{ren_firm|}}} | ||
+ | |ren_engineer={{{ren_engineer|}}} | ||
+ | |ren_str_engineer={{{ren_str_enginer|}}} | ||
+ | |ren_civ_engineer={{{ren_civ_engineer|}}} | ||
+ | |ren_oth_designers={{{ren_oth_engineer|}}} | ||
+ | |ren_m-e_engineer={{{ren_m-e_engineer|}}} | ||
+ | |ren_contractor={{{ren_contractor|}}} | ||
+ | |ren_cost={{{ren_cost|}}} | ||
+ | |ren_awards={{{ren_awards|}}} | ||
+ | }}{| style="width: 24em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
<!-- ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> --> | <!-- ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> --> | ||
|- | |- | ||
Line 19: | Line 139: | ||
! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{address|}}}{{{Geo|}}}|General information}}</span> | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{address|}}}{{{Geo|}}}|General information}}</span> | ||
|- | |- | ||
− | ! Address | + | ! {{#if:{{{address|}}}|Address}} |
| {{{address|}}} | | {{{address|}}} | ||
|- | |- | ||
Line 25: | Line 145: | ||
| {{#if:{{{Geo|}}}|{{{Geo}}} }} | | {{#if:{{{Geo|}}}|{{{Geo}}} }} | ||
|- | |- | ||
− | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{ | + | ! {{#if:{{{altitude|}}}|Altitude}} |
+ | | {{#if:{{{altitude|}}}|{{{altitude|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{owner|}}}|Owner}} | ||
+ | | {{#if:{{{owner|}}}|{{{owner|}}} }} | ||
+ | |- | ||
+ | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{building_type|}}}{{{architectural_style|}}}{{{height|}}}{{{material|}}}{{{floor_count|}}}{{{floor_area|}}}{{{elevator_count|}}}{{{structural_system|}}}{{{height|}}}|Building Data}}</span> | ||
+ | |- | ||
+ | ! {{#if:{{{building_type|}}}|Building Type }} | ||
+ | | {{#if:{{{building_type|}}}|{{{building_type|}}} }} | ||
|- | |- | ||
− | ! Architect | + | ! {{#if:{{{architectural_style|}}}|Architectural Style }} |
+ | | {{#if:{{{architectural_style|}}}|{{{architectural_style|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{height|}}}|Height }} | ||
+ | | {{#if:{{{height|}}}|{{{height|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{material|}}}|Material }} | ||
+ | | {{#if:{{{material|}}}|{{{material|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{floor_count|}}}|Number of Floors }} | ||
+ | | {{#if:{{{floor_count|}}}|{{{floor_count|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{floor_area|}}}|Floor Area }} | ||
+ | | {{#if:{{{floor_area|}}}|{{{floor_area|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{elevator_count|}}}|Number of Elevators }} | ||
+ | | {{#if:{{{elevator_count|}}}|{{{elevator_count|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{structural_system|}}}|Structural System }} | ||
+ | | {{#if:{{{structural_system|}}}|{{{structural_system|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{height|}}}|Height }} | ||
+ | | {{#if:{{{height|}}}|{{{height|}}} }} | ||
+ | |- | ||
+ | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{architect|}}}{{{architecture_firm|}}}{{{structural_engineer|}}}{{{civil_engineer|}}}{{{m-e_engineer|}}}{{{other_designers|}}}{{{surveyor|}}}{{{landscape_architect|}}}|Design}}</span> | ||
+ | |- | ||
+ | ! {{#if:{{{architect|}}}|Architect }} | ||
| {{#if:{{{architect|}}}|[[{{{architect|}}}]]}} | | {{#if:{{{architect|}}}|[[{{{architect|}}}]]}} | ||
+ | |- | ||
+ | ! {{#if:{{{architecture_firm|}}}|Architectural Firm }} | ||
+ | | {{#if:{{{architecture_firm|}}}|[[{{{architecture_firm|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{structural_engineer|}}}|Structural Engineer }} | ||
+ | | {{#if:{{{structural_engineer|}}}|[[{{{structural_engineer|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{civil_engineer|}}}|Civil Engineer }} | ||
+ | | {{#if:{{{civil_engineer|}}}|[[{{{civil_engineer|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{m-e_engineer|}}}|M/E Engineer }} | ||
+ | | {{#if:{{{m-e_engineer|}}}|[[{{{m-e_engineer|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{other_designers|}}}|Other Designers }} | ||
+ | | {{#if:{{{other_designers|}}}|{{{other_designers|}}} }} | ||
+ | |- | ||
+ | ! {{#if:{{{surveyor|}}}|Surveyor }} | ||
+ | | {{#if:{{{surveyor|}}}|[[{{{surveyor|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{landscape_architect|}}}|Landscape Architect }} | ||
+ | | {{#if:{{{landscape_architect|}}}|{{{landscape_architect|}}} }} | ||
+ | |- | ||
+ | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{general_contractor|}}}{{{awards|}}}{{{start_date|}}}{{{groundbreaking_date|}}}{{{topped_out_date|}}}{{{completion_date|}}}{{{opened_date|}}}{{{cost|}}}|Construction}}</span> | ||
+ | |- | ||
+ | ! {{#if:{{{general_contractor|}}}|General Contractor }} | ||
+ | | {{#if:{{{general_contractor|}}}|[[{{{general_contractor|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{awards|}}}|Awards }} | ||
+ | | {{#if:{{{awards|}}}|[[{{{awards|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{start_date|}}}|Start Date }} | ||
+ | | {{#if:{{{start_date|}}}|[[{{{start_date|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{groundbreaking_date|}}}|Groundbreaking }} | ||
+ | | {{#if:{{{groundbreaking_date|}}}|[[{{{groundbreaking_date|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{topped_out_date|}}}|Topped Out }} | ||
+ | | {{#if:{{{topped_out_date|}}}|[[{{{topped_out_date|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{completion_date|}}}|Completed }} | ||
+ | | {{#if:{{{completion_date|}}}|[[{{{completion_date|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{opened_date|}}}|Opened }} | ||
+ | | {{#if:{{{opened_date|}}}|[[{{{opened_date|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{cost|}}}|Cost }} | ||
+ | | {{#if:{{{cost|}}}|[[{{{cost|}}}]] }} | ||
+ | |- | ||
+ | ! style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2"| <span>{{#if:{{{renovation_date|}}}{{{ren_architect|}}}{{{ren_firm|}}}{{{ren_engineer|}}}{{{ren_str_engineer|}}}{{{ren_civ_engineer|}}}{{{ren_oth_designers|}}}{{{ren_m-e_engineer|}}}{{{ren_contractor|}}}{{{ren_cost|}}}{{{ren_awards|}}}|Renovation}}</span> | ||
+ | |- | ||
+ | ! {{#if:{{{renovation_date|}}}|Date }} | ||
+ | | {{#if:{{{renovation_date|}}}|[[{{{renovation_date|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_architect|}}}|Architect }} | ||
+ | | {{#if:{{{ren_architect|}}}|[[{{{ren_architect|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_firm|}}}|Firm }} | ||
+ | | {{#if:{{{ren_firm|}}}|[[{{{ren_firm|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_engineer|}}}|Engineer }} | ||
+ | | {{#if:{{{ren_engineer|}}}|[[{{{ren_engineer|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_str_engineer|}}}|Structural Engineer }} | ||
+ | | {{#if:{{{ren_str_engineer|}}}|[[{{{ren_str_engineer|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_civ_engineer|}}}|Civil Engineer }} | ||
+ | | {{#if:{{{ren_civ_engineer|}}}|[[{{{ren_civ_engineer|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_oth_designers|}}}|Other Designer }} | ||
+ | | {{#if:{{{ren_oth_designers|}}}|[[{{{ren_oth_designers|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_m-e_engineer|}}}|M/E Engineer }} | ||
+ | | {{#if:{{{ren_m-e_engineer|}}}|[[{{{ren_m-e_engineer|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_contractor|}}}|Contractor }} | ||
+ | | {{#if:{{{ren_contractor|}}}|[[{{{ren_contractor|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_cost|}}}|Cost }} | ||
+ | | {{#if:{{{ren_cost|}}}|[[{{{ren_cost|}}}]] }} | ||
+ | |- | ||
+ | ! {{#if:{{{ren_awards|}}}|Awards }} | ||
+ | | {{#if:{{{ren_awards|}}}|[[{{{ren_awards|}}}]] }} | ||
+ | |- | ||
|} | |} | ||
[[Category:Buildings]] | [[Category:Buildings]] | ||
</includeonly> | </includeonly> |
Revision as of 20:41, April 18, 2021
This is the "Buildings" template. It should be called in the following format:
{{Buildings |image= |address= |Geo= |altitude= |owner |building_type= |architectural_style= |height= |material= |floor_count= |floor_area= |elevator_count= |structural_system= |cost= |architect= |architecture_firm= |structural_engineer= |civil_engineer= |m-e_engineer= |other_designers= |surveyor= |landscape_architect= |design_awards= |main_contractor= |start_date= |groundbreaking_date= |topped_out_date= |completion_date= |opened_date= |renovation_date= |ren_architect= |ren_firm= |ren_engineer= |ren_str_engineer= |ren_civ_engineer= |ren_oth_designers= |ren_m-e_engineer= |ren_contractor= |ren_cost= |ren_awards= }}
Edit the page to see the template text.
Error: field name "m-e_engineer" cannot contain any of the following characters: .,-<>(){}[]\/