122
edits
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
<div class="collapse" id="details-{{{Name}}}"> | <div class="collapse" id="details-{{{Name}}}"> | ||
<ul class="list-group list-group-flush"> | <ul class="list-group list-group-flush"> | ||
{{#if: {{{Address|}}}|<li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> {{{Address}}}</li>}} | {{#if: {{{Address|}}}|<li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> <htmltag tagname="a" href="{{{GoogleMapsURL}}}" target="_blank">{{{Address}}}</htmltag></li>}} | ||
{{#if: {{{Phone|}}}|<li class="list-group-item"><i class="fas fa-phone"></i> <strong>Phone:</strong> {{{Phone}}}</li>}} | {{#if: {{{Phone|}}}|<li class="list-group-item"><i class="fas fa-phone"></i> <strong>Phone:</strong> {{{Phone}}}</li>}} | ||
{{#if: {{{Line|}}}|<li class="list-group-item"><i class="fab fa-line"></i> <strong>Line:</strong> <htmltag tagname="a" href="https://line.me/R/ti/p/{{{Line}}}" target="_blank">{{{Line}}}</htmltag></li>}} | {{#if: {{{Line|}}}|<li class="list-group-item"><i class="fab fa-line"></i> <strong>Line:</strong> <htmltag tagname="a" href="https://line.me/R/ti/p/{{{Line}}}" target="_blank">{{{Line}}}</htmltag></li>}} | ||
| Line 27: | Line 27: | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 39: | Line 38: | ||
* '''Image''': URL of the image. | * '''Image''': URL of the image. | ||
* '''Address''': The address of the clinic. | * '''Address''': The address of the clinic. | ||
* '''GoogleMapsURL''': URL link to the location on Google Maps. | |||
* '''Phone''': Contact phone number. | * '''Phone''': Contact phone number. | ||
* '''Line''': Line contact information. | * '''Line''': Line contact information. | ||
| Line 48: | Line 48: | ||
* '''Antivenom''': Information about the availability of antivenom for snake bites. | * '''Antivenom''': Information about the availability of antivenom for snake bites. | ||
* '''Facilities''': Available facilities at the location. | * '''Facilities''': Available facilities at the location. | ||
To use this template, add the following code to your page and fill in the parameters: | To use this template, add the following code to your page and fill in the parameters: | ||
| Line 59: | Line 58: | ||
| Image = URL_of_image | | Image = URL_of_image | ||
| Address = 123 Example St, Bangkok | | Address = 123 Example St, Bangkok | ||
| GoogleMapsURL = https://maps.google.com/?q=123+Example+St,+Bangkok | |||
| Phone = 123-456-7890 | | Phone = 123-456-7890 | ||
| Line = example | | Line = example | ||
| Line 68: | Line 68: | ||
| Antivenom = Yes | | Antivenom = Yes | ||
| Facilities = Waiting area, pharmacy, diagnostic services | | Facilities = Waiting area, pharmacy, diagnostic services | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 104: | Line 103: | ||
"label": "Address", | "label": "Address", | ||
"description": "The address of the clinic.", | "description": "The address of the clinic.", | ||
"type": "string", | |||
"required": false | |||
}, | |||
"GoogleMapsURL": { | |||
"label": "Google Maps URL", | |||
"description": "URL link to the location on Google Maps.", | |||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| Line 158: | Line 163: | ||
"label": "Facilities", | "label": "Facilities", | ||
"description": "Available facilities at the location.", | "description": "Available facilities at the location.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||