Template:Divesite infobox: Difference between revisions

Template page
(Add 'Has coordinates' SMW property)
(make info box minimum 30%)
Tags: Mobile edit Mobile web edit
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float: right; margin-left:15px">
<div class="divesiteinfobox floatright" style="min-width: 30%">
{| class="wikitable" style="border:1px solid black"
{| class="wikitable" style="border:1px solid black; width:100%;"
!colspan="2" | Site Info
!colspan="2" | Site Info
|-
|-
Line 19: Line 19:
|-
|-
|}
|}
{{#if:{{{coordinates}}}|{{ #display_map:{{{coordinates}}}|width=300|height=300|copycoords=yes|defzoom=13|resizable=yes|fullscreen=yes }} }}
{{#if:{{{coordinates}}}|{{ #display_map:{{{coordinates}}}|copycoords=yes|defzoom=13|resizable=yes|fullscreen=yes }} }}
</div>
</div>


[[Has coordinates::{{{coordinates}}}]]
{{#set:
  Has coordinates={{{coordinates}}}
}}


{{#if:{{{type}}}|[[Category:{{{type}}}]]}}
{{#if:{{{type}}}|[[Category:{{{type}}}]]}}

Latest revision as of 22:58, 29 May 2024

Site Info
Type {{{type}}}
Coordinates {{{coordinates}}}
Region {{{region}}}
Access via {{{site_access_type}}}
Depth range {{{depth_range}}}
Loading map...

The following coordinate was not recognized: {{{coordinates}}}.

[[Category:{{{type}}}]]


No description.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Regionregion

The general region

Suggested values
Arctic Circle
Example
Caribbean
Stringrequired
Site access typesite_access_type

How the site is typically accessed - boat, shore, etc.

Example
Boat
Unknownrequired
Depth rangedepth_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

Example
5-10m
Stringsuggested
GPS coordinatescoordinates

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'.

Example
36.032611, -75.663972
Stringsuggested
Typetype

General type of site; ocean, lake, wreck, cave, river, etc. If multiple types are present, add multiple.

Example
Wreck
Unknownrequired