Difference between revisions of "Template:Buildings"
From DAS Wiki
Line 102: | Line 102: | ||
|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 150: | Line 150: | ||
-->{{#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:{{{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.<!-- | ||
− | -->style="text-align: center; margin-left: 0.5em;padding:3px;", colspan="2"| <span>{{#if:{{{ | + | -->style="text-align: center; margin-left: 0.5em;padding:3px;", colspan="2"| <span>{{#if:{{{Geo|}}}|{{#cargo_display_map:point= {{{Geo|}}} }}</span>}}<!-- |
-->{{#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>}}<!-- |
Revision as of 19:54, June 13, 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_l_a= |ren_str_engineer= |ren_civ_engineer= |ren_oth_designers= |ren_m_e_engineer= |ren_contractor= |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.