Difference between revisions of "Template:Grounds"

From DAS Wiki
Line 35: Line 35:
 
-->{{#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.
-->{{#if:{{{height|}}}|<tr><th>Height above Sea-level</th><td>{{{height|}}}</td></tr>}}<!--
+
-->{{#if:{{{height|}}}|<tr><th>Above Sea-level (ft)</th><td>{{{height|}}}</td></tr>}}<!--
 
-->{{#if:{{{acreage|}}}|<tr><th>Acreage</th><td>{{{acreage|}}}</td></tr>}}<!--
 
-->{{#if:{{{acreage|}}}|<tr><th>Acreage</th><td>{{{acreage|}}}</td></tr>}}<!--
 
-->{{#if:{{{type|}}}|<tr><th>Type of facility</th><td>{{{type}}}</td></tr>}}<!--
 
-->{{#if:{{{type|}}}|<tr><th>Type of facility</th><td>{{{type}}}</td></tr>}}<!--

Revision as of 19:27, June 13, 2021

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

{{Grounds
|name=
|alt_name=
|image=
|address=
|geo_reference=
|founder=
|owner=
|landscape_architect=
|other_designers=
|builder=
|area=
|height=
|founded=
|opened=
|type=
|NRHP_ID=
|NRHP_url=
}}

Edit the page to see the template text. This template defines the table "Grounds". View table.