Difference between revisions of "Template:Buildings"

From DAS Wiki
Line 17: Line 17:
 
|elevator_count=  
 
|elevator_count=  
 
|structural_system=  
 
|structural_system=  
|cost=  
+
|cost=
 +
|cost_approx=
 
|architect=
 
|architect=
 
|architecture_firm=  
 
|architecture_firm=  
Line 28: Line 29:
 
|design_awards=  
 
|design_awards=  
 
|contractors=  
 
|contractors=  
|start_date=  
+
|start_date=
|groundbreaking_date=  
+
|start_date_approx=
|topped_out_date=  
+
|groundbreaking_date=
 +
|groundbreaking_date_approx=
 +
|topped_out_date=
 +
|topped_out_date_approx=
 
|completion_date=
 
|completion_date=
|opened_date=  
+
|completion_date_approx=
|renovation_date=  
+
|opened_date=
 +
|opened_date_approx=
 +
|renovation_date=
 +
|renovation_date_approx=
 
|ren_architect=  
 
|ren_architect=  
 
|ren_firm=  
 
|ren_firm=  
Line 42: Line 49:
 
|ren_m_e_engineer=  
 
|ren_m_e_engineer=  
 
|ren_contractors=
 
|ren_contractors=
|ren_cost=  
+
|ren_cost=
|ren_awards=  
+
|ren_cost_approx=
 +
|ren_awards=
 +
|demolished=
 +
|demolished_approx=
 
|national_register_id=  
 
|national_register_id=  
 
|national_register_url=  
 
|national_register_url=  
Line 62: Line 72:
 
|floor_area=float  
 
|floor_area=float  
 
|elevator_count=integer  
 
|elevator_count=integer  
|structural_system=string  
+
|structural_system=string
 
|height=float  
 
|height=float  
 
|architect=Page
 
|architect=Page
Line 75: Line 85:
 
|awards=string
 
|awards=string
 
|groundbreaking_date=date
 
|groundbreaking_date=date
 +
|groundbreaking_date_approx=Boolean
 
|start_date=date
 
|start_date=date
 +
|start_date_approx=Boolean
 
|topped_out_date=date
 
|topped_out_date=date
 +
|topped_out_date_approx=Boolean
 
|completion_date=date
 
|completion_date=date
 +
|completion_date_approx=Boolean
 
|opened_date=date
 
|opened_date=date
 +
|opened_date_approx=Boolean
 
|cost=float
 
|cost=float
 +
|cost_approx=Boolean
 
|renovation_date=date
 
|renovation_date=date
 +
|renovation_date_approx=Boolean
 
|ren_architect=string
 
|ren_architect=string
 
|ren_firm=string
 
|ren_firm=string
Line 89: Line 106:
 
|ren_m_e_engineer=string
 
|ren_m_e_engineer=string
 
|ren_contractors=List (;) of Page
 
|ren_contractors=List (;) of Page
|ren_cost=float  
+
|ren_cost=float
 +
|ren_cost_approx=Boolean
 
|ren_awards=string
 
|ren_awards=string
 
|demolished=date
 
|demolished=date
 +
|demolished_approx=Boolean
 
|national_register_id=integer
 
|national_register_id=integer
 
|national_register_url=url
 
|national_register_url=url
Line 121: Line 140:
 
|awards={{{awards|}}}
 
|awards={{{awards|}}}
 
|groundbreaking_date={{{groundbreaking_date|}}}
 
|groundbreaking_date={{{groundbreaking_date|}}}
 +
|groundbreaking_date_approx={{{groundbreaking_date_approx|}}}
 
|start_date={{{start_date|}}}
 
|start_date={{{start_date|}}}
 +
|start_date_approx={{{start_date_approx|}}}
 
|topped_out_date={{{topped_out_date|}}}
 
|topped_out_date={{{topped_out_date|}}}
 +
|topped_out_date_approx={{{topped_out_date_approx|}}}
 
|completion_date={{{completion_date|}}}
 
|completion_date={{{completion_date|}}}
 +
|completion_date_approx={{{completion_date_approx|}}}
 
|opened_date={{{opened_date|}}}
 
|opened_date={{{opened_date|}}}
 +
|opened_date_approx={{{opened_date_approx|}}}
 
|cost={{{cost|}}}
 
|cost={{{cost|}}}
 +
|cost_approx={{{cost_approx|}}}
 
|renovation_date={{{renovation_date|}}}
 
|renovation_date={{{renovation_date|}}}
 +
|renovation_date_approx={{{renovation_date_approx|}}}
 
|ren_architect={{{ren_architect|}}}
 
|ren_architect={{{ren_architect|}}}
 
|ren_firm={{{ren_firm|}}}
 
|ren_firm={{{ren_firm|}}}
Line 136: Line 162:
 
|ren_contractors={{{ren_contractors|}}}
 
|ren_contractors={{{ren_contractors|}}}
 
|ren_cost={{{ren_cost|}}}
 
|ren_cost={{{ren_cost|}}}
 +
|ren_cost_approx={{{ren_cost_approx|}}}
 
|ren_awards={{{ren_awards|}}}
 
|ren_awards={{{ren_awards|}}}
 
|demolished={{{demolished|}}}
 
|demolished={{{demolished|}}}
 +
|demolished_approx={{{demolished_approx|}}}
 
|national_register_id={{{national_register_id|}}}
 
|national_register_id={{{national_register_id|}}}
 
|national_register_url={{{national_register_url|}}}
 
|national_register_url={{{national_register_url|}}}
Line 178: Line 206:
 
-->{{#if:{{{awards|}}}|<tr><th>Awards</th><td>{{{awards|}}}</td></tr>}}<!--
 
-->{{#if:{{{awards|}}}|<tr><th>Awards</th><td>{{{awards|}}}</td></tr>}}<!--
 
-->{{#if:{{{start_date|}}}|<tr><th>Start Date</th><td>{{{start_date}}}</td></tr>}}<!--
 
-->{{#if:{{{start_date|}}}|<tr><th>Start Date</th><td>{{{start_date}}}</td></tr>}}<!--
-->{{#if:{{{groundbreaking_date|}}}|<tr><th>Groundbreaking Date</th><td>{{{groundbreaking_date}}}</td></tr>}}<!--
+
-->{{#if:{{{groundbreaking_date|}}}|<tr><th>Groundbreaking Date</th><td>{{yesno|{{{groundbreaking_date_approx|}}}|yes=Abt:&nbsp;}}{{{groundbreaking_date}}}</td></tr>}}<!--
-->{{#if:{{{topped_out_date|}}}|<tr><th>Topped Out Date</th><td>{{{topped_out_date}}}</td></tr>}}<!--
+
-->{{#if:{{{topped_out_date|}}}|<tr><th>Topped Out Date</th><td>{{yesno|{{{topped_out_date_approx|}}}|yes=Abt:&nbsp;}}{{{topped_out_date}}}</td></tr>}}<!--
-->{{#if:{{{completion_date|}}}|<tr><th>Completed</th><td>{{{completion_date}}}</td></tr>}}<!--
+
-->{{#if:{{{completion_date|}}}|<tr><th>Completed</th><td>{{yesno|{{{completion_date_approx|}}}|yes=Abt:&nbsp;}}{{{completion_date}}}</td></tr>}}<!--
-->{{#if:{{{opened_date|}}}|<tr><th>Opened</th><td>{{{opened_date}}}</td></tr>}}<!--
+
-->{{#if:{{{opened_date|}}}|<tr><th>Opened</th><td>{{yesno|{{{opened_date_approx|}}}|yes=Abt:&nbsp;}}{{{opened_date}}}</td></tr>}}<!--
-->{{#if:{{{demolished|}}}|<tr><th>Razed</th><td>{{{demolished}}}</td></tr>}}<!--
+
-->{{#if:{{{demolished|}}}|<tr><th>Razed</th><td>{{yesno|{{{demolished_approx|}}}|yes=Abt:&nbsp;}}{{{demolished}}}</td></tr>}}<!--
 
Renovation
 
Renovation
 
-->{{#if:{{{renovation_date|}}}{{{ren_architect|}}}{{{ren_firm|}}}{{{ren_engineer|}}}{{{ren_str_engineer|}}}{{{ren_civ_engineer|}}}{{{ren_oth_designers|}}}{{{ren_m_e_engineer|}}}{{{ren_contractors|}}}{{{ren_cost|}}}{{{ren_awards|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Renovation</th></tr>}}<!--
 
-->{{#if:{{{renovation_date|}}}{{{ren_architect|}}}{{{ren_firm|}}}{{{ren_engineer|}}}{{{ren_str_engineer|}}}{{{ren_civ_engineer|}}}{{{ren_oth_designers|}}}{{{ren_m_e_engineer|}}}{{{ren_contractors|}}}{{{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>{{yesno|{{{renovation_date_approx|}}}|yes=Abt:&nbsp;}}{{{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>}}<!--
 
-->{{#if:{{{ren_firm|}}}|<tr><th>Firm</th><td>[[{{{ren_firm|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{ren_firm|}}}|<tr><th>Firm</th><td>[[{{{ren_firm|}}}]]</td></tr>}}<!--
Line 194: Line 222:
 
-->{{#if:{{{ren_m_e_engineer|}}}|<tr><th>M/E Engineer</th><td>[[{{{ren_m_e_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{ren_m_e_engineer|}}}|<tr><th>M/E Engineer</th><td>[[{{{ren_m_e_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{ren_contractors|}}}|<tr><th>Contractors</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{ren_contractors|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
 
-->{{#if:{{{ren_contractors|}}}|<tr><th>Contractors</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{ren_contractors|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
-->{{#if:{{{ren_cost|}}}|<tr><th>Cost</th><td>{{{ren_cost|}}}</td></tr>}}<!--
+
-->{{#if:{{{ren_cost|}}}|<tr><th>Cost</th><td>{{yesno|{{{ren_cost_approx|}}}|yes=Abt:&nbsp;}}{{{ren_cost|}}}</td></tr>}}<!--
 
-->{{#if:{{{ren_awards|}}}|<tr><th>Awards</th><td>{{{ren_awards|}}}</td></tr>}}<!--
 
-->{{#if:{{{ren_awards|}}}|<tr><th>Awards</th><td>{{{ren_awards|}}}</td></tr>}}<!--
 
National Register
 
National Register

Revision as of 10:43, June 21, 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=
|cost_approx=
|architect=
|architecture_firm= 
|structural_engineer= 
|civil_engineer=
|m_e_engineer= 
|other_designers= 
|surveyor=
|landscape_architect=
|design_awards= 
|contractors= 
|start_date=
|start_date_approx=
|groundbreaking_date=
|groundbreaking_date_approx=
|topped_out_date=
|topped_out_date_approx=
|completion_date=
|completion_date_approx=
|opened_date=
|opened_date_approx=
|renovation_date=
|renovation_date_approx=
|ren_architect= 
|ren_firm= 
|ren_l_a= 
|ren_str_engineer= 
|ren_civ_engineer= 
|ren_oth_designers= 
|ren_m_e_engineer= 
|ren_contractors=
|ren_cost=
|ren_cost_approx=
|ren_awards=
|demolished=
|demolished_approx=
|national_register_id= 
|national_register_url= 
}}

Edit the page to see the template text. This template defines the table "buildings". This table has not been created yet.