Template:Navigation title

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
(79 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:<span style="display:none"></span>}}<div style="width:100%;border-bottom: #999 1px solid;margin-bottom: 10px">
+
<includeonly>{{DISPLAYTITLE:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|/|0}}+1}}|10000}}}}
<font size=3>[[{{{1}}}]]</font><br>
+
<div style="margin-top:-12px;margin-bottom: 4px;vertical-align:middle;padding-left:5px;padding-bottom:3px;border-bottom: 1px #999 solid">
<font size=5>{{{2}}}</font>
+
[[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>
{{#if: {{{p}}} | next chapter: [[{{{1}}}/{{{p}}} | {{{p}}}]]
+
This template will set a book navigation title replacing page title.
}}{{#if: {{{n}}} | previous chapter: [[{{{1}}}/{{{n}}} | {{{n}}}]]
+
}}}}</div></div></includeonly><noinclude>
+
This template will place a navigation block and disable page title.
+
  
== Usage ==
+
  <nowiki>{{navigation title|Prev_Page}}</nowiki>
  <nowiki>{{navigation | Navigation book index | p=Previous page | n=Next page}}</nowiki>
+
  
 +
{{important|All pages int the book  should be numbered this way: '''Page Index'''/'''Chapter'''}}
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
 
</noinclude>
 
</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