Sail-la-vie (Talk | contribs) |
Sail-la-vie (Talk | contribs) |
||
| (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> | + | </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="row"> |
| − | ! Area | + | <div class="col-md-6"> |
| − | + | <div class="panel-body"> | |
| − | | | + | <p style="visibility:hidden">{{#if:{{{Title|}}}| |
| − | ! Coordinates | + | {{!}}-</p> |
| − | + | <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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</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|}}}| |
| − | + | {{!}}-</p> | |
| − | {{!}} {{#rating:{{{Current|}}}}} }} | + | <li class="list-group-item" style="margin-top:-8%;"> |
| − | + | <span class="label label-primary">Visibility</span> | |
| − | + | <span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">{{#rating:{{{Visibility|}}}}} </span></li>}} | |
| − | + | <p style="visibility:hidden">{{#if:{{{Sea Life|}}}| | |
| − | + | {{!}}-</p> | |
| − | + | <li class="list-group-item" style="margin-top:-8%;"> | |
| − | + | <span class="label label-primary">Sea Life</span> | |
| − | + | <span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">{{#rating:{{{Sea Life|}}}}} </span></li>}} | |
| − | + | <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> | ||
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.