Line 21: Line 21:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly><div class="panel panel-primary">
|-
+
<div class="panel-heading">
! Title
+
<p class="panel-title" style="text-align:center; font-weight:bold;">General Details</p>
| [[Diving Area Title::{{{Title|}}}]]
+
</div>
|-
+
<div class="panel-body">
! Area
+
{{#if:{{{Title|}}}|
| [[Area::{{{Area|}}}]]  
+
{{!}}-
|-
+
<li class="list-group-item" style="margin-top:-4%;">
! Coordinates
+
<span class="label label-primary">Title</span>
| [[Coordinates::{{{Coordinates|}}}]]
+
{{!}} <span style="color:#166589; ">[[Diving Area Title::{{{Title|}}}]]</span></li>}}
|-
+
{{#if:{{{Area|}}}|
 +
{{!}}-
 +
<li class="list-group-item" style="margin-top:-4%;">
 +
<span class="label label-primary">Area</span>
 +
{{!}} <span style="color:#166589; ">[[Area::{{{Area|}}}]] </span></li>}}
 +
{{#if:{{{Coordinates|}}}|
 +
{{!}}-
 +
<li class="list-group-item" style="margin-top:-4%;">
 +
<span class="label label-primary">Coordinates</span>
 +
{{!}} <span style="color:#166589; ">[[Coordinates::{{{Coordinates|}}}]]</span> </li>}}
 
{{#if:{{{Spot|}}}|
 
{{#if:{{{Spot|}}}|
 
{{!}}-
 
{{!}}-
! Spot
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} [[Spot::{{{Spot|}}}]] }}
+
<span class="label label-primary">Spot</span>
|-
+
{{!}} <span style="color:#166589; ">[[Spot::{{{Spot|}}}]]</span> </li>}}
 
{{#if:{{{Description|}}}|
 
{{#if:{{{Description|}}}|
 
{{!}}-
 
{{!}}-
! Description
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} [[Description::{{{Description|}}}]] }}
+
<span class="label label-primary">Description</span>
|-
+
{{!}} <span style="color:#166589; font-weight:bold;"> [[Description::{{{Description|}}}]] </span></li>}}
 
{{#if:{{{Level|}}}|
 
{{#if:{{{Level|}}}|
 
{{!}}-
 
{{!}}-
! Difficulty Level
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} [[Level::{{{Level|}}}]] }}
+
<span class="label label-primary">Difficulty Level</span>
|-
+
{{!}} <span style="color:#166589; ">[[Level::{{{Level|}}}]] </span></li>}}
 
{{#if:{{{Features|}}}|
 
{{#if:{{{Features|}}}|
 
{{!}}-
 
{{!}}-
! Features
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} [[Features::{{{Features|}}}]] }}
+
<span class="label label-primary">Features</span>
|-
+
{{!}} <span style="color:#166589; ">[[Features::{{{Features|}}}]] </span></li>}}
 
{{#if:{{{Min Depth|}}}|
 
{{#if:{{{Min Depth|}}}|
 
{{!}}-
 
{{!}}-
! Min Depth
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} [[Min Depth::{{{Min Depth|}}}]] m }}
+
<span class="label label-primary">Min Depth</span>
|-
+
{{!}} <span style="color:#166589; ">[[Min Depth::{{{Min Depth|}}}]] m</span></li>}}
 
{{#if:{{{Max Depth|}}}|
 
{{#if:{{{Max Depth|}}}|
 
{{!}}-
 
{{!}}-
! Max Depth
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} [[Max Depth::{{{Max Depth|}}}]] m }}
+
<span class="label label-primary">Max Depth</span>
|-
+
{{!}} <span style="color:#166589; ">[[Max Depth::{{{Max Depth|}}}]] m</span></li>}}
 
{{#if:{{{Water Temperature|}}}|
 
{{#if:{{{Water Temperature|}}}|
 
{{!}}-
 
{{!}}-
! Water Temperature
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} [[Water Temperature::{{{Water Temperature|}}}]] °C }}
+
<span class="label label-primary">Water Temperature</span>
|-
+
{{!}} <span style="color:#166589; ">[[Water Temperature::{{{Water Temperature|}}}]] °C </span></li>}}
 
{{#if:{{{Visibility|}}}|
 
{{#if:{{{Visibility|}}}|
 
{{!}}-
 
{{!}}-
! Visibility
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} {{#rating:{{{Visibility|}}}}} }}
+
<span class="label label-primary">Visibility</span>
|-
+
{{!}} <span style="color:#166589; ">{{#rating:{{{Visibility|}}}}} </span></li>}}
 
{{#if:{{{Sea Life|}}}|
 
{{#if:{{{Sea Life|}}}|
 
{{!}}-
 
{{!}}-
! Sea Life
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} {{#rating:{{{Sea Life|}}}}} }}
+
<span class="label label-primary">Sea Life</span>
|-
+
{{!}} <span style="color:#166589; ">{{#rating:{{{Sea Life|}}}}} </span></li>}}
 
{{#if:{{{Current|}}}|
 
{{#if:{{{Current|}}}|
 
{{!}}-
 
{{!}}-
! Current
+
<li class="list-group-item" style="margin-top:-4%;">
{{!}} {{#rating:{{{Current|}}}}} }}
+
<span class="label label-primary">Current</span>
|-
+
{{!}} <span style="color:#166589; ">{{#rating:{{{Current|}}}}} </span></li>}}
{{#if:{{{Suggested by|}}}|
+
</div>
{{!}}-
+
</div>
! Suggested by
+
{{!}} [[Suggested by::{{{Suggested by|}}}]] }}
+
|}
+
 
[[Category:Diving Areas]]
 
[[Category:Diving Areas]]
 
</includeonly>
 
</includeonly>

Revision as of 11:03, 4 March 2015

This is the "Diving Areas" template. It should be called in the following format:

{{Diving Areas
|Title=
|Area=
|Coordinates=
|Spot=
|Description=
|Level=
|Min Depth=
|Max Depth=
|Visibility=
|Water Temperature=
|Sea Life=
|Current=
|Features=
|Suggested by=
}}

Edit the page to see the template text.


© 2026 by sail-la-vie • Powered by Powered by MediaWiki Powered by SMW Powered by Bootstrap