Template:Prevnext2: Difference between revisions
Line 80: | Line 80: | ||
---- | ---- | ||
== | == Example usage: including every argument == | ||
Writing this: | |||
<code>{{Prevnext2 | <code>{{Prevnext2 | ||
| prevpage=path/to/article | nextpage=path/to/article | | prevpage=path/to/article | nextpage=path/to/article | ||
Line 89: | Line 88: | ||
| index= {{PAGENAME}}/Manual | indextext=Contents page | | index= {{PAGENAME}}/Manual | indextext=Contents page | ||
}}</code> | }}</code> | ||
Gets you this: | |||
---- | ---- | ||
{{Prevnext2 | {{Prevnext2 | ||
Line 99: | Line 97: | ||
---- | ---- | ||
Writing this: | |||
<code>{{Prevnext2 | <code>{{Prevnext2 | ||
| nextpage=path/to/article | | nextpage=path/to/article | ||
Line 106: | Line 103: | ||
| indextext=Contents section | | indextext=Contents section | ||
}}</code> | }}</code> | ||
Gets you this: | |||
---- | ---- | ||
{{Prevnext2 | {{Prevnext2 |
Revision as of 14:51, 3 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.
Arguments
(* - Optional arguments.)
Example usage
Writing this:
Gets you this:
Example usage: omitting arguments
Writing this:
Gets you this:
Writing this:
Gets you this:
Example usage: the least amount of typing
Writing this:
Gets you this:
Example usage: including every argument
Writing this:
Gets you this:
Writing this:
Gets you this:
Template source code