Template:Eatpricerange
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 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Budget | 1 | Price range for budget meals for one person including soft drink in the article's area.
| String | required |
Mid-range | 2 | Price range for mid-range meals for one person including soft drink in the article's area.
| String | required |
Splurge | 3 | Price range for splurge meals for one person including soft drink in the article's area.
| String | required |
4 | 4 | Custom text for the ranges. | String | optional |