Template:Navigation title

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{DISPLAYTITLE:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|/|0}}+1}}|10000}}}}
 
<includeonly>{{DISPLAYTITLE:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|/|0}}+1}}|10000}}}}
<div style="margin-top: -11px;padding-left:5px">
+
<div style="margin-top: -12px;padding-left:5px">
[[File:Reference.png|25px|left|alt=|link=]]
+
[[File:Reference.png|24px|left|alt=|link=]]
<span style="padding-top: 3px">[[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|/|0}}}}]] {{#if: {{{1|}}} | <nowiki>|</nowiki> previous chapter: [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|/|0}}}}/{{{1|}}} | {{{1|}}}]]}}</span>
+
<span style="padding-top: 4px">[[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|/|0}}}}]] {{#if: {{{1|}}} | <nowiki>|</nowiki> previous chapter: [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|/|0}}}}/{{{1|}}} | {{{1|}}}]]}}</span>
 
</div>
 
</div>
 
----
 
----

Revision as of 22:36, 27 July 2012

This template will set a book navigation title replacing page title.

{{navigation title|Prev_Page}}
Important: All pages int the book should be numbered this way: Page Index/Chapter
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox