Difference between revisions of "Template:Buildings"

From DAS Wiki
Line 41: Line 41:
 
|ren_oth_designers=  
 
|ren_oth_designers=  
 
|ren_m_e_engineer=  
 
|ren_m_e_engineer=  
|ren_contractor=
+
|ren_contractors=
 
|ren_cost=  
 
|ren_cost=  
 
|ren_awards=  
 
|ren_awards=  
Line 88: Line 88:
 
|ren_oth_designers=string
 
|ren_oth_designers=string
 
|ren_m_e_engineer=string
 
|ren_m_e_engineer=string
|ren_contractor=string
+
|ren_contractors=List (;) of Page
 
|ren_cost=float  
 
|ren_cost=float  
 
|ren_awards=string
 
|ren_awards=string
Line 134: Line 134:
 
|ren_oth_designers={{{ren_oth_engineer|}}}
 
|ren_oth_designers={{{ren_oth_engineer|}}}
 
|ren_m_e_engineer={{{ren_m_e_engineer|}}}
 
|ren_m_e_engineer={{{ren_m_e_engineer|}}}
|ren_contractor={{{ren_contractor|}}}
+
|ren_contractors={{{ren_contractors|}}}
 
|ren_cost={{{ren_cost|}}}
 
|ren_cost={{{ren_cost|}}}
 
|ren_awards={{{ren_awards|}}}
 
|ren_awards={{{ren_awards|}}}
Line 184: Line 184:
 
-->{{#if:{{{demolished|}}}|<tr><th>Razed</th><td>{{{demolished}}}</td></tr>}}<!--
 
-->{{#if:{{{demolished|}}}|<tr><th>Razed</th><td>{{{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_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|}}}{{{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>{{{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>}}<!--
Line 193: Line 193:
 
-->{{#if:{{{ren_oth_designers|}}}|<tr><th>Other Designers</th><td>{{{ren_oth_designers|}}}</td></tr>}}<!--
 
-->{{#if:{{{ren_oth_designers|}}}|<tr><th>Other Designers</th><td>{{{ren_oth_designers|}}}</td></tr>}}<!--
 
-->{{#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_contractor|}}}|<tr><th>Contractor</th><td>[[{{{ren_contractor|}}}]]</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>{{{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>}}<!--

Revision as of 23:38, June 14, 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= 
|contractors= 
|start_date= 
|groundbreaking_date= 
|topped_out_date= 
|completion_date=
|opened_date= 
|renovation_date= 
|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_awards= 
|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.