Template:Toilet-icon/doc

From Wikivoyage
Jump to navigation Jump to search

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 restrooms available. The template is invoked as follows:

* {{listing
| name=205.97 Tejon Pass Rest Area | alt=Exit 206 | url=http://www.dot.ca.gov/hq/maint/ra/ra05.htm | email=
| address= | lat=34.85329 | long=-118.87338 | directions=
| content=Restroom facilities as well as vending machine, RV Dump Station an water. {{Toilet-icon}}
}}

...which generates the following message:

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