Template:Eatpricerange
Jump to navigation
Jump to search
This documentation is transcluded from Template:Eatpricerange/doc. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
![]() |
This template uses TemplateStyles: |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Budget | 1 | no description | Unknown | required |
Mid-range | 2 | no description | Unknown | required |
Splurge | 3 | no description | Unknown | required |
4 | 4 | Custom text for the ranges. | String | optional |