Template:DogPark: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
<div class="collapse" id="details-{{CURRENTTIMESTAMP}}"> | <div class="collapse" id="details-{{CURRENTTIMESTAMP}}"> | ||
<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> <a href="{{{GoogleMaps}}}" target="_blank">{{{Address}}}</ | {{#if: {{{Address|}}}|<li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> <htmltag tagname="a" href="{{{GoogleMaps}}}" target="_blank">{{{Address}}}</htmltag></li>|<li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> <a href="{{{GoogleMaps}}}" target="_blank">Google Maps</a></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>}} | ||
Revision as of 04:19, 29 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.
- GoogleMaps: URL of the Google Maps link.
- 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
| GoogleMaps = 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 = 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | The name of the playground or park. | String | required |
| Location | Location | The location of the playground or park. | String | required |
| Description | Description | A brief description of the place. | String | required |
| Image | Image | URL of the image. | String | optional |
| Address | Address | The address of the place. | String | optional |
| Google Maps | GoogleMaps | URL of the Google Maps link. | 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 |
| Fees | Fees | Entry or participation fees, including details. | String | optional |
| Facilities | Facilities | Available facilities at the location. | String | optional |