Template:Prev-next

From Medapedia
Revision as of 13:16, 25 May 2015 by Kimbles (talk | contribs) (Made optional link text optional (oops) and removed background color.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

     

Instructions

This template is for adding links to the previous/next pages in a series (i.e. in chronological order). It's mostly intended mostly for game articles and game-related lists, but may be used on other pages as well.

To use the template, copy the following text and put it at the top of the page (or wherever you want it to appear), filling in each section with the links/text that you want:

{{prev-next
| prev  = previous | prevname = previous link text
| next  = next     | nextname = next link text 
| title = Title Text}}

This results in (roughly):

<----- [[previous|previous link text]]   Title Text    [[next|next link text]] ----->

Removing the prevname/nextname sections will cause the link text to match the link exactly. The title is also optional, and can be removed if you want to leave the title space blank. The prev or next sections can be removed entirely if the page is the first/last in the series.