Template:Food-icon/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Food-icon. It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template can be used to add an icon to a listing in a route article indicating that a location along a route has food available. The template is invoked as follows:
* {{listing
| name=417.57 SR-33 / [[Santa Nella]] | alt=Exit 418
| lat=37.1069 | long=-121.0163
| lastedit=2016-01-14
| content=This exit has several gas stations and a handful of motels. Food options are plentiful and include a Starbucks and an In-N-Out, and for those who have been seeing the many billboards during hours of travel, this is the home of Pea Soup Anderson's and its namesake split pea soup. {{fuel-icon}} {{food-icon}} {{lodging-icon}}
}}
...which generates the following message:
- 1 417.57 SR-33 / Santa Nella (Exit 418). This exit has several gas stations and a handful of motels. Food options are plentiful and include a Starbucks and an In-N-Out, and for those who have been seeing the many billboards during hours of travel, this is the home of Pea Soup Anderson's and its namesake split pea soup.
To change the size of the icon, use the |size=
parameter. The icon is 20px by default.