Template:Prevnext

Revision as of 19:38, 30 July 2012 by AnneW (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


noframe
 
Warning
This template is deprecated. Don't use it in new pages, use Template:Prevnext2 instead


<includeonly>{|width="100%"
| style="text-align:left;" | {{#if: {{{1|}}} | [[{{{1}}}|'''←''' {{{3|{{{1}}}}}}]] | }}
| style="text-align:right;" | {{#if: {{{2|}}} | [[{{{2}}}|{{{4|{{{2}}}}}} '''→''']] | }}
|}</includeonly>
<noinclude>

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.

How to use this template

Write

{{Prevnext|Go back a page|The next section is difficult!}}

You will get this:


Prettier links

To make the links to the pages look less ugly you can provide extra options to the template:

{{Prevnext|Article/section/previous-subsection|Article/section/next|This points to the previous section text|This is the next section}}

This will be rendered as


See also

  • Next - For providing a link to the next article. Use for the first article page.
  • Prev - For providing a link to the previous article. Use for the last article page.

This page was last modified on 30 July 2012, at 19:38. This page has been accessed 758 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal