Template:HotelsAndResorts: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "<includeonly> <div class="card" style="display: inline-block; width: 18rem; margin-bottom: 1rem;"> <htmltag tagname="img" class="card-img-top" src="{{{Image|https://travel.happypaws.asia/images/d/df/DefaultHotel.jpg}}}" alt="Image of {{{Name|Unknown}}}"></htmltag> <div class="card-body"> <h5 class="card-title">{{{Name|No Name Provided}}}</h5> <h6 class="card-subtitle mb-2 text-muted">{{{Location|No Location Provided}}}</h6> <p class="card-text">{{{Descrip...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="card" style="display: inline-block; width: 18rem; margin-bottom: 1rem;">
<div class="card" style="display: inline-block; width: 18rem; margin-bottom: 1rem;">
   <htmltag tagname="img" class="card-img-top" src="{{{Image|https://travel.happypaws.asia/images/d/df/DefaultHotel.jpg}}}" alt="Image of {{{Name|Unknown}}}"></htmltag>
   <htmltag tagname="img" class="card-img-top" src="{{{Image|https://travel.happypaws.asia/images/f/f9/DefaultHotel.jpg}}}" alt="Image of {{{Name|Unknown}}}"></htmltag>
   <div class="card-body">
   <div class="card-body">
     <h5 class="card-title">{{{Name|No Name Provided}}}</h5>
     <h5 class="card-title">{{{Name|No Name Provided}}}</h5>
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> <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: {{{Address|}}}|<li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> <htmltag tagname="a" href="{{{GoogleMapsURL}}}" target="_blank">{{{Address}}}</htmltag></li>|<li class="list-group-item"><i class="fas fa-map-marker-alt"></i> <strong>Address:</strong> <a href="{{{GoogleMapsURL}}}" 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 40: Line 40:
* '''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.
* '''GoogleMapsURL''': URL of the Google Maps link.
* '''Phone''': Contact phone number.
* '''Phone''': Contact phone number.
* '''Line''': Line contact information.
* '''Line''': Line contact information.
Line 63: Line 63:
| Image = URL_of_image
| Image = URL_of_image
| Address = 123 Example Rd, Bangkok
| Address = 123 Example Rd, Bangkok
| GoogleMaps = https://maps.google.com/?q=123+Example+Rd,+Bangkok
| GoogleMapsURL = https://maps.google.com/?q=123+Example+Rd,+Bangkok
| Phone = 123-456-7890
| Phone = 123-456-7890
| Line = example
| Line = example
Line 114: Line 114:
             "required": false
             "required": false
         },
         },
         "GoogleMaps": {
         "GoogleMapsURL": {
             "label": "Google Maps",
             "label": "Google Maps",
             "description": "URL of the Google Maps link.",
             "description": "URL of the Google Maps link.",

Navigation menu