Template:EmergencyClinic: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Protected "Template:EmergencyClinic" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
<h6 class="card-subtitle mb-2 text-muted">{{{Location|No Location Provided}}}</h6> | <h6 class="card-subtitle mb-2 text-muted">{{{Location|No Location Provided}}}</h6> | ||
<p class="card-text">{{{Description|No Description Available}}}</p> | <p class="card-text">{{{Description|No Description Available}}}</p> | ||
<htmltag tagname="button" class="btn btn-primary" type="button" data-toggle="collapse" data-target="#details-{{{Name}}}" aria-expanded="false" aria-controls="details-{{{Name}}}"> | <htmltag tagname="button" class="btn btn-primary places-button" type="button" data-toggle="collapse" data-target="#details-{{{Name}}}" aria-expanded="false" aria-controls="details-{{{Name}}}"> | ||
Show Details | Show Details | ||
</htmltag> | </htmltag> | ||
<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 21: | Line 21: | ||
{{#if: {{{Antivenom|}}}|<li class="list-group-item"><i class="fas fa-syringe"></i> <strong>Antivenom Available:</strong> {{{Antivenom}}}</li>}} | {{#if: {{{Antivenom|}}}|<li class="list-group-item"><i class="fas fa-syringe"></i> <strong>Antivenom Available:</strong> {{{Antivenom}}}</li>}} | ||
{{#if: {{{Facilities|}}}|<li class="list-group-item"><i class="fas fa-info-circle"></i> <strong>Facilities:</strong> {{{Facilities}}}</li>}} | {{#if: {{{Facilities|}}}|<li class="list-group-item"><i class="fas fa-info-circle"></i> <strong>Facilities:</strong> {{{Facilities}}}</li>}} | ||
{{#if: {{{GoogleMapsURL|}}}|<li class="list-group-item"><i class="fas fa-map-marked-alt"></i> <strong>Google Maps:</strong> <htmltag tagname="a" href="{{{GoogleMapsURL}}}" target="_blank">View on Google Maps</htmltag></li>}} | |||
</ul> | </ul> | ||
</div> | </div> | ||
| Line 37: | 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 56: | 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 100: | 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 | ||
Latest revision as of 09:29, 29 June 2024
Template Documentation
This template is used to display information about emergency clinics in a card format.
Parameters
- Name: The name of the emergency clinic.
- Location: The location of the clinic.
- Description: A brief description of the clinic.
- Image: URL of the image.
- Address: The address of the clinic.
- GoogleMapsURL: URL link to the location on Google Maps.
- Phone: Contact phone number.
- Line: Line contact information.
- Website: Website URL.
- Facebook: Facebook URL.
- Instagram: Instagram URL.
- Hours: Operating hours.
- EmergencyServices: Details about the emergency services provided.
- Antivenom: Information about the availability of antivenom for snake bites.
- Facilities: Available facilities at the location.
To use this template, add the following code to your page and fill in the parameters:
{{EmergencyClinic
| Name = Example Emergency Clinic
| Location = Bangkok
| Description = A 24/7 emergency clinic offering comprehensive care for pets.
| Image = URL_of_image
| Address = 123 Example St, Bangkok
| GoogleMapsURL = https://maps.google.com/?q=123+Example+St,+Bangkok
| Phone = 123-456-7890
| Line = example
| Website = example.com
| Facebook = https://www.facebook.com/example
| Instagram = https://www.instagram.com/example
| Hours = 24/7
| EmergencyServices = 24-hour emergency care, surgery, intensive care
| Antivenom = Yes
| Facilities = Waiting area, pharmacy, diagnostic services
}}
TemplateData
Template to display information about emergency clinics.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | The name of the emergency clinic. | String | required |
| Location | Location | The location of the clinic. | String | required |
| Description | Description | A brief description of the clinic. | String | required |
| Image | Image | URL of the image. | String | optional |
| Address | Address | The address of the clinic. | String | optional |
| Google Maps URL | GoogleMapsURL | URL link to the location on Google Maps. | String | optional |
| Phone | Phone | Contact phone number. | String | optional |
| Line | Line | Line contact information. | String | optional |
| Website | Website | Website URL. | String | optional |
Facebook | Facebook URL. | String | optional | |
Instagram | Instagram URL. | String | optional | |
| Hours | Hours | Operating hours. | String | optional |
| Emergency Services | EmergencyServices | Details about the emergency services provided. | String | optional |
| Antivenom | Antivenom | Information about the availability of antivenom for snake bites. | String | optional |
| Facilities | Facilities | Available facilities at the location. | String | optional |