<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_dive_site%2Fdoc</id>
	<title>Template:Infobox dive site/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://the-democratika.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_dive_site%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Infobox_dive_site/doc&amp;action=history"/>
	<updated>2026-04-04T15:35:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://the-democratika.com/wiki/index.php?title=Template:Infobox_dive_site/doc&amp;diff=9790&amp;oldid=prev</id>
		<title>&gt;GhostInTheMachine: add remaining parameters to template data</title>
		<link rel="alternate" type="text/html" href="https://the-democratika.com/wiki/index.php?title=Template:Infobox_dive_site/doc&amp;diff=9790&amp;oldid=prev"/>
		<updated>2023-11-07T17:56:06Z</updated>

		<summary type="html">&lt;p&gt;add remaining parameters to template data&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}&lt;br /&gt;
&lt;br /&gt;
This template can be used to create an [[Help:Infobox|infobox]] for articles about underwater dive sites.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
This box includes the most often used parameters. &lt;br /&gt;
&lt;br /&gt;
{{Parameter names example | child | name | other_name | photo | photo_width | photo_alt | photo_caption | map = World | map_width | relief | label | label_position =| map_caption | map_alt | mark =| marker_width &amp;lt;!-- | coordinates --&amp;gt; | coords = {{coord|0|0}} | waterbody | nearest_land | coords_ref | dive_type | average_visibility | entry_type | bottom_composition | water | nearby_sites | embedded }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; style=&amp;quot;overflow: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{Infobox dive site&lt;br /&gt;
| name                = &lt;br /&gt;
| photo               = &lt;br /&gt;
| photo_width         = &lt;br /&gt;
| photo_caption       = &lt;br /&gt;
| map                 = &amp;lt;!-- See [[Template:Location map]] --&amp;gt;&lt;br /&gt;
| map_width           = &lt;br /&gt;
| map_caption         = &lt;br /&gt;
| location            = &lt;br /&gt;
| coords              = &lt;br /&gt;
| coords_ref          = &lt;br /&gt;
| waterbody           = &lt;br /&gt;
| nearest_land        = &lt;br /&gt;
| dive_type           = &amp;lt;!-- For example, [[Open-water diving|Open-water]], [[Wreck diving|Wreck]], [[Altitude diving|Altitude]], etc --&amp;gt;&lt;br /&gt;
| depth_range	      = &amp;lt;!-- For example, {{convert|10|to|100|ft|m|abbr=on}} --&amp;gt;&lt;br /&gt;
| average_visibility  = &amp;lt;!-- For example, {{convert|20|m|ft|abbr=on}} --&amp;gt;&lt;br /&gt;
| entry_type          = &amp;lt;!-- Boat or shore --&amp;gt;&lt;br /&gt;
| bottom_composition  = &amp;lt;!-- Rock, coral, sand, silt --&amp;gt;&lt;br /&gt;
| water               = &lt;br /&gt;
| nearby_sites        = &lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Parameter descriptions==&lt;br /&gt;
This table describes all the parameters available. Many are seldom used and a functional infobox can be created using the parameters listed above.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto; width:100%;&amp;quot;&lt;br /&gt;
! Parameter&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&lt;br /&gt;
| Name of the site, the article is may be disambiguated but this name in the infobox should be the undisambiguated name. For example, Blue Hole for [[Blue Hole (Red Sea)]]. This field is required.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;other_name&amp;lt;/code&amp;gt;&lt;br /&gt;
| Other names by which the dive site is known.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;photo&amp;lt;/code&amp;gt;&lt;br /&gt;
| Photograph of the site. Preferably an underwater shot, visibility allowing, showing its signature feature. Do not include the &amp;quot;Image:&amp;quot; prefix. If uploading a new image, please put them on [[Wikimedia Commons|Commons]] so they can be easily used by the other language Wikipedias.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;photo_width&amp;lt;/code&amp;gt;&lt;br /&gt;
| Determines the width of the photograph. The default and maximum value is 300px. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) will need to be adjusted. For example, &amp;lt;code&amp;gt;photo_width=200&amp;lt;/code&amp;gt; and not &amp;lt;code&amp;gt;photo_width=200px&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;photo_alt&amp;lt;/code&amp;gt;&lt;br /&gt;
| Alt text for the map. See [[WP:ALT]].&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;photo_caption&amp;lt;/code&amp;gt;&lt;br /&gt;
| Description of the photograph which is displayed below. Include the month and year if known.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;map&amp;lt;/code&amp;gt; || The name of the [[Template:location map|location map]] to be displayed. See [[#Map display methods|Map display methods]].  To use a static image, use {{para|map_image}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;map_image&amp;lt;/code&amp;gt; || The file name of a static map image to be displayed.  To use a [[Template:location map|location map]], use {{para|map}}.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;map_width&amp;lt;/code&amp;gt;&lt;br /&gt;
| Determines the width of the map. The default width is 220px and maximum width is 300px. For example, &amp;lt;code&amp;gt;map_width=180&amp;lt;/code&amp;gt; and not &amp;lt;code&amp;gt;map_width=180px&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;map_alt&amp;lt;/code&amp;gt;&lt;br /&gt;
| Alt text for the map. See [[WP:ALT]].&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;map_caption&amp;lt;/code&amp;gt;&lt;br /&gt;
| The caption that will appear below the map if one is required.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;relief&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects a relief map when assigned any value. This is functional when a location map template is used. See [[#Map display methods|Map display methods]].&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;mark&amp;lt;/code&amp;gt;&lt;br /&gt;
| A marker which shows the location of the dive site on a map. The default image is [[:File:Red pog.svg|Red pog.svg]]. For more information, see [[Template:Location map]].&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;marker_width&amp;lt;/code&amp;gt;&lt;br /&gt;
| The width of the location marker image in pixels. Seldom used. The default width is 8px.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;label_position&amp;lt;/code&amp;gt;&lt;br /&gt;
| This seldom used parameter will generate a text label next to the a location marker. Valid values are &amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;right&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;bottom&amp;lt;/code&amp;gt;. If no value is assigned to the &amp;lt;code&amp;gt;label&amp;lt;/code&amp;gt; parameter below, the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; will be used.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;label&amp;lt;/code&amp;gt;&lt;br /&gt;
| Text that will be displayed next to the location marker. See &amp;lt;code&amp;gt;label_position&amp;lt;/code&amp;gt; above.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;location&amp;lt;/code&amp;gt;&lt;br /&gt;
| Province or state first, followed by country. For USA, the county is optional but if given, be provided before the state.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;coords&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;coordinates&amp;lt;/code&amp;gt;&lt;br /&gt;
| For the {{tl|Coord}} template. &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;coords_ref&amp;lt;/code&amp;gt;&lt;br /&gt;
| Strongly recommended. Specify a citation for the coordinates using {{nowrap|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;...&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;}} tags.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;waterbody&amp;lt;/code&amp;gt;&lt;br /&gt;
| Name of the body of water the site is located in. Example: [[Bay of Biscayne]]. May be a reef structure, e.g. [[Lighthouse Reef]]. Use most specific name, &amp;#039;&amp;#039;not&amp;#039;&amp;#039; e.g. [[Atlantic Ocean]].&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;nearest_land&amp;lt;/code&amp;gt;&lt;br /&gt;
| May be nearest settlement. May not be useful for inland diving.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;dive_type&amp;lt;/code&amp;gt;&lt;br /&gt;
| Generally, [[open-water diving]], [[wreck diving]], [[cave diving]], [[altitude diving]], etc. May use [[technical diving]] in lieu of a long list.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;depth_range&amp;lt;/code&amp;gt;&lt;br /&gt;
| Use {{tl|convert}}, such as &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{convert|60|to|120|ft|m|abbr=on}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{convert|60|to|120|ft|m|abbr=on}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;average_visibility&amp;lt;/code&amp;gt;&lt;br /&gt;
| Generally, what divers should expect on a typical diving day. Use {{tl|convert}}.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;entry_type&amp;lt;/code&amp;gt;&lt;br /&gt;
| Shore, boat, or both&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;bottom_composition&amp;lt;/code&amp;gt;&lt;br /&gt;
|  Rock, reef, sand, silt, etc&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;water&amp;lt;/code&amp;gt;&lt;br /&gt;
|  Fresh or salt. May specify a [[halocline]] or [[hydrogen sulfate]] layer.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;nearby_sites&amp;lt;/code&amp;gt;&lt;br /&gt;
| Nearby dive sites at least sometimes combined with this one as a single dive because they are close, e.g. &amp;#039;&amp;#039;[[Tokai Maru]]&amp;#039;&amp;#039; and {{SMS|Cormoran|1909|6}}, or they are part of a drift dive, e.g. Yellow Wall → Peleliu Express → Peleliu Corner&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
=== Blue Hole ===&lt;br /&gt;
&lt;br /&gt;
{{Infobox dive site&lt;br /&gt;
| name = Blue Hole&lt;br /&gt;
| photo = SCUBA divers approaching a sinkhole on a Guamanian reef (reef317083434).jpg&lt;br /&gt;
| photo_caption = Divers approaching the entry to Blue Hole &lt;br /&gt;
| location = [[Guam]], [[United States|USA]]&lt;br /&gt;
| other_name = &lt;br /&gt;
| coords = {{coord|13.4400|N|144.6190|E|type:landmark_region:USA_Guam}}&lt;br /&gt;
| waterbody = [[Agat Bay]]&lt;br /&gt;
| nearest_land = [[Orote Peninsula]]&lt;br /&gt;
| dive_type = [[Open-water diving|Open-water]]&lt;br /&gt;
| depth_range = {{convert|60|to|300|ft|m|abbr=on}}&lt;br /&gt;
| average_visibility = {{convert|100|ft|m|abbr=on}}&lt;br /&gt;
| entry_type= Boat&lt;br /&gt;
| bottom_composition = Rock&lt;br /&gt;
| water = Salt&lt;br /&gt;
| nearby_sites = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{Infobox dive site&lt;br /&gt;
| name = Blue Hole&lt;br /&gt;
| photo = SCUBA divers approaching a sinkhole on a Guamanian reef (reef317083434).jpg&lt;br /&gt;
| photo_caption = Divers approaching the entry to Blue Hole &lt;br /&gt;
| location = [[Guam]], [[United States|USA]]&lt;br /&gt;
| other_name = &lt;br /&gt;
| coords = {{coord|13.4400|N|144.6190|E|type:landmark_region:USA_Guam}}&lt;br /&gt;
| waterbody = [[Agat Bay]]&lt;br /&gt;
| nearest_land = [[Orote Peninsula]]&lt;br /&gt;
| dive_type = [[Open-water diving|Open-water]]&lt;br /&gt;
| depth_range = {{convert|60|to|300|ft|m|abbr=on}}&lt;br /&gt;
| average_visibility = {{convert|100|ft|m|abbr=on}}&lt;br /&gt;
| entry_type= Boat&lt;br /&gt;
| bottom_composition = Rock&lt;br /&gt;
| water = Salt&lt;br /&gt;
| nearby_sites = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Map display methods==&lt;br /&gt;
Any image file can be displayed as a map: pass the file name (without File: or Image: prefix) to {{para|map}}.&lt;br /&gt;
&lt;br /&gt;
A marker can be superimposed on a map using one of a set of special map templates. To display a marker, the geographic coordinates must be specified using the {{tl|Coord}} template inside the {{para|coordinates}} parameter. See the documentation for {{tl|Location map}}. The parameters for this template map to a subset of the parameters used by {{tlf|Location map}}. A map template can be found using these sources:&lt;br /&gt;
:[[Template:Location map/List|List of templates]] – Many of the listed items are redirects and a few templates may not function as expected.&lt;br /&gt;
:[[:Category:Location map templates]] - templates sorted by category.&lt;br /&gt;
:[[Special:WhatLinksHere/Template:Location map/Info]] – a search that might help.&lt;br /&gt;
:[[Special:PrefixIndex/Module:Location map/data/]] – another search that might help.&lt;br /&gt;
:[[Special:Prefixindex/Template:Location map]] – another search that might help.&lt;br /&gt;
&lt;br /&gt;
All of the names begin with the words &amp;quot;Location map&amp;quot; followed by the area covered. The value you need to specify is the area name. The map template for England is [[Module:Location map/data/England|Location map/data/England]]. In this case specify {{para|map|England}}.&lt;br /&gt;
&lt;br /&gt;
{{Infobox dive site&lt;br /&gt;
| name = The Manacles&lt;br /&gt;
| map = England&lt;br /&gt;
| map_caption = Example using geographic coordinates&lt;br /&gt;
| coordinates = {{coord|50.04462|N|5.04616|W|display=inline }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Infobox dive site&lt;br /&gt;
| name = The Manacles&lt;br /&gt;
| map = England&lt;br /&gt;
| map_caption = Example using geographic coordinates&lt;br /&gt;
| coordinates = {{coord|50.04462|N|5.04616|W|display=inline }}&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default, {{tl|Coord}} displays in the infobox only in the page title. Parameter {{para|display|inline,title}} can be added to make the coordinates display at the top of the page as well.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== Template Data ==&lt;br /&gt;
&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
{{collapse top|bg=#ccc|title=Template Data}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;name&amp;quot;: {},&lt;br /&gt;
		&amp;quot;photo&amp;quot;: {},&lt;br /&gt;
		&amp;quot;photo_width&amp;quot;: {},&lt;br /&gt;
		&amp;quot;photo_caption&amp;quot;: {},&lt;br /&gt;
		&amp;quot;map&amp;quot;: {},&lt;br /&gt;
		&amp;quot;map_width&amp;quot;: {},&lt;br /&gt;
		&amp;quot;map_caption&amp;quot;: {},&lt;br /&gt;
		&amp;quot;location&amp;quot;: {},&lt;br /&gt;
		&amp;quot;coords&amp;quot;: {},&lt;br /&gt;
		&amp;quot;coords_ref&amp;quot;: {},&lt;br /&gt;
		&amp;quot;waterbody&amp;quot;: {},&lt;br /&gt;
		&amp;quot;nearest_land&amp;quot;: {},&lt;br /&gt;
		&amp;quot;dive_type&amp;quot;: {},&lt;br /&gt;
		&amp;quot;depth_range&amp;quot;: {},&lt;br /&gt;
		&amp;quot;average_visibility&amp;quot;: {},&lt;br /&gt;
		&amp;quot;entry_type&amp;quot;: {},&lt;br /&gt;
		&amp;quot;bottom_composition&amp;quot;: {},&lt;br /&gt;
		&amp;quot;water&amp;quot;: {},&lt;br /&gt;
		&amp;quot;child&amp;quot;: {},&lt;br /&gt;
		&amp;quot;other_name&amp;quot;: {},&lt;br /&gt;
		&amp;quot;photo_alt&amp;quot;: {},&lt;br /&gt;
		&amp;quot;map_size&amp;quot;: {},&lt;br /&gt;
		&amp;quot;mapsize&amp;quot;: {},&lt;br /&gt;
		&amp;quot;relief&amp;quot;: {},&lt;br /&gt;
		&amp;quot;label&amp;quot;: {},&lt;br /&gt;
		&amp;quot;label_position&amp;quot;: {},&lt;br /&gt;
		&amp;quot;map_alt&amp;quot;: {},&lt;br /&gt;
		&amp;quot;mark&amp;quot;: {},&lt;br /&gt;
		&amp;quot;marker_size&amp;quot;: {},&lt;br /&gt;
		&amp;quot;marker_width&amp;quot;: {},&lt;br /&gt;
		&amp;quot;if empty&amp;quot;: {},&lt;br /&gt;
		&amp;quot;coordinates&amp;quot;: {},&lt;br /&gt;
		&amp;quot;map_image&amp;quot;: {},&lt;br /&gt;
		&amp;quot;image_map&amp;quot;: {},&lt;br /&gt;
		&amp;quot;nearby_sites&amp;quot;: {}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;block&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
== Tracking category ==&lt;br /&gt;
* {{clc|Pages using infobox dive site with unknown parameters}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Place infobox templates|Dive site]]&lt;br /&gt;
[[Category:Embeddable templates]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>&gt;GhostInTheMachine</name></author>
	</entry>
</feed>