Template:Dive Site

From The Scuba Wiki

(Difference between revisions)
Jump to: navigation, search
 
(29 intermediate revisions not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Dive_Site" template.
This is the "Dive_Site" template.
-
It should be called in the following format:
 
-
<pre>
 
-
{{Dive_Site
 
-
|gpscoord=
 
-
|summertemp=
 
-
|wintertemp=
 
-
|topdepth=
 
-
|bottomdepth=
 
-
|current=
 
-
|skilllevel=
 
-
|watertype=
 
-
|spear=
 
-
|collect=
 
-
}}
 
-
</pre>
 
-
Edit the page to see the template text.
 
-
</noinclude><includeonly>
 
-
[[site_summtemp::{{{summertemp}}}|]][[site_winttemp::{{{wintertemp}}}|]]
 
-
 
-
{{#ask:[[{{PAGENAME}}]]|?site_summtemp#°C=}}
 
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>[[site_summtemp::{{{summertemp|}}}|]][[site_winttemp::{{{wintertemp|}}}|]][[site_topdepth::{{{topdepth|}}}|]][[site_bottomdepth::{{{bottomdepth|}}}|]]
{| style="width: 36em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
{| style="width: 36em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="3" |<big>{{PAGENAME}}</big>
! style="text-align: center; background-color:#ccccff;" colspan="3" |<big>{{PAGENAME}}</big>
Line 28: Line 10:
| colspan="2"|[[site_gpscoord::{{{gpscoord|}}}]]
| colspan="2"|[[site_gpscoord::{{{gpscoord|}}}]]
|-
|-
-
! Average Water Temp Summer/Winter
+
! Avg Water Temp Summer/Winter
-
| {{#ask:[[{{PAGENAME}}]]|?site_summtemp#°F=}} &nbsp; {{#ask:[[{{PAGENAME}}]]|?site_summtemp#°C=}} \|
+
| {{#ask:[[{{PAGENAME}}]]|?site_summtemp#°F=}} ({{#ask:[[{{PAGENAME}}]]|?site_summtemp#°C=}})
-
| {{#ask:[[{{PAGENAME}}]]|?site_winttemp#°F=}} &nbsp; {{#ask:[[{{PAGENAME}}]]|?site_winttemp#°C=}}
+
| {{#ask:[[{{PAGENAME}}]]|?site_winttemp#°F=}} ({{#ask:[[{{PAGENAME}}]]|?site_winttemp#°C=}})
|-
|-
-
! Average Depth Range
+
! Avg Depth Range
-
| [[site_topdepth::{{{topdepth|}}}]]
+
| {{#ask:[[{{PAGENAME}}]]|?site_topdepth#ft=}} ({{#ask:[[{{PAGENAME}}]]|?site_topdepth#m=}})
-
| [[site_bottomdepth::{{{bottomdepth|}}}]]
+
| {{#ask:[[{{PAGENAME}}]]|?site_bottomdepth#ft=}} ({{#ask:[[{{PAGENAME}}]]|?site_bottomdepth#m=}})
|-
|-
-
! Any Typical Current/Surge?
+
! Current/Surge?
| colspan="2"|{{#arraymap:{{{current|}}}|,|x|[[site_current::x]]}}
| colspan="2"|{{#arraymap:{{{current|}}}|,|x|[[site_current::x]]}}
|-
|-
-
! Recommended Skill Level?
+
! Recommended Exp?
| colspan="2"|{{#arraymap:{{{skilllevel|}}}|,|x|[[site_skilllevel::x]]}}
| colspan="2"|{{#arraymap:{{{skilllevel|}}}|,|x|[[site_skilllevel::x]]}}
|-
|-
Line 45: Line 27:
| colspan="2"|{{#arraymap:{{{watertype|}}}|,|x|[[site_watertype::x]]}}
| colspan="2"|{{#arraymap:{{{watertype|}}}|,|x|[[site_watertype::x]]}}
|-
|-
-
! Hunting/Spearfishing allowed?
+
! Hunting/Spearfishing?
| colspan="2"|{{#arraymap:{{{spear|}}}|,|x|[[site_spear::x]]}}
| colspan="2"|{{#arraymap:{{{spear|}}}|,|x|[[site_spear::x]]}}
|-
|-
-
! Artifact Collecting allowed?
+
! Artifact Collecting?
| colspan="2"|{{#arraymap:{{{collect|}}}|,|x|[[site_collect::x]]}}
| colspan="2"|{{#arraymap:{{{collect|}}}|,|x|[[site_collect::x]]}}
 +
|-
 +
! Dive Type Info
 +
| colspan="2"|{{#arraymap:{{{divetype|}}}|,|x|[[site_divetype::x]]}}
 +
|-
 +
! Tech Dive Type Info
 +
| colspan="2"|{{#arraymap:{{{techdivetype|}}}|,|x|[[site_techdivetype::x]]}}
|-
|-
|colspan="3"|{{#ask:[[{{PAGENAME}}]]|? site_gpscoord|format=googlemaps|height=400|width=400|zoom=10|type=hybrid}}
|colspan="3"|{{#ask:[[{{PAGENAME}}]]|? site_gpscoord|format=googlemaps|height=400|width=400|zoom=10|type=hybrid}}
|}
|}
 +
{{#if: {{{gpscoord|}}} ||'''Site not mapped!  Please help and supply GPS Coordinates.'''|}}
[[Category:Dive_Site]]</includeonly>
[[Category:Dive_Site]]</includeonly>

Latest revision as of 00:34, 6 February 2010

This is the "Dive_Site" template.

Edit the page to see the template text.

Personal tools
support the site