Template:EmergencyClinic: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly> <div class="card" style="width: 18rem; margin-bottom: 1rem;"> <htmltag tagname="img" class="card-img-top" src="{{{Image|https://travel.happypaws.asia/images/1/1c/DefaultClinic.jpg}}}" alt="Image of {{{Name|Unknown}}}"></htmltag> <div class="card-body"> <h5 class="card-title">{{{Name|No Name Provided}}}</h5> <h6 class="card-subtitle mb-2 text-muted">{{{Location|No Location Provided}}}</h6> <p class="card-text">{{{Description|No Description Av...") |
No edit summary |
||
| Line 13: | Line 13: | ||
{{#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> {{{Address}}}</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: {{{Website|}}}|<li class="list-group-item"><i class="fas fa-globe"></i> <strong>Website:</strong> <htmltag tagname="a" href="{{{Website}}}" target="_blank">{{{Website}}}</htmltag></li>}} | {{#if: {{{Website|}}}|<li class="list-group-item"><i class="fas fa-globe"></i> <strong>Website:</strong> <htmltag tagname="a" href="{{{Website}}}" target="_blank">{{{Website}}}</htmltag></li>}} | ||
{{#if: {{{Facebook|}}}|<li class="list-group-item"><i class="fab fa-facebook"></i> <strong>Facebook:</strong> <htmltag tagname="a" href="{{{Facebook}}}" target="_blank">{{{Facebook}}}</htmltag></li>}} | {{#if: {{{Facebook|}}}|<li class="list-group-item"><i class="fab fa-facebook"></i> <strong>Facebook:</strong> <htmltag tagname="a" href="{{{Facebook}}}" target="_blank">{{{Facebook}}}</htmltag></li>}} | ||
| Line 37: | Line 38: | ||
* '''Address''': The address of the clinic. | * '''Address''': The address of the clinic. | ||
* '''Phone''': Contact phone number. | * '''Phone''': Contact phone number. | ||
* '''Line''': Line contact information. | |||
* '''Website''': Website URL. | * '''Website''': Website URL. | ||
* '''Facebook''': Facebook URL. | * '''Facebook''': Facebook URL. | ||
| Line 55: | Line 57: | ||
| Address = 123 Example St, Bangkok | | Address = 123 Example St, Bangkok | ||
| Phone = 123-456-7890 | | Phone = 123-456-7890 | ||
| Line = example | |||
| Website = example.com | | Website = example.com | ||
| Facebook = https://www.facebook.com/example | | Facebook = https://www.facebook.com/example | ||
| Line 103: | Line 106: | ||
"label": "Phone", | "label": "Phone", | ||
"description": "Contact phone number.", | "description": "Contact phone number.", | ||
"type": "string", | |||
"required": false | |||
}, | |||
"Line": { | |||
"label": "Line", | |||
"description": "Line contact information.", | |||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
Revision as of 04:19, 27 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.
- 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
| 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 |
| 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 |