Template:Prev Next



[[{{{prevpage}}}|« Previous]] [[{{{nextpage}}}|Next »]]


[edit] Parameters

prevpage
The page name of the previous page
prevname
The description or title of the previous page (optional; defaults to "Previous")
nextpage
The page name of the next page
nextname
The description or title of the next page (optional; defaults to "Next")

[edit] Notes

This template can be used anywhere where next/previous page links are needed in a uniform manner.

This is how to call the template (minimum):
{{Prev Next|prevpage=PreviousPage|nextpage=NextPage}}
Shows up as:
« Previous Next »


Now calling the template with the 'name' parameters:

{{Prev Next|prevpage=PreviousPage|prevname=My Previous Page|nextpage=NextPage|nextname=My Next Page}}

Shows up as:
« My Previous Page My Next Page »


This page was last modified 04:26, 22 April 2008.