Template:EmergencyClinic: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| 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> | ||
| 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 26: | Line 27: | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 46: | 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. | ||
* '''GoogleMapsURL''': URL link to the location on Google Maps. | |||
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 65: | Line 68: | ||
| Antivenom = Yes | | Antivenom = Yes | ||
| Facilities = Waiting area, pharmacy, diagnostic services | | Facilities = Waiting area, pharmacy, diagnostic services | ||
| GoogleMapsURL = URL_of_google_maps | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 154: | Line 158: | ||
"label": "Facilities", | "label": "Facilities", | ||
"description": "Available facilities at the location.", | "description": "Available facilities at the location.", | ||
"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 | ||
Revision as of 09:18, 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.
- 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.
- GoogleMapsURL: URL link to the location on Google Maps.
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
| GoogleMapsURL = URL_of_google_maps
}}
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 |
| Google Maps URL | GoogleMapsURL | URL link to the location on Google Maps. | String | optional |