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 #EEEEEE; display:inline; "><tr>{{ #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></includeonly>
<includeonly><div class="navigation"><table style="border:2px solid #999999; display:inline; "><tr>{{ #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></includeonly>

Revision as of 15:39, 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