Template:Sleeppricerange

[view] [edit] [history] [purge] Template documentation


Usage edit

The template should be placed at the top of the "Sleep" section in articles to give provide an indication of what price ranges are represented by the "Budget", "Mid-range" and "Splurge" sub-sections:

{{Sleeppricerange
| Under $50
| $50 - $100
| Over $100
}}

...which produces the following right-aligned table:

This guide uses the following price ranges for a standard double room:
Budget Under $50
Mid-range $50 - $100
Splurge Over $100

Note that these are hypothetical values: choose ranges such that there will be options at the destination in all ranges. $50 will get you a luxury room in many places around the world, but will barely cover the cost of a hostel in some large European cities.

If the text above the ranges is unsuitable, give your own as a fourth parameter.

Related templates edit

  • {{Eatpricerange}} - Used for displaying price ranges for listings in the "Eat" section of articles.

The template is intended to be placed at the top of the "Sleep" section in articles to give provide an indication of what price ranges are represented by the "Budget", "Mid-range" and "Splurge" sub-sections based on prices in the area covered by the article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Budget1

For showing the price of ''Budget.'' Unless "Description of room" field is changed, this is the price of a standard double room (i.e. a room with one bed large enough for two people)

Example
Under $50
Stringrequired
Mid-range2

For showing the price of ''Mid-range''. Unless "Description of room" field is changed, this is the price of a standard double room (i.e. a room with one bed large enough for two people)

Example
$50-$100
Stringrequired
Splurge3

For showing the price of ''Splurge''. Unless "Description of room" field is changed, this is the price of a standard double room (i.e. a room with one bed large enough for two people)

Example
Over $100
Stringrequired
Description of room4

If text is entered here, it will replace "a standard double room" with the specified text in this field.

Example
a standard single room
Stringoptional