Template:EmergencyClinic: Difference between revisions

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NameName

The name of the emergency clinic.

Stringrequired
LocationLocation

The location of the clinic.

Stringrequired
DescriptionDescription

A brief description of the clinic.

Stringrequired
ImageImage

URL of the image.

Stringoptional
AddressAddress

The address of the clinic.

Stringoptional
Google Maps URLGoogleMapsURL

URL link to the location on Google Maps.

Stringoptional
PhonePhone

Contact phone number.

Stringoptional
LineLine

Line contact information.

Stringoptional
WebsiteWebsite

Website URL.

Stringoptional
FacebookFacebook

Facebook URL.

Stringoptional
InstagramInstagram

Instagram URL.

Stringoptional
HoursHours

Operating hours.

Stringoptional
Emergency ServicesEmergencyServices

Details about the emergency services provided.

Stringoptional
AntivenomAntivenom

Information about the availability of antivenom for snake bites.

Stringoptional
FacilitiesFacilities

Available facilities at the location.

Stringoptional