Template:Prevnext: Difference between revisions
No edit summary |
|||
Line 32: | Line 32: | ||
{{Prevnext | {{Prevnext | ||
|Article/section/subsection | | Article/section/subsection | ||
|Article/section/subsection/subection | | Article/section/subsection/subection | ||
|prevtext = This is the previous section | | prevtext = This is the previous section | ||
|nexttext = This is the next section}} | | nexttext = This is the next section}} | ||
== See also == | == See also == |
Revision as of 04:02, 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! |
To make the links to the pages look less ugly ((such as Application/section/subsection)), you can provide extra options to the template:
{{Prevnext
|Article/section/subsection
|Article/section/subsection/subection
|prevtext = This is the previous section
|nexttext = This is the next section}}
This will be rendered as
[[ Article/section/subsection | Previous]] | [[ Article/section/subsection/subection | Next]] | |
This is the previous section | This is the next section |