Template:Prevnext2: Difference between revisions
No edit summary |
|||
Line 116: | Line 116: | ||
<table align=center id=toc style="width: 95%" class="noprint"><tr> | <table align=center id=toc style="width: 95%" class="noprint"><tr> | ||
<td style="text-align: left; width: 33%">{{#if: {{{prevpage|}}} | [[{{{prevpage}}}|← {{{prevtext|{{{prevpage}}}}}}]] | }}</td> | <td style="text-align: left; width: 33%">{{#if: {{{prevpage|}}} | [[{{{prevpage}}}|← {{{prevtext|{{{prevpage}}}}}}]] | }}</td> | ||
<td style="text-align: center; width: 33%">'''{{#if: {{{index|}}} | [[{{{index}}}|↑ {{{indextext|{{PAGENAME}}}}} ↑]] | {{PAGENAME}}}}'''</td> | <td style="text-align: center; width: 33%">'''{{#if: {{{index|}}} | [[{{{index}}}|↑ {{{indextext|{{PAGENAME}}}}} ↑]] | {{{indextext|{{PAGENAME}}}}}}}'''</td> | ||
<td style="text-align: right; width: 33%">{{#if: {{{nextpage|}}} | [[{{{nextpage}}}|{{{nexttext|{{{nextpage}}}}}}→]] | }}</td> | <td style="text-align: right; width: 33%">{{#if: {{{nextpage|}}} | [[{{{nextpage}}}|{{{nexttext|{{{nextpage}}}}}}→]] | }}</td> | ||
</tr></table> | </tr></table> | ||
</code> | </code> | ||
[[Category:Template]] | [[Category:Template]] |
Revision as of 14:53, 3 June 2010
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
(* - 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