Sail-la-vie (Talk | contribs) |
Sail-la-vie (Talk | contribs) |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
</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"> | |
| − | + | <p class="panel-title" style="text-align:center; font-weight:bold;">Address</p> | |
| − | ! | + | </div> |
| − | + | <div class="row" > | |
| − | | | + | <div class="col-md-6"> |
| − | ! | + | <div class="panel-body"> |
| − | + | <p style="visibility:hidden">{{#if:{{{Area|}}}| | |
| − | | | + | {{!}}-</p> |
| − | ! Post Code | + | <li class="list-group-item" style="margin-top:-8%;"> |
| − | + | <span class="label label-primary btn-sm">Area</span> | |
| − | + | <span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Area::{{{Area|}}}]]</span></li>}} | |
| − | {{#if:{{{Street Address|}}}| | + | <p style="visibility:hidden">{{#if:{{{Municipality|}}}| |
| − | {{!}}- | + | {{!}}-</p> |
| − | + | <li class="list-group-item" style="margin-top:-8%;"> | |
| − | {{!}} [[Street Address::{{{Street Address|}}}]] }} | + | <span class="label label-primary btn-sm">Municipality</span> |
| − | | | + | <span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Municipality::{{{Municipality|}}}]]</span></li>}} |
| − | ! | + | <p style="visibility:hidden">{{#if:{{{Post Code|}}}| |
| − | + | {{!}}-</p> | |
| − | |} | + | <li class="list-group-item" style="margin-top:-8%;"> |
| + | <span class="label label-primary">Post Code</span> | ||
| + | <span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7; ">[[Post Code::{{{Post Code|}}}]] </span></li>}} | ||
| + | <p style="visibility:hidden">{{#if:{{{Street Address|}}}| | ||
| + | {{!}}-</p> | ||
| + | <li class="list-group-item" style="margin-top:-8%;"> | ||
| + | <span class="label label-primary">Street Address</span> | ||
| + | <span style="visibility:hidden">{{!}} </span> <span style="font-size:15px; color:#2C9AB7; ">[[Street Address::{{{Street Address|}}}]]</span> </li>}} | ||
| + | <p style="visibility:hidden">{{#if:{{{Coordinates|}}}| | ||
| + | {{!}}-</p> | ||
| + | <li class="list-group-item" style="margin-top:-8%;"> | ||
| + | <span class="label label-primary">Coordinates</span> | ||
| + | <span style="visibility:hidden">{{!}}</span> <span style="font-size:15px; color:#2C9AB7;">[[Coordinates::{{{Coordinates|}}}]]</span> </li>}} | ||
| + | </div> | ||
| + | </div> | ||
| + | <div class="col-md-6" style="margin-top:8px;"> | ||
| + | {{#if:{{{Coordinates|}}}| | ||
| + | {{#display_map:{{{Coordinates}}}|width=|height=|service=googlemaps|zoom=11}} | ||
| + | }} | ||
| + | </div> | ||
| + | </div> | ||
| + | </div> | ||
</includeonly> | </includeonly> | ||
| Line 40: | Line 61: | ||
{{#if: {{{Municipality|}}} | | {{#if: {{{Municipality|}}} | | ||
[[Category:{{{Municipality}}}]] }} | [[Category:{{{Municipality}}}]] }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
This is the "Address Details" template. It should be called in the following format:
{{Address Details
|Area=
|Municipality=
|Post Code=
|Street Address=
|Coordinates=
}}
Edit the page to see the template text.