Template:Navigation title

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
(131 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><div style="padding: 4px; background-color: #eee; border: 1px solid #aaa">
+
<includeonly>{{DISPLAYTITLE:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|/|0}}+1}}|10000}}}}
{| cellspacing=0 cellpadding=0 width=100% style="margin:0px"
+
<div style="margin-top:-12px;margin-bottom: 4px;vertical-align:middle;padding-left:5px;padding-bottom:3px;border-bottom: 1px #999 solid">
| colspan=3 align=center | Navigation Panel
+
[[File:Reference.png|20px|left|alt=|link=]]<span style="margin-top: 2px">[[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|/|0}}}}]] {{#if: {{{1|}}} | <nowiki>|</nowiki> previous chapter: [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|/|0}}}}/{{{1|}}} | {{{1|}}}]]}}</span><div style="margin:8px;margin-top:2px;float:right">__TOC__</div></div></includeonly><noinclude>
|-
+
This template will set a book navigation title replacing page title.
| width=43% align=right  style="padding-top: 10px" | <font size=3 style="font-weight: bold">[[{{{i|{{{1}}}}}}/{{{p|{{{2}}}}}} | &lt;&lt;&nbsp;{{{p|{{{2}}}}}}]]</font>
+
 
| width=14% align=center style="padding-top: 0px" | <font size=2>[[{{{i|{{{1}}}}}}]]</font>
+
<nowiki>{{navigation title|Prev_Page}}</nowiki>
| width=43% align=left  style="padding-top: 10px" | <font size=3 style="font-weight: bold">[[{{{i|{{{1}}}}}}/{{{n|{{{3}}}}}} | {{{n|{{{3}}}}}}&nbsp;&gt;&gt;]]</font>
+
 
|}
+
{{important|All pages int the book  should be numbered this way: '''Page Index'''/'''Chapter'''}}
</div></includeonly><noinclude>[[Category:Formatting templates]]{{navigation | Navigation book index | Previous page | Next page}}</noinclude>
+
[[Category:Formatting templates]]
 +
</noinclude>

Latest revision as of 04:17, 23 November 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