(10 intermediate revisions by the same user not shown)
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="row">
! Area
+
<div class="col-md-6">
| [[Area::{{{Area|}}}]]  
+
<div class="panel-body">
|-
+
<p style="visibility:hidden">{{#if:{{{Title|}}}|
! Coordinates
+
{{!}}-</p>
| [[Coordinates::{{{Coordinates|}}}]]
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Title</span>
{{#if:{{{Spot|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Diving Area Title::{{{Title|}}}]]</span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Area|}}}|
! Spot
+
{{!}}-</p>
{{!}} [[Spot::{{{Spot|}}}]] }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Area</span>
{{#if:{{{Description|}}}|
+
<span style="visibility:hidden">{{!}} </span><span style="font-size:15px; color:#2C9AB7;  ">[[Area::{{{Area|}}}]] </span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Coordinates|}}}|
! Description
+
{{!}}-</p>
{{!}} [[Description::{{{Description|}}}]] }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Coordinates</span>
{{#if:{{{Level|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Coordinates::{{{Coordinates|}}}]]</span> </li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Spot|}}}|
! Difficulty Level
+
{{!}}-</p>
{{!}} [[Level::{{{Level|}}}]] }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Spot</span>
{{#if:{{{Features|}}}|
+
<span style="visibility:hidden">{{!}} </span><span style="font-size:15px; color:#2C9AB7;  ">[[Spot::{{{Spot|}}}]]</span> </li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Description|}}}|
! Features
+
{{!}}-</p>
{{!}} [[Features::{{{Features|}}}]] }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Description</span>
{{#if:{{{Min Depth|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; "> [[Description::{{{Description|}}}]] </span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Level|}}}|
! Min Depth
+
{{!}}-</p>
{{!}} [[Min Depth::{{{Min Depth|}}}]] m }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Difficulty Level</span>
{{#if:{{{Max Depth|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Level::{{{Level|}}}]] </span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Features|}}}|
! Max Depth
+
{{!}}-</p>
{{!}} [[Max Depth::{{{Max Depth|}}}]] m }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Features</span>
{{#if:{{{Water Temperature|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Features::{{{Features|}}}]] </span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Min Depth|}}}|
! Water Temperature
+
{{!}}-</p>
{{!}} [[Water Temperature::{{{Water Temperature|}}}]] °C }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Min Depth</span>
{{#if:{{{Visibility|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7;  ">[[Min Depth::{{{Min Depth|}}}]] m</span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Max Depth|}}}|
! Visibility
+
{{!}}-</p>
{{!}} {{#rating:{{{Visibility|}}}}} }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Max Depth</span>
{{#if:{{{Sea Life|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7;  ">[[Max Depth::{{{Max Depth|}}}]] m</span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Water Temperature|}}}|
! Sea Life
+
{{!}}-</p>
{{!}} {{#rating:{{{Sea Life|}}}}} }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Water Temperature</span>
{{#if:{{{Current|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Water Temperature::{{{Water Temperature|}}}]] °C </span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Visibility|}}}|
! Current
+
{{!}}-</p>
{{!}} {{#rating:{{{Current|}}}}} }}
+
<li class="list-group-item" style="margin-top:-8%;">
|-
+
<span class="label label-primary">Visibility</span>
{{#if:{{{Suggested by|}}}|
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7;  ">{{#rating:{{{Visibility|}}}}} </span></li>}}
{{!}}-
+
<p style="visibility:hidden">{{#if:{{{Sea Life|}}}|
! Suggested by
+
{{!}}-</p>
{{!}} [[Suggested by::{{{Suggested by|}}}]] }}
+
<li class="list-group-item" style="margin-top:-8%;">
|}
+
<span class="label label-primary">Sea Life</span>
[[Category:Diving Areas]]
+
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">{{#rating:{{{Sea Life|}}}}} </span></li>}}
</includeonly>
+
<p style="visibility:hidden">{{#if:{{{Current|}}}|
 +
{{!}}-</p>
 +
<li class="list-group-item" style="margin-top:-8%;">
 +
<span class="label label-primary">Current</span>
 +
<span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">{{#rating:{{{Current|}}}}} </span></li>}}
 +
</div>
 +
</div>
 +
<div class="col-md-6" style="margin-top:3%; padding-left:3%;">
 
{{#if:{{{Coordinates|}}}|
 
{{#if:{{{Coordinates|}}}|
 
<div style="padding-bottom: 20px;">{{#display_map:{{{Coordinates}}}|width=|height=|service=googlemaps|zoom=11}}</div>
 
<div style="padding-bottom: 20px;">{{#display_map:{{{Coordinates}}}|width=|height=|service=googlemaps|zoom=11}}</div>
 
}}
 
}}
 +
</div>
 +
</div>
 +
</div>
 +
[[Category:Diving Areas]]
 +
 
{{#if: {{{Area|}}} |  
 
{{#if: {{{Area|}}} |  
 
[[Category:{{{Area}}}]] }}
 
[[Category:{{{Area}}}]] }}
 +
 +
</includeonly>

Latest revision as of 07:04, 9 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