Template:Navigation: Difference between revisions
From Event-B
Jump to navigationJump to search
imported>Mathieu m →Usage: Some doc + add a warning about formulas and templates not being rendered well |
imported>Mathieu m cat |
||
(13 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Allow to put a small navigation panel at the bottom or at the top of a page. | Allow to put a small navigation panel at the bottom or at the top of a page. | ||
Useful for navigating between document sections | Useful for navigating between document sections | ||
<pre><nowiki> | |||
{{Navigation | |||
|Previous= previous link | |||
|Next=next link | |||
|Up=up link}} | |||
</nowiki></pre> | |||
==Exemple== | ==Exemple== | ||
All links: | |||
{{Navigation | {{Navigation | ||
|Previous= previous link | |Previous= previous link | ||
|Next=next link | |Next=next link | ||
|Up=up link}} | |Up=up link}} | ||
No Previous link: | |||
{{Navigation | |||
|Next=next link | |||
|Up=up link}} | |||
No next link: | |||
{{Navigation | |||
|Previous= previous link | |||
|Up=up link}} | |||
No up link: | |||
{{Navigation | {{Navigation | ||
|Previous= previous link | |Previous= previous link | ||
|Next=next link | |Next=next link | ||
}} | |||
==Code== | ==Code== | ||
[[Category:Utility templates]] | |||
</noinclude> | </noinclude> | ||
<div class=" | <includeonly><div class="navigation"><table 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> | ||
{{ #if: {{{Previous|}}} | | |||
</div> |
Latest revision as of 12:59, 11 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