Difference between revisions of "Template:Grounds"
From DAS Wiki
(13 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|image= | |image= | ||
|address= | |address= | ||
+ | |perimeter= | ||
|Geo= | |Geo= | ||
|founder= | |founder= | ||
Line 17: | Line 18: | ||
|elevation= | |elevation= | ||
|founded= | |founded= | ||
+ | |founded_approx= | ||
|opened= | |opened= | ||
+ | |opened_approx= | ||
|type= | |type= | ||
|NRHP_ID= | |NRHP_ID= | ||
Line 25: | Line 28: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=Grounds | {{#cargo_declare:_table=Grounds | ||
− | |||
|alt_name=String | |alt_name=String | ||
|image=File | |image=File | ||
|address=String | |address=String | ||
− | |Geo= | + | |perimeter=Text |
+ | |Geo=Coordinates | ||
|founder=List (;) of String | |founder=List (;) of String | ||
|owner=String | |owner=String | ||
Line 38: | Line 41: | ||
|elevation=Float | |elevation=Float | ||
|founded=Date | |founded=Date | ||
+ | |founded_approx=Boolean | ||
|opened=Date | |opened=Date | ||
+ | |opened_approx=Boolean | ||
|type=List (;) of String | |type=List (;) of String | ||
|NRHP_ID=String | |NRHP_ID=String | ||
− | | | + | |NRHP_url=URL |
}} | }} | ||
− | </noinclude><includeonly>__NOCACHE__{{#default_form:Grounds}}{{#cargo_store:_table=Grounds| | + | </noinclude><includeonly>__NOCACHE__{{#default_form:Grounds}}{{#cargo_store:_table=Grounds |
+ | |alt_name={{{alt_name|}}} | ||
+ | |image={{{image|}}} | ||
+ | |address={{{address|}}} | ||
+ | |perimeter={{{perimeter|}}} | ||
+ | |Geo={{{Geo|}}} | ||
+ | |founder={{{founder|}}} | ||
+ | |owner={{{owner|}}} | ||
+ | |builder={{{builder|}}} | ||
+ | |landscape_architect={{{landscape_architect|}}} | ||
+ | |other_designers={{{other_designers|}}} | ||
+ | |acreage={{{acreage|}}} | ||
+ | |elevation={{{elevation|}}} | ||
+ | |founded={{{founded|}}} | ||
+ | |founded_approx={{{founded_approx|}}} | ||
+ | |opened={{{opened|}}} | ||
+ | |opened_approx={{{opened_approx|}}} | ||
+ | |type={{{type|}}} | ||
+ | |NRHP_ID={{{NRHP_ID|}}} | ||
+ | |NRHP_url={{{NRHP_url|}}} | ||
+ | }} | ||
+ | {| 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> | ||
|- | |- | ||
Line 52: | Line 78: | ||
-->{{#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:{{{ | + | -->{{#if:{{{perimeter|}}}|<tr><th colspan="2">{{#display_map:|{{{perimeter}}}~ ~ ~#3B3BF5~ ~ ~#68A1E6|width=320|height=250 }}</th></tr> }}<!-- |
-->{{#if:{{{elevation|}}}|<tr><th>Above Sea-level (ft)</th><td>{{{elevation|}}}</td></tr>}}<!-- | -->{{#if:{{{elevation|}}}|<tr><th>Above Sea-level (ft)</th><td>{{{elevation|}}}</td></tr>}}<!-- | ||
-->{{#if:{{{acreage|}}}|<tr><th>Acreage</th><td>{{{acreage|}}}</td></tr>}}<!-- | -->{{#if:{{{acreage|}}}|<tr><th>Acreage</th><td>{{{acreage|}}}</td></tr>}}<!-- | ||
Line 63: | Line 89: | ||
-->{{#if:{{{builder|}}}|<tr><th>Builder</th><td>{{{builder|}}}</td></tr>}}<!-- | -->{{#if:{{{builder|}}}|<tr><th>Builder</th><td>{{{builder|}}}</td></tr>}}<!-- | ||
-->{{#if:{{{founded|}}}{{{opened|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Dates</th></tr>}}<!-- | -->{{#if:{{{founded|}}}{{{opened|}}}|<tr><th style="text-align: center; background-color:#ededed; font-weight: bold;", colspan="2">Dates</th></tr>}}<!-- | ||
− | -->{{#if:{{{founded|}}}|<tr><th>Founded</th><td>{{{founded|}}}</td></tr>}}<!-- | + | -->{{#if:{{{founded|}}}|<tr><th>Founded</th><td>{{yesno|{{{founded_approx|}}}|yes=Abt: }}{{{founded|}}}</td></tr>}}<!-- |
− | -->{{#if:{{{opened|}}}|<tr><th>Opened to Public</th><td>{{{opened|}}}</td></tr>}}<!-- | + | -->{{#if:{{{opened|}}}|<tr><th>Opened to Public</th><td>{{yesno|{{{opened_approx|}}}|yes=Abt: }}{{{opened|}}}</td></tr>}}<!-- |
<!-- | <!-- | ||
National Register | National Register | ||
Line 70: | Line 96: | ||
-->{{#if:{{{NRHP_ID|}}}|<tr><th>ID Number</th><td>[{{{NRHP_url}}} {{{NRHP_ID}}}]</td></tr>}} | -->{{#if:{{{NRHP_ID|}}}|<tr><th>ID Number</th><td>[{{{NRHP_url}}} {{{NRHP_ID}}}]</td></tr>}} | ||
|} | |} | ||
+ | |||
[[Category:Grounds]] | [[Category:Grounds]] | ||
</includeonly> | </includeonly> |
Latest revision as of 09:12, July 18, 2021
This is the "Grounds" template. It should be called in the following format:
{{Grounds |name= |alt_name= |image= |address= |perimeter= |Geo= |founder= |owner= |landscape_architect= |other_designers= |builder= |acreage= |elevation= |founded= |founded_approx= |opened= |opened_approx= |type= |NRHP_ID= |NRHP_url= }}
Edit the page to see the template text. This template defines the table "Grounds". View table.