Anonymous

EWTE/booknav: Difference between revisions

From OER in Education
no edit summary
(Created page with "Example page 1.")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Example page 1.
{{booknav}}
 
A simple solution is to use the book creator extension to produce a book, and then to use the saved book page as a template for navigation. This way of generating a set of pages uses the book creator extension. First, a set of pages are collected into a book, which is then saved, see [[OER:Books/booknav]]. If you examine the source of that page, a number of <nowiki><noinclude></nowiki> statements were added.
 
A simple template ([[Template:booknav]]) is then used to create the navigation:
<nowiki><</nowiki>div style="float:right; border: 1px solid black; padding: 20px; margin: 5px">
<nowiki>{</nowiki>{: OER:Books/booknav }}
<nowiki><</nowiki>/div>
 
{{: EWTE/booknav/pm}}