Template:HotelsAndResorts: Difference between revisions
(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 |
||
| 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/ | <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> | ||
Revision as of 04:47, 29 June 2024
Template Documentation
This template is used to display information about hotels and resorts in a card format.
Parameters
- Name: The name of the hotel or resort.
- Location: The location of the hotel or resort.
- 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.
- Booking: Link to the Booking.com page.
- Agoda: Link to the Agoda page.
- Airbnb: Link to the Airbnb page.
- Facebook: Facebook URL.
- Instagram: Instagram URL.
- Hours: Operating hours.
- Fees: Entry or participation fees, including details.
- Facilities: Available facilities at the location.
- PetLimitations: Limitations regarding pets (amount, types, sizes, breeds).
To use this template, add the following code to your page and fill in the parameters:
{{HotelsAndResorts
| Name = Example Hotel
| Location = Bangkok
| Description = A luxurious hotel with pet-friendly policies.
| Image = URL_of_image
| Address = 123 Example Rd, Bangkok
| GoogleMaps = https://maps.google.com/?q=123+Example+Rd,+Bangkok
| Phone = 123-456-7890
| Line = example
| Website = example.com
| Booking = https://www.booking.com/example
| Agoda = https://www.agoda.com/example
| Airbnb = https://www.airbnb.com/example
| Facebook = https://www.facebook.com/example
| Instagram = https://www.instagram.com/example
| Hours = 24/7
| Fees = 1000 Baht per night
| Facilities = Pool, spa, free breakfast
| PetLimitations = Up to 2 dogs, no cats, no large breeds
}}
TemplateData
Template to display information about hotels and resorts.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | The name of the hotel or resort. | String | required |
| Location | Location | The location of the hotel or resort. | 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 |
| Booking | Booking | Link to the Booking.com page. | String | optional |
| Agoda | Agoda | Link to the Agoda page. | String | optional |
| Airbnb | Airbnb | Link to the Airbnb page. | 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 |
| Pet Limitations | PetLimitations | Limitations regarding pets (amount, types, sizes, breeds). | String | optional |