08 May 2008

Navigation box for creating book in mediawiki

Here is a example of navigation box from my personal wiki --
make a page named -- Template:Major_Project/Navigation
and type this content -- replace Major_Project by your book name -- and change the other content relatively,

<div class="noprint" style="border: 1px solid rgb(136, 187, 136); margin: 0.5em; padding: 0.5em; background-color: rgb(238, 255, 238); font-size: small; text-align: left; float: right; clear: right; width: 20%;">
'''[[Major Project]]'''

#[[Major_Project/Introduction|Introduction to project]]
#[[Major_Project/Aspects of the Project|Aspects of the Project]]
#[[Major_Project/Architecture of the Project|Architecture of the Project]]
#[[Major_Project/Streaming server|Streaming server]]
#[[Major_Project/UWB based WUSB|UWB based WUSB]]
#[[Linux kernel on ML310|Porting Linux kernel over ML310]]
#[[Major_Project/Future Scope|Future Scope]]
<small>[;action=edit edit this box]</small>

The next step is to put {{Major_Project/Navigation}} in all chapters of book,

1 comment:

Narendra Sisodiya said...

Hi,,I found , You can use a floating table to make a table of content like this

{| style="float: right; clear: right; margin-left: 0.5em; width: 150px; border: 1px solid #BEBEBE;" cellpadding=5 cellspacing=0
! style="background: #D4DDE9; text-align: center"| [[Major Project]]
| style="background-color:#ccccff;color:#333399;" |
| style="background: #F4FBFF" |
#[[Table of Content]]
#[[Why this project is important]]
#[[Use of the project]]
| [[Major Project&action=edit]]