Sail-la-vie (Talk | contribs) |
Sail-la-vie (Talk | contribs) |
||
| 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 Details</p> | |
| − | + | </div> | |
| − | ! | + | <div class="panel-body"> |
| − | + | {{#if:{{{Area|}}}| | |
| − | | | + | {{!}}- |
| − | ! | + | <li class="list-group-item" style="margin-top:-4%;"> |
| − | + | <span class="label label-primary btn-sm">Area</span> | |
| − | | | + | {{!}} <span style="color:#166589; ">[[Area::{{{Area|}}}]]</span></li>}} |
| − | ! Post Code | + | {{#if:{{{Municipality|}}}| |
| − | + | {{!}}- | |
| − | + | <li class="list-group-item" style="margin-top:-4%;"> | |
| + | <span class="label label-primary btn-sm">Municipality</span> | ||
| + | {{!}} <span style="color:#166589; ">[[Municipality::{{{Municipality|}}}]]</span></li>}} | ||
| + | {{#if:{{{Post Code|}}}| | ||
| + | {{!}}- | ||
| + | <li class="list-group-item" style="margin-top:-4%;"> | ||
| + | <span class="label label-primary">Post Code</span> | ||
| + | {{!}} <span style="color:#166589; ">[[Post Code::{{{Post Code|}}}]] </span></li>}} | ||
{{#if:{{{Street Address|}}}| | {{#if:{{{Street Address|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | <li class="list-group-item" style="margin-top:-4%;"> | |
| − | {{!}} [[Street Address::{{{Street Address|}}}]] }} | + | <span class="label label-primary">Street Address</span> |
| − | | | + | {{!}} <span style="color:#166589; ">[[Street Address::{{{Street Address|}}}]]</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>}} | ||
| + | </div> | ||
| + | </div> | ||
| + | |||
</includeonly> | </includeonly> | ||
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.