Template:Navigation title

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:{{{2|}}}}}[[File:Reference.png|44px|left]]<div style="width:100%;margin-bottom:5px;margin-top: -13px">
+
<includeonly>{{DISPLAYTITLE:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|/|0}}+1}}|10000}}}}[[File:Reference.png|44px|left]]<div style="width:100%;margin-bottom:5px;margin-top: -13px">
<font size=2>[[{{{1|}}}]]</font><br>{{#if: {{{3|}}} | previous chapter: [[{{{1|}}}/{{{3|}}} | {{{3|}}}]] | &nbsp;<br>}}</div>__TOC__</includeonly><noinclude>
+
<font size=2>[[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|/|0}}}}]]</font><br>{{#if: {{{3|}}} | previous chapter: [[{{{1|}}}/{{{3|}}} | {{{3|}}}]] | &nbsp;<br>}}</div>__TOC__</includeonly><noinclude>
This template will set a navigation block replacing page title.
+
This template will set a book navigation title replacing page title.
  
  <nowiki>{{navigation title|Index_Page|Current_Page|Prev_Page}}</nowiki>
+
  <nowiki>{{navigation title|Prev_Page}}</nowiki>
  
 +
{{important|All pages int the book  should be numbered this way: '''Page Index'''/'''Chapter'''.
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:14, 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