Template:DogPark: Difference between revisions

Jump to navigation Jump to search
no edit summary
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-{{CURRENTTIMESTAMP}}" aria-expanded="false" aria-controls="details-{{CURRENTTIMESTAMP}}">
     <button class="btn btn-primary places-button" type="button" data-toggle="collapse" data-target="#details-{{CURRENTTIMESTAMP}}" aria-expanded="false" aria-controls="details-{{CURRENTTIMESTAMP}}">
       Show Details
       Show Details
     </htmltag>
     </button>
     <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> {{{Address}}}</li>}}
         {{#if: {{{Address|}}} | <li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> <a href="{{{GoogleMaps}}}" target="_blank">{{{Address}}}</a></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>}}
Line 36: Line 36:
* '''Image''': URL of the image.
* '''Image''': URL of the image.
* '''Address''': The address of the place.
* '''Address''': The address of the place.
* '''GoogleMaps''': URL of the Google Maps link.
* '''Phone''': Contact phone number.
* '''Phone''': Contact phone number.
* '''Line''': Line contact information.
* '''Line''': Line contact information.
Line 54: Line 55:
| Image = URL_of_image
| Image = URL_of_image
| Address = 123 Example St, Bangkok
| Address = 123 Example St, Bangkok
| GoogleMaps = https://maps.google.com/?q=123+Example+St,+Bangkok
| Phone = 123-456-7890
| Phone = 123-456-7890
| Line = example
| Line = example
Line 97: Line 99:
             "label": "Address",
             "label": "Address",
             "description": "The address of the place.",
             "description": "The address of the place.",
            "type": "string",
            "required": false
        },
        "GoogleMaps": {
            "label": "Google Maps",
            "description": "URL of the Google Maps link.",
             "type": "string",
             "type": "string",
             "required": false
             "required": false

Navigation menu