Site for researching all meanings of Hebrew Bible.

Changes

Jump to: navigation, search

Template:Navigate

2,614 bytes added, 13:16, 22 October 2011
Created page with "{| class="noprint" style="margin:0.5em auto; border:0px; background:#aaaaaa; border-spacing:1px; text-align:center; width:90%;" |- | style="padding:0.25em; background:#6699dd;"..."
{| class="noprint" style="margin:0.5em auto; border:0px; background:#aaaaaa; border-spacing:1px; text-align:center; width:90%;"
|-
| style="padding:0.25em; background:#6699dd;" colspan="3" | '''[[{{{Book|{{FULLBOOKNAME}}}}}|<span style="color:#ddddff;">{{{Book|{{FULLBOOKNAME}}}}}</span>]]'''
|- style="background:white;"
| style="width:30%; padding:0.25em;" | {{#if:{{{Prev|}}} |'''[[{{{Book|{{FULLBOOKNAME}}}}}/{{{Prev}}}|{{{PrevText|{{{Prev}}}}}}]]'''}}
| style="width:40%; padding:0.25em;" | '''{{{Curr|{{SUBPAGENAME}}}}}'''
| style="width:30%; padding:0.25em;" | {{#if:{{{Next|}}} |'''[[{{{Book|{{FULLBOOKNAME}}}}}/{{{Next}}}|{{{NextText|{{{Next}}}}}}]]'''}}
|}
<includeonly>{{#ifeq:{{{example|no}}}|no|[[Category:{{{Book|{{FULLBOOKNAME}}}}}|{{FULLCHAPTERNAME}}]]}}</includeonly><noinclude>

== Usage ==

This template takes six optional variables.

{| style="width:100%"
! style="width: 50%" | MediaWiki syntax !! Displays as
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Introduction
| Next = Our tools: Ruler and compass}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Introduction||Next=Our tools: Ruler and compass|example=yes}}
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Copying a triangle
| Prev = Copying a line segment
| Next = Copying an angle}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Copying a triangle|Prev=Copying a line segment|Next=Copying an angle|example=yes}}
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Copying a triangle
| Prev = Copying a line segment
| Next = Copying an angle}}
| PrevText = Prev: Copying a line segment
| NextText = Next: Copying an angle}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Copying a triangle|Prev=Copying a line segment|PrevText=Prev: Copying a line segment|Next=Copying an angle|NextText=Next: Copying an angle|example=yes}}
|-
| <pre style="border:0px">{{Navigate
| Book = Geometry for Elementary School
| Curr = Angles
| Prev = Lines}}</pre>
| {{Navigate|Book=Geometry for Elementary School|Curr=Angles|Prev=Lines|example=yes}}
|}

Note that the <code>Book</code> and <code>Curr</code> variables default to the book and current sub-page names, respectively. Most cases should not require setting these.<br />
Note that the <code>PrevText</code> and <code>NextText</code> variables override the default display of the target so an alternative text may be substituted.

[[Category:Navigational templates|{{PAGENAME}}]]
</noinclude>

Navigation menu