Difference between revisions of "Template:Grounds"

From DAS Wiki
(Created page with "<noinclude> This is the "Grounds" template. It should be called in the following format: <pre> {{Grounds |name= |alt_name= |image= |geo_reference= |founder= |owner= |builder=...")
 
Line 7: Line 7:
 
|alt_name=
 
|alt_name=
 
|image=
 
|image=
 +
|address=
 
|geo_reference=
 
|geo_reference=
 
|founder=
 
|founder=
Line 21: Line 22:
 
</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|geo_reference=List (;) of Coordinates|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_reference=List (;) of Coordinates|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}}
 
</noinclude><includeonly>{{#cargo_store:_table=Grounds|name={{{name|}}}|alt_name={{{alt_name|}}}|image={{{image|}}}|geo_reference={{{geo_reference|}}}|founder={{{founder|}}}|owner={{{owner|}}}|builder={{{builder|}}}|area={{{area|}}}|height={{{height|}}}|founded={{{founded|}}}|opened={{{opened|}}}|type={{{type|}}}|NRHP_ID={{{NRHP_ID|}}}|HRHP_url={{{HRHP_url|}}} }}{| class="wikitable"
 
</noinclude><includeonly>{{#cargo_store:_table=Grounds|name={{{name|}}}|alt_name={{{alt_name|}}}|image={{{image|}}}|geo_reference={{{geo_reference|}}}|founder={{{founder|}}}|owner={{{owner|}}}|builder={{{builder|}}}|area={{{area|}}}|height={{{height|}}}|founded={{{founded|}}}|opened={{{opened|}}}|type={{{type|}}}|NRHP_ID={{{NRHP_ID|}}}|HRHP_url={{{HRHP_url|}}} }}{| class="wikitable"
 
! name
 
! name
Line 31: Line 32:
 
! image
 
! image
 
| {{#if:{{{image|}}}|[[File:{{{image|}}}]]}}
 
| {{#if:{{{image|}}}|[[File:{{{image|}}}]]}}
 +
|-
 +
! address
 +
|{{{address|}}}
 
|-
 
|-
 
! geo-reference
 
! geo-reference

Revision as of 18:22, 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=
|builder=
|area=
|height=
|founded=
|opened=
|type=
|NRHP_ID=
|HRHP_url=
}}

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