122
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="card" style="width: 18rem; margin-bottom: 1rem;"> | <div class="card" style="width: 18rem; margin-bottom: 1rem;"> | ||
<img class="card-img-top" src="{{{Image}}}" alt="Image of {{{Name}}}"> | |||
<div class="card-body"> | <div class="card-body"> | ||
<h5 class="card-title">{{{Name}}}</h5> | <h5 class="card-title">{{{Name}}}</h5> | ||
| Line 7: | Line 8: | ||
</div> | </div> | ||
<ul class="list-group list-group-flush"> | <ul class="list-group list-group-flush"> | ||
<li class="list-group-item"><strong>Address:</strong> {{{Address}}}</li> | <li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> {{{Address}}}</li> | ||
<li class="list-group-item"><strong>Phone:</strong> {{{Phone}}}</li> | {{#if: {{{Phone|}}} | <li class="list-group-item"><i class="fas fa-phone"></i> <strong>Phone:</strong> {{{Phone}}}</li> }} | ||
<li class="list-group-item"><strong>Hours:</strong> {{{Hours}}}</li> | {{#if: {{{Line|}}} | <li class="list-group-item"><i class="fab fa-line"></i> <strong>Line:</strong> <a href="https://line.me/R/ti/p/{{{Line}}}" target="_blank">{{{Line}}}</a></li> }} | ||
<li class="list-group-item"><strong>Fees:</strong> {{{Fees}}}</li> | {{#if: {{{Website|}}} | <li class="list-group-item"><i class="fas fa-globe"></i> <strong>Website:</strong> <a href="{{{Website}}}" target="_blank">{{{Website}}}</a></li> }} | ||
<li class="list-group-item"><strong>Facilities:</strong> {{{Facilities}}}</li> | {{#if: {{{Facebook|}}} | <li class="list-group-item"><i class="fab fa-facebook"></i> <strong>Facebook:</strong> <a href="{{{Facebook}}}" target="_blank">{{{Facebook}}}</a></li> }} | ||
{{#if: {{{Instagram|}}} | <li class="list-group-item"><i class="fab fa-instagram"></i> <strong>Instagram:</strong> <a href="{{{Instagram}}}" target="_blank">{{{Instagram}}}</a></li> }} | |||
<li class="list-group-item"><i class="fas fa-clock"></i> <strong>Hours:</strong> {{{Hours}}}</li> | |||
<li class="list-group-item"><i class="fas fa-dollar-sign"></i> <strong>Fees:</strong> {{{Fees}}}</li> | |||
<li class="list-group-item"><i class="fas fa-info-circle"></i> <strong>Facilities:</strong> {{{Facilities}}}</li> | |||
</ul> | </ul> | ||
</div> | </div> | ||
| Line 23: | Line 28: | ||
* '''Location''': The location of the swimming activity. | * '''Location''': The location of the swimming activity. | ||
* '''Description''': A brief description of the activity. | * '''Description''': A brief description of the activity. | ||
* '''Image''': URL of the image. | |||
* '''Address''': The address of the activity location. | * '''Address''': The address of the activity location. | ||
* '''Phone''': Contact phone number. | * '''Phone''': Contact phone number. | ||
* '''Line''': Line contact information. | |||
* '''Website''': Website URL. | |||
* '''Facebook''': Facebook URL. | |||
* '''Instagram''': Instagram URL. | |||
* '''Hours''': Operating hours. | * '''Hours''': Operating hours. | ||
* '''Fees''': Entry or participation fees. | * '''Fees''': Entry or participation fees, including details. | ||
* '''Facilities''': Available facilities at the location. | * '''Facilities''': Available facilities at the location. | ||
| Line 36: | Line 46: | ||
| Location = Bangkok | | Location = Bangkok | ||
| Description = A great place for dogs to swim and enjoy. | | Description = A great place for dogs to swim and enjoy. | ||
| Image = URL_of_image | |||
| Address = 123 Example St, Bangkok | | Address = 123 Example St, Bangkok | ||
| Phone = 123-456-7890 | | Phone = 123-456-7890 | ||
| Line = example | |||
| Website = example.com | |||
| Facebook = https://www.facebook.com/example | |||
| Instagram = https://www.instagram.com/example | |||
| Hours = 9:00 AM - 6:00 PM | | Hours = 9:00 AM - 6:00 PM | ||
| Fees = | | Fees = Pool: 0-5 kg is 300 Baht, 6-10 kg is 500 Baht | ||
| Facilities = Pool, changing rooms, snack bar | | Facilities = Pool, changing rooms, snack bar | ||
}} | }} | ||
</pre> | </pre> | ||
=== TemplateData === | |||
<templatedata> | |||
{ | |||
"description": "Template to display information about swimming activities for pets.", | |||
"params": { | |||
"Name": { | |||
"label": "Name", | |||
"description": "The name of the swimming activity.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Location": { | |||
"label": "Location", | |||
"description": "The location of the swimming activity.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Description": { | |||
"label": "Description", | |||
"description": "A brief description of the activity.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Image": { | |||
"label": "Image", | |||
"description": "URL of the image.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Address": { | |||
"label": "Address", | |||
"description": "The address of the activity location.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Phone": { | |||
"label": "Phone", | |||
"description": "Contact phone number.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Line": { | |||
"label": "Line", | |||
"description": "Line contact information.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Website": { | |||
"label": "Website", | |||
"description": "Website URL.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Facebook": { | |||
"label": "Facebook", | |||
"description": "Facebook URL.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Instagram": { | |||
"label": "Instagram", | |||
"description": "Instagram URL.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Hours": { | |||
"label": "Hours", | |||
"description": "Operating hours.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Fees": { | |||
"label": "Fees", | |||
"description": "Entry or participation fees, including details.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"Facilities": { | |||
"label": "Facilities", | |||
"description": "Available facilities at the location.", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||