Difference between revisions of "Template:Buildings"
From DAS Wiki
Line 144: | Line 144: | ||
-->{{#if:{{{Geo|}}}|<tr><th>Geo-reference</th><td>{{coord|{{#explode:{{{Geo|}}}|,|0}}|{{#explode:{{{Geo|}}}|,|1}}|format=dms}}</td></tr>}}<!--Apparently the Cargo record fetch doesn't retrieve the individual latitude and longitude values, but fetches a string containing both. So I had to explode that value (Geo) into the two components, and feed each one of them to the coord routine. See documentation on explode and coord. | -->{{#if:{{{Geo|}}}|<tr><th>Geo-reference</th><td>{{coord|{{#explode:{{{Geo|}}}|,|0}}|{{#explode:{{{Geo|}}}|,|1}}|format=dms}}</td></tr>}}<!--Apparently the Cargo record fetch doesn't retrieve the individual latitude and longitude values, but fetches a string containing both. So I had to explode that value (Geo) into the two components, and feed each one of them to the coord routine. See documentation on explode and coord. | ||
-->{{#if:{{{altitude|}}}|<tr><th>Altitude</th><td>{{{altitude|}}}</td></tr>}}<!-- | -->{{#if:{{{altitude|}}}|<tr><th>Altitude</th><td>{{{altitude|}}}</td></tr>}}<!-- | ||
− | -->{{#if:{{{owner|}}}|<tr><th>Owner</th><td>{{{owner|}}}</td></tr>}} | + | -->{{#if:{{{owner|}}}|<tr><th>Owner</th><td>{{{owner|}}}</td></tr>}}<!-- |
− | ! | + | Building Data |
+ | -->{{#if:{{{building_type|}}}{{{architectural_style|}}}{{{height|}}}{{{material|}}}{{{floor_count|}}}{{{floor_area|}}}{{{elevator_count|}}}{{{structural_system|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Building Data</th></tr>}}<!-- | ||
-->{{#if:{{{building_type|}}}|<tr><th>Building Type</th><td>{{{building_type|}}}</td></tr>}}<!-- | -->{{#if:{{{building_type|}}}|<tr><th>Building Type</th><td>{{{building_type|}}}</td></tr>}}<!-- | ||
-->{{#if:{{{architectural_style|}}}|<tr><th>Architectural Style</th><td>[[{{{architectural_style|}}}]]</td></tr>}}<!-- | -->{{#if:{{{architectural_style|}}}|<tr><th>Architectural Style</th><td>[[{{{architectural_style|}}}]]</td></tr>}}<!-- | ||
Line 154: | Line 155: | ||
-->{{#if:{{{elevator_count|}}}|<tr><th>Number of Elevators</th><td>{{{elevator_count|}}}</td></tr>}}<!-- | -->{{#if:{{{elevator_count|}}}|<tr><th>Number of Elevators</th><td>{{{elevator_count|}}}</td></tr>}}<!-- | ||
-->{{#if:{{{structural_system|}}}|<tr><th>Structural System</th><td>{{{structural_system|}}}</td></tr>}}<!-- | -->{{#if:{{{structural_system|}}}|<tr><th>Structural System</th><td>{{{structural_system|}}}</td></tr>}}<!-- | ||
+ | Design | ||
-->{{#if:{{{architect|}}}{{{architecture_firm|}}}{{{structural_engineer|}}}{{{civil_engineer|}}}{{{m_e_engineer|}}}{{{other_designers|}}}{{{surveyor|}}}{{{landscape_architect|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Design</th></tr>}}<!-- | -->{{#if:{{{architect|}}}{{{architecture_firm|}}}{{{structural_engineer|}}}{{{civil_engineer|}}}{{{m_e_engineer|}}}{{{other_designers|}}}{{{surveyor|}}}{{{landscape_architect|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Design</th></tr>}}<!-- | ||
-->{{#if:{{{architect|}}}|<tr><th>Architect</th><td>[[{{{architect|}}}]]</td></tr>}}<!-- | -->{{#if:{{{architect|}}}|<tr><th>Architect</th><td>[[{{{architect|}}}]]</td></tr>}}<!-- | ||
Line 163: | Line 165: | ||
-->{{#if:{{{surveyor|}}}|<tr><th>Surveyor</th><td>[[{{{surveyor|}}}]]</td></tr>}}<!-- | -->{{#if:{{{surveyor|}}}|<tr><th>Surveyor</th><td>[[{{{surveyor|}}}]]</td></tr>}}<!-- | ||
-->{{#if:{{{landscape_architect|}}}|<tr><th>Landscape Architect</th><td>[[{{{landscape_architect|}}}]]</td></tr>}}<!-- | -->{{#if:{{{landscape_architect|}}}|<tr><th>Landscape Architect</th><td>[[{{{landscape_architect|}}}]]</td></tr>}}<!-- | ||
+ | Construction | ||
-->{{#if:{{{general_contractor|}}}{{{awards|}}}{{{start_date|}}}{{{groundbreaking_date|}}}{{{topped_out_date|}}}{{{completion_date|}}}{{{opened_date|}}}{{{cost|}}}{{{demolished|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Construction</th></tr>}}<!-- | -->{{#if:{{{general_contractor|}}}{{{awards|}}}{{{start_date|}}}{{{groundbreaking_date|}}}{{{topped_out_date|}}}{{{completion_date|}}}{{{opened_date|}}}{{{cost|}}}{{{demolished|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Construction</th></tr>}}<!-- | ||
-->{{#if:{{{general_contractor|}}}|<tr><th>General Contractor</th><td>[[{{{general_contractor|}}}]]</td></tr>}}<!-- | -->{{#if:{{{general_contractor|}}}|<tr><th>General Contractor</th><td>[[{{{general_contractor|}}}]]</td></tr>}}<!-- | ||
Line 171: | Line 174: | ||
-->{{#if:{{{completion_date|}}}|<tr><th>Completed</th><td>{{{completion_date}}}</td></tr>}}<!-- | -->{{#if:{{{completion_date|}}}|<tr><th>Completed</th><td>{{{completion_date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{opened_date|}}}|<tr><th>Opened</th><td>{{{opened_date}}}</td></tr>}}<!-- | -->{{#if:{{{opened_date|}}}|<tr><th>Opened</th><td>{{{opened_date}}}</td></tr>}}<!-- | ||
− | -->{{#if:{{{demolished|}}}|<tr><th>Razed</th><td>{{{demolished}}}</td></tr>}} | + | -->{{#if:{{{demolished|}}}|<tr><th>Razed</th><td>{{{demolished}}}</td></tr>}}<!-- |
− | ! | + | Renovation |
+ | {{#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|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Renovation</th></tr>}}<!-- | ||
-->{{#if:{{{renovation_date|}}}|<tr><th>Date</th><td>{{{renovation_date}}}</td></tr>}}<!-- | -->{{#if:{{{renovation_date|}}}|<tr><th>Date</th><td>{{{renovation_date}}}</td></tr>}}<!-- | ||
-->{{#if:{{{ren_architect|}}}|<tr><th>Architect</th><td>[[{{{ren_architect|}}}]]</td></tr>}}<!-- | -->{{#if:{{{ren_architect|}}}|<tr><th>Architect</th><td>[[{{{ren_architect|}}}]]</td></tr>}}<!-- |
Revision as of 19:38, May 16, 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. This template defines the table "buildings". This table has not been created yet.