Template:Eatpricerange

From Wikivoyage
Jump to navigation Jump to search
[view] [edit] [history] [purge] Template documentation


Usage[edit]

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

{{Eatpricerange
| Under $10
| $10 - $20
| Over $20
}}

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

This page uses the following price ranges for a typical meal for one, including soft drink:
Budget Under $10
Mid-range $10 - $20
Splurge Over $20

Note that these are hypothetical values: choose ranges such that there will be options at the destination in all ranges. $7 can take you far in a small town but will get you a single slice of pizza in New York City.

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

Related templates[edit]

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

The template is intended to be placed at the top of the Eat section to provide price ranges for Eat listings based one the prices in the area covered by the article.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Budget1

Price range for budget meals for one person including soft drink in the article's area.

Example
Under $10
Stringrequired
Mid-range2

Price range for mid-range meals for one person including soft drink in the article's area.

Example
$10-$20
Stringrequired
Splurge3

Price range for splurge meals for one person including soft drink in the article's area.

Example
Over $20
Stringrequired
44

Custom text for the ranges.

Stringoptional