Template:Navigation: Difference between revisions

From Event-B
Jump to navigationJump to search
imported>Mathieu
mNo edit summary
imported>Mathieu
mNo edit summary
Line 35: Line 35:
==Code==
==Code==
</noinclude>
</noinclude>
<includeonly>
<div class="navigation"><table style="border:1px solid #aaaaaa; display:inline; "><tr>
<div class="navigation"><table style="border:1px solid #aaaaaa; display:inline; "><tr>
{{ #if: {{{Previous|}}} | <td style="vertical-align:sub;">Previous:{{{Previous}}}</td> | }} {{ #if: {{{Next|}}} | <td style="vertical-align:sub;">Next:{{{Next}}}</td> | }} {{ #if: {{{Up|}}} | <td style="vertical-align:sub;">Up:{{{Up}}}</td> | }}</tr></table>
{{ #if: {{{Previous|}}} | <td style="vertical-align:sub;"><{{{Previous}}}</td> | }} {{ #if: {{{Next|}}} | <td style="vertical-align:sub;">>{{{Next}}}</td> | }} {{ #if: {{{Up|}}} | <td style="vertical-align:sub;">^{{{Up}}}</td> | }}</tr></table>
</div>
</div>
</includeonly>

Revision as of 15:38, 1 September 2008

Usage

Allow to put a small navigation panel at the bottom or at the top of a page. Useful for navigating between document sections

{{Navigation
|Previous= previous link
|Next=next link
|Up=up link}}

Exemple

All links:



No Previous link:



No next link:



No up link:



Code