Template:EmergencyClinic: Difference between revisions

From Happy Paws Travel Wiki
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.

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
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
Google Maps URLGoogleMapsURL

URL link to the location on Google Maps.

Stringoptional