Template:Divesite infobox: Difference between revisions
(Add dive site category assignment, invoke IsPartOf) |
(Describe template) |
||
Line 76: | Line 76: | ||
"required": true | "required": true | ||
} | } | ||
} | }, | ||
"description": "This is a \"god\" template that should be invoked on every page documenting an individual dive site. It does the following:\n\n- Adds an info box displaying basic site information\n- Adds a slippy map with a pin on the geolocation\n- Inserts various SMW properties\n- Calls IsPartOf to place the article in a region" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 17:07, 3 January 2025
Site Info | |
---|---|
Type | {{{type}}} |
Coordinates | {{{coordinates}}} |
Region | {{{region}}} |
Access | {{{site_access_type}}} |
Depth range | {{{depth_range}}} |
The following coordinate was not recognized: {{{coordinates}}}. "{{{type}}}" is not in the list (Cavern, Cave, Wreck, Lake, Reef, Cove, Inlet) of allowed values for the "Has site type" property. Property "Has access type" (as page type) with input value "{{{site_access_type}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Property "Has region" (as page type) with input value "{{{region}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
[[Category:{{{type}}}]]
Property "Part of" (as page type) with input value "{{{region}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
This is a "god" template that should be invoked on every page documenting an individual dive site. It does the following: - Adds an info box displaying basic site information - Adds a slippy map with a pin on the geolocation - Inserts various SMW properties - Calls IsPartOf to place the article in a region
Parameter | Description | Type | Status | |
---|---|---|---|---|
Region | region | The general region
| String | required |
Site access type | site_access_type | How the site is typically accessed - boat, shore, etc.
| Unknown | required |
Depth range | depth_range | The depth range for dives at this site. It's okay for this to be very large; e.g. for sites where both recreational and technical dives can be conducted, the range could be something like 5-100m
| String | suggested |
GPS coordinates | coordinates | Decimal GPS coordinates of the site. For large sites such as lakes, use something representative such as the typical entrypoint or a major feature. Format should be 'lat,long'.
| String | suggested |
Type | type | General type of site; ocean, lake, wreck, cave, river, etc. If multiple types are present, add multiple.
| Unknown | required |