Sail-la-vie (Talk | contribs) |
Sail-la-vie (Talk | contribs) |
||
| Line 21: | Line 21: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
| − | </noinclude><includeonly> | + | </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> |
| − | + | </div> | |
| − | | | + | <div class="panel-body"> |
| − | ! Area | + | {{#if:{{{Title|}}}| |
| − | + | {{!}}- | |
| − | | | + | <li class="list-group-item" style="margin-top:-4%;"> |
| − | ! Coordinates | + | <span class="label label-primary">Title</span> |
| − | + | {{!}} <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <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>}} | |
| − | + | </div> | |
| − | + | </div> | |
| − | + | ||
| − | + | ||
| − | + | ||
[[Category:Diving Areas]] | [[Category:Diving Areas]] | ||
</includeonly> | </includeonly> | ||
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.