Template:DogPark: 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-playground" aria-expanded="false" aria-controls="details-playground">
     <htmltag tagname="button" class="btn btn-primary" type="button" data-toggle="collapse" data-target="#details-{{name}}" aria-expanded="false" aria-controls="details-playground">
       Show Details
       Show Details
     </htmltag>
     </htmltag>
     <div class="collapse" id="details-playground">
     <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> {{{Address}}}</li>}}

Revision as of 04:52, 27 June 2024


Template Documentation

This template is used to display information about dog playgrounds and parks in a card format.

Parameters

  • Name: The name of the playground or park.
  • Location: The location of the playground or park.
  • Description: A brief description of the place.
  • Image: URL of the image.
  • Address: The address of the place.
  • Phone: Contact phone number.
  • Line: Line contact information.
  • Website: Website URL.
  • Facebook: Facebook URL.
  • Instagram: Instagram URL.
  • Hours: Operating hours.
  • Fees: Entry or participation fees, including details.
  • Facilities: Available facilities at the location.

To use this template, add the following code to your page and fill in the parameters:

{{DogPlaygrounds
| Name = Example Playground
| Location = Bangkok
| Description = A great place for dogs to play and exercise.
| 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 = 6:00 AM - 9:00 PM
| Fees = Free entry
| Facilities = Fenced area, water fountains, agility equipment
}}

TemplateData

Template to display information about dog playgrounds and parks.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NameName

The name of the playground or park.

Stringrequired
LocationLocation

The location of the playground or park.

Stringrequired
DescriptionDescription

A brief description of the place.

Stringrequired
ImageImage

URL of the image.

Stringoptional
AddressAddress

The address of the place.

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
FeesFees

Entry or participation fees, including details.

Stringoptional
FacilitiesFacilities

Available facilities at the location.

Stringoptional