Template:Prevnext: Difference between revisions
m (→Prettier links) |
No edit summary |
||
Line 2: | Line 2: | ||
{| width="95%" | {| width="95%" | ||
|- | |- | ||
| align="left" | [[{{{1}}}|Previous]] | | align="left" | [[{{{1}}}|Previous]] | ||
| align="right" | [[{{{2}}}|Next]] | | align="right" | [[{{{2}}}|Next]] | ||
|- | |- | ||
| align="left" | {{{3|{{{1}}}}}} | | align="left" | {{{3|{{{1}}}}}} | ||
| align="right" | {{{4|{{{2}}}}}} | | align="right" | {{{4|{{{2}}}}}} |
Revision as of 21:03, 2 June 2010
Template:I18n/Language Navigation Bar
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!}}, which will be returned as,
Previous | Next |
Go back a page | The next section is difficult! |
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 here is the previous section text | This is the next section
}}
This will be rendered as
Previous | Next |
This here is the previous section |
This is the next section |