Difference between revisions of "Template:Buildings"

From DAS Wiki
 
(40 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|image=
 
|image=
 
|address=
 
|address=
 +
|city=
 +
|state=
 
|Geo=
 
|Geo=
 
|altitude=
 
|altitude=
Line 17: Line 19:
 
|elevator_count=  
 
|elevator_count=  
 
|structural_system=  
 
|structural_system=  
|cost=  
+
|cost=
 +
|cost_approx=
 
|architect=
 
|architect=
 
|architecture_firm=  
 
|architecture_firm=  
Line 27: Line 30:
 
|landscape_architect=
 
|landscape_architect=
 
|design_awards=  
 
|design_awards=  
|main_contractor=  
+
|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=  
|ren_engineer=  
+
|ren_l_a=  
 
|ren_str_engineer=  
 
|ren_str_engineer=  
 
|ren_civ_engineer=  
 
|ren_civ_engineer=  
 
|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_cost_approx=
 +
|ren_awards=
 +
|demolished=
 +
|demolished_approx=
 
|national_register_id=  
 
|national_register_id=  
 
|national_register_url=  
 
|national_register_url=  
Line 49: Line 61:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=buildings
+
{{#cargo_declare:_table=Buildings
 
|image=File
 
|image=File
 
|address=String
 
|address=String
 +
|city=String
 +
|state=String
 
|Geo=Coordinates
 
|Geo=Coordinates
 
|altitude=string
 
|altitude=string
Line 62: Line 76:
 
|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 72: Line 86:
 
|surveyor=string
 
|surveyor=string
 
|landscape_architect=string
 
|landscape_architect=string
|general_contractor=string
+
|contractors=List (;) of Page
 
|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
|ren_engineer=string
+
|ren_l_a=string
 
|ren_str_engineer=string
 
|ren_str_engineer=string
 
|ren_civ_engineer=string
 
|ren_civ_engineer=string
 
|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_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
 
}}
 
}}
</noinclude><includeonly>__NOCACHE__{{#default_form:New Building}}{{#cargo_store:_table=buildings
+
</noinclude><includeonly>__NOCACHE__{{#default_form:New Building}}{{#cargo_store:_table=Buildings
 
|image={{{image|}}}
 
|image={{{image|}}}
 
|address={{{address|}}}
 
|address={{{address|}}}
 +
|city={{{city|}}}
 +
|state={{{state|}}}
 
|Geo={{{Geo|}}}
 
|Geo={{{Geo|}}}
 
|altitude={{{altitude|}}}
 
|altitude={{{altitude|}}}
 
|owner={{{owner|}}}
 
|owner={{{owner|}}}
 
|building_type={{{building_type|}}}
 
|building_type={{{building_type|}}}
|architectural_style= {{{architectural_style|}}}
+
|architectural_style={{{architectural_style|}}}
 
|height={{{height|}}}
 
|height={{{height|}}}
 
|material= {{{material|}}}
 
|material= {{{material|}}}
|floor_count= {{{floor_count|}}}
+
|floor_count={{{floor_count|}}}
|floor_area= {{{floor_area|}}}
+
|floor_area={{{floor_area|}}}
|elevator_count= {{{elevator_count|}}}
+
|elevator_count={{{elevator_count|}}}
|structural_system= {{{structural_system|}}}
+
|structural_system={{{structural_system|}}}
 
|height={{{height|}}}
 
|height={{{height|}}}
 
|architect={{{architect|}}}
 
|architect={{{architect|}}}
Line 118: Line 143:
 
|surveyor={{{surveyor|}}}
 
|surveyor={{{surveyor|}}}
 
|landscape_architect={{{landscape_architect|}}}
 
|landscape_architect={{{landscape_architect|}}}
|general_contractor={{{general_contractor|}}}
+
|contractors={{{contractors|}}}
 
|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|}}}
|ren_engineer={{{ren_engineer|}}}
+
|ren_l_a={{{ren_l_a|}}}
 
|ren_str_engineer={{{ren_str_enginer|}}}
 
|ren_str_engineer={{{ren_str_enginer|}}}
 
|ren_civ_engineer={{{ren_civ_engineer|}}}
 
|ren_civ_engineer={{{ren_civ_engineer|}}}
 
|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_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|}}}
 
  }}
 
  }}
{| 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;"
+
{| class="infobox"
 
!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>
 
|-
 
|-
! style="text-align: center; margin-left: 0.5em;padding:3px;", colspan="2"| <span>{{#if:{{{image|}}}|[[File:{{{image|}}}|320px|frameless]]</span>}}
+
!style="text-align: center; margin-left: 0.5em;padding:3px;", colspan="2"|<span>{{#if:{{{image|}}}|[[File:{{{image|}}}|320px|frameless]]}}</span>
 
|-<!-- all the arrows at the end and beginning of the lines below serve to eliminate carriage returns/line feeds from the published infobox. Otherwise, small amounts of vertical white space appear when no output is desired (i.e. when there is no entry for that particular category).-->
 
|-<!-- all the arrows at the end and beginning of the lines below serve to eliminate carriage returns/line feeds from the published infobox. Otherwise, small amounts of vertical white space appear when no output is desired (i.e. when there is no entry for that particular category).-->
 
<!--Site Information
 
<!--Site Information
 
-->{{#if:{{{address|}}}{{{Geo|}}}{{{altitude|}}}{{{owner|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Site Information</th></tr>}}<!--
 
-->{{#if:{{{address|}}}{{{Geo|}}}{{{altitude|}}}{{{owner|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Site Information</th></tr>}}<!--
 
-->{{#if:{{{address|}}}|<tr><th>Address</th><td>{{{address|}}}</td></tr>}}<!--
 
-->{{#if:{{{address|}}}|<tr><th>Address</th><td>{{{address|}}}</td></tr>}}<!--
-->{{#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:{{{city|}}}|<tr><th></th><td>{{{city|}}}, {{#if:{{{state|}}}|{{{state|}}}|Maryland}}</td></tr>}}<!--
-->{{#if:{{{altitude|}}}|<tr><th>Altitude</th><td>{{{altitude|}}}</td></tr>}}<!--
+
-->{{#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 style="text-align: center;padding:3px;", colspan="2"><span id="infoboxMap">{{#cargo_display_map:point={{{Geo|}}}|service=leaflet|width=100%|height=250 }}</span></th></tr>}}<!--
 +
-->{{#if:{{{altitude|}}}|<tr><th>Above Sea-level (ft)</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
 
Building Data
Line 164: Line 200:
 
Design
 
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>{{#formredlink:target={{{architect|}}}|form=New Architect}}</td></tr>}}<!--
-->{{#if:{{{architecture_firm|}}}|<tr><th>Architecture Firm</th><td>[[{{{architecture_firm|}}}]]</td></tr>}}<!--
+
-->{{#if:{{{architecture_firm|}}}|<tr><th>Architecture Firm</th><td>{{#formredlink:target={{{architecture_firm|}}}|form=Firm}}</td></tr>}}<!--
 
-->{{#if:{{{structural_engineer|}}}|<tr><th>Structural Engineer</th><td>[[{{{structural_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{structural_engineer|}}}|<tr><th>Structural Engineer</th><td>[[{{{structural_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{civil_engineer|}}}|<tr><th>Civil Engineer</th><td>[[{{{civil_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{civil_engineer|}}}|<tr><th>Civil Engineer</th><td>[[{{{civil_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{m_e_engineer|}}}|<tr><th>M/E Engineer</th><td>[[{{{m_e_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{m_e_engineer|}}}|<tr><th>M/E Engineer</th><td>[[{{{m_e_engineer|}}}]]</td></tr>}}<!--
-->{{#if:{{{other_designers|}}}|<tr><th>Other Designers</th><td>{{{other_designers|}}}</td></tr>}}<!--
+
-->{{#if:{{{other_designers|}}}|<tr><th>Other Designers</th><td>[[{{{other_designers|}}}]]</td></tr>}}<!--
 
-->{{#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
 
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:{{{contractors|}}}{{{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:{{{contractors|}}}|<tr><th>Contractors</th><td><div style="line-height:1.2em;";>{{#arraymap:{{{contractors|}}}|;|x|[[x]]}}</div></td></tr>}}<!--
 
-->{{#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:{{{cost|}}}|<tr><th>Cost</th><td>{{yesno|{{{cost_approx|}}}|yes=Abt:&nbsp;}}${{formatnum:{{{cost}}} }}</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_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>{{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>{{#formredlink:target={{{ren_architect|}}}|form=New Architect}}</td></tr>}}<!--
-->{{#if:{{{ren_firm|}}}|<tr><th>Firm</th><td>[[{{{ren_firm|}}}]]</td></tr>}}<!--
+
-->{{#if:{{{ren_firm|}}}|<tr><th>Firm</th><td>{{#formredlink:target={{{ren_firm|}}}|form=Firm}}</td></tr>}}<!--
-->{{#if:{{{ren_engineer|}}}|<tr><th>Engineer</th><td>[[{{{ren_engineer|}}}]]</td></tr>}}<!--
+
-->{{#if:{{{ren_l_a|}}}|<tr><th>Landscape Architect</th><td>[[{{{ren_l_a|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{ren_str_engineer|}}}|<tr><th>Structural Engineer</th><td>[[{{{ren_str_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{ren_str_engineer|}}}|<tr><th>Structural Engineer</th><td>[[{{{ren_str_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{ren_civ_engineer|}}}|<tr><th>Civil Engineer</th><td>[[{{{ren_civ_engineer|}}}]]</td></tr>}}<!--
 
-->{{#if:{{{ren_civ_engineer|}}}|<tr><th>Civil Engineer</th><td>[[{{{ren_civ_engineer|}}}]]</td></tr>}}<!--
 
-->{{#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>{{yesno|{{{ren_cost_approx|}}}|yes=Abt:&nbsp;}}${{formatnum:{{{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
 
-->{{#if:{{{national_register_id|}}}{{{national_register_url|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">National Register of Historic Places</th></tr>}}<!--
 
-->{{#if:{{{national_register_id|}}}{{{national_register_url|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">National Register of Historic Places</th></tr>}}<!--
-->{{#if:{{{national_register_id|}}}|<tr><th>ID Number</th><td>[{{{national_register_url}}} {{{national_register_id}}}]</td></tr>}}<!--
+
-->{{#if:{{{national_register_id|}}}|<tr><th>ID Number</th><td>[{{{national_register_url}}} {{{national_register_id}}}]</td></tr>}}
-->{{#if:{{{national_register_url|}}}|<tr><th>Website</th><td>[[{{{national_register_url}}}]]</td></tr>}}
 
 
|}
 
|}
  
 
[[Category:Buildings]]
 
[[Category:Buildings]]
 
</includeonly>
 
</includeonly>

Latest revision as of 08:32, July 18, 2021

This is the "Buildings" template. It should be called in the following format:

{{Buildings
|image=
|address=
|city=
|state=
|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". View table.