Template:Prevnext2

From KDE UserBase Wiki
Revision as of 15:38, 3 June 2010 by Xiyizi (talk | contribs)

Template:I18n/Language Navigation Bar

Information

This template is a work-in-progress and will probably be re-named to something less obtuse quite soon, so avoid using it just at the moment.


Use this template when you want to provide links to the previous and the next sections of the article so the user isn't forced to go back to the index to navigate.


Arguments

← The link name for prevpage.* ↑ The link name for index.* ↑ The link name for nextpage.* →

(* - Optional arguments.)

Example usage

Writing this:

← previous section Prevnext2 The next section →

Gets you this:


← previous section Prevnext2 The next section →

Example usage: omitting arguments

Writing this:

Prevnext2 The next section →

Gets you this:


Prevnext2 The next section →

Writing this:

← previous section Prevnext2

Gets you this:


← previous section Prevnext2

Example usage: the least amount of typing

Writing this:

← path/to/lastsection Prevnext2 path/to/article →

Gets you this:


← path/to/lastsection Prevnext2 path/to/article →

Example usage: including every argument

Writing this:

← previous section ↑ Contents page ↑ The next section →

Gets you this:


← previous section ↑ Contents page ↑ The next section →

Writing this:

Contents section The next section →

Gets you this:


Contents section The next section →

Template source code

Prevnext2