Template:Eatpricerange

From Wikivoyage
Jump to navigation Jump to search
[view] [edit] [history] [purge] Template-info.svg 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 gives the price ranges used for the Eat listings.

Template parameters

ParameterDescriptionTypeStatus
Budget1

no description

Unknownrequired
Mid-range2

no description

Unknownrequired
Splurge3

no description

Unknownrequired
44

Custom text for the ranges.

Stringoptional