Home  •   Field Guide  •   Forums  •    Unread Posts  •   Maps  •   Find a Hike!
| Help page | Discussion | View source | History | Print Friendly and PDF

Help:Hike Rings

From Oregon Hikers Field Guide

What they are

Hike rings are used to generate the navigational guides that you see on some Destination and Trailhead pages that look like this:

Devil's Rest via Wahkeena Hike   (TH | <—   —> | LOG)

The code which generates the above hike ring looks like this:

{{Hike ring|trailhead=Wahkeena Trailhead|hike=Devil's Rest via Wahkeena Hike|log=Devil's Rest via Wahkeena Hike/Log|previous=Wahkeena Trailhead|next=Lemmon's Viewpoint}}

By placing this template code under the "Hikes passing this location" section on every trailhead and destination for a particular hike, the user can navigate through the destinations sequentially.

Hike rings can only be placed on Trailhead, Destination, and Junction pages, not Hike pages. They are not required, but can be useful in a hike with multiple destinations, or a hike that is in an area with many other hikes.

Arguments passed to the template

  • trailhead: The name of the Trailhead page
  • hike: The name of the Hike page
  • log: The name of the Trail Log page (same as the Hike page)
  • previous: The name of the previous Destination in the hike ring
  • next: The name of the next Destination in the hike ring

Special cases

First page in ring

The first page should be the trailhead. The "previous" argument is the current page, because there is no previous destination.

Last page in ring

This should be the final destination of the hike. The "next" argument is the current page, because there is no next destination.
Oregon Hikers Field Guide is built as a collaborative effort by its user community. While we make every effort to fact-check, information found here should be considered anecdotal. You should cross-check against other references before planning a hike. Trail routing and conditions are subject to change. Please contact us if you notice errors on this page.

Hiking is a potentially risky activity, and the entire risk for users of this field guide is assumed by the user, and in no event shall Trailkeepers of Oregon be liable for any injury or damages suffered as a result of relying on content in this field guide. All content posted on the field guide becomes the property of Trailkeepers of Oregon, and may not be used without permission.