Difference between revisions of "Template:Grounds"

From DAS Wiki
Line 14: Line 14:
 
|other_designers=
 
|other_designers=
 
|builder=
 
|builder=
|area=
+
|acreage=
|height=
+
|elevation=
 
|founded=
 
|founded=
 
|opened=
 
|opened=
Line 24: Line 24:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=Grounds|name=Page|alt_name=String|image=File|address=String|Geo=String|founder=List (;) of String|owner=String|builder=List (;) of String|area=Float|height=Float|founded=Date|opened=Date|type=List (;) of String|NRHP_ID=String|HRHP_url=URL}}
+
{{#cargo_declare:_table=Grounds|name=Page|alt_name=String|image=File|address=String|Geo=String|founder=List (;) of String|owner=String|builder=List (;) of String|acreage=Float|height=Float|founded=Date|opened=Date|type=List (;) of String|NRHP_ID=String|HRHP_url=URL}}
</noinclude><includeonly>__NOCACHE__{{#default_form:Grounds}}{{#cargo_store:_table=Grounds|name={{{name|}}}|alt_name={{{alt_name|}}}|image={{{image|}}}|Geo={{{Geo|}}}|founder={{{founder|}}}|owner={{{owner|}}}|builder={{{builder|}}}|area={{{area|}}}|height={{{height|}}}|founded={{{founded|}}}|opened={{{opened|}}}|type={{{type|}}}|NRHP_ID={{{NRHP_ID|}}}|NRHP_url={{{NRHP_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;"
+
</noinclude><includeonly>__NOCACHE__{{#default_form:Grounds}}{{#cargo_store:_table=Grounds|name={{{name|}}}|alt_name={{{alt_name|}}}|image={{{image|}}}|Geo={{{Geo|}}}|founder={{{founder|}}}|owner={{{owner|}}}|builder={{{builder|}}}|acreage={{{acreage|}}}|elevation={{{elevation|}}}|founded={{{founded|}}}|opened={{{opened|}}}|type={{{type|}}}|NRHP_ID={{{NRHP_ID|}}}|NRHP_url={{{NRHP_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;"
 
!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>
 
|-
 
|-
Line 31: Line 31:
 
|-<!-- 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:{{{alt_name|}}}{{{address|}}}{{{Geo|}}}{{{height|}}}{{{area|}}}{{{type|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Site Information</th></tr>}}<!--
+
-->{{#if:{{{alt_name|}}}{{{address|}}}{{{Geo|}}}{{{elevation|}}}{{{acreage|}}}{{{type|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Site Information</th></tr>}}<!--
 
-->{{#if:{{{alt_name|}}}|<tr><th>Other Name</th><td>{{{alt_name|}}}</td></tr>}}<!--
 
-->{{#if:{{{alt_name|}}}|<tr><th>Other Name</th><td>{{{alt_name|}}}</td></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 colspan="2">{{#display_map:|{{{Geo}}}~ ~ ~#3B3BF5~ ~ ~#68A1E6|width=320|height=250 }}</th></tr> }}<!--
 
-->{{#if:{{{Geo|}}}|<tr><th colspan="2">{{#display_map:|{{{Geo}}}~ ~ ~#3B3BF5~ ~ ~#68A1E6|width=320|height=250 }}</th></tr> }}<!--
-->{{#if:{{{height|}}}|<tr><th>Above Sea-level (ft)</th><td>{{{height|}}}</td></tr>}}<!--
+
-->{{#if:{{{elevation|}}}|<tr><th>Above Sea-level (ft)</th><td>{{{elevation|}}}</td></tr>}}<!--
-->{{#if:{{{area|}}}|<tr><th>Acreage</th><td>{{{area|}}}</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>}}<!--
 
-->{{#if:{{{founder|}}}{{{owner|}}}{{{builder|}}}{{{landscape_architect|}}}{{{other_designers|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">People</th></tr>}}<!--
 
-->{{#if:{{{founder|}}}{{{owner|}}}{{{builder|}}}{{{landscape_architect|}}}{{{other_designers|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">People</th></tr>}}<!--

Revision as of 13:22, June 15, 2021

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

{{Grounds
|name=
|alt_name=
|image=
|address=
|Geo=
|founder=
|owner=
|landscape_architect=
|other_designers=
|builder=
|acreage=
|elevation=
|founded=
|opened=
|type=
|NRHP_ID=
|NRHP_url=
}}

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