Difference between revisions of "Template:Navigation"

From Event-B
Jump to navigationJump to search
imported>Mathieu
m
imported>Mathieu
m
Line 35: Line 35:
 
==Code==
 
==Code==
 
</noinclude>
 
</noinclude>
<includeonly><div class="navigation"><table  width="25%" border="2" cellspacing="4" cellpadding="3" rules="all"  style="border:2px solid #999999; margin:1em 1em 1em 0; display:inline; "><tr>{{ #if: {{{Previous|}}} | <td style="vertical-align:sub;"><b><</b><small>prev:</small> {{{Previous}}}</td> | }} {{ #if: {{{Next|}}} | <td style="vertical-align:sub;"><b>></b><small>next:</small> {{{Next}}}</td> | }} {{ #if: {{{Up|}}} | <td style="vertical-align:sub;"><b>^</b><small>up:</small> {{{Up}}}</td> | }}</tr></table></div></includeonly>
+
<includeonly><div class="navigation"><table  width="25%" border="2" cellspacing="4" cellpadding="3" rules="all"  style="border:2px solid #999999; margin:1em 1em 1em 0; "><tr>{{ #if: {{{Previous|}}} | <td style="vertical-align:sub;"><b><</b><small>prev:</small> {{{Previous}}}</td> | }} {{ #if: {{{Next|}}} | <td style="vertical-align:sub;"><b>></b><small>next:</small> {{{Next}}}</td> | }} {{ #if: {{{Up|}}} | <td style="vertical-align:sub;"><b>^</b><small>up:</small> {{{Up}}}</td> | }}</tr></table></div></includeonly>

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