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 lodging 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. Fuel Food Lodging

To change the size of the icon, use the |size= parameter. The icon is 20px by default.