Template:Header-nav: Difference between revisions

Template page
Content added Content deleted
thegreatwar>Chris.S
(center everything)
thegreatwar>Chris.S
(prev and next links on new line)
Line 1: Line 1:
<center><div style="margin:5px 0 20px 0; font-size:90%;">{{{prev|}}}{{dot-spaces}}'''{{{title}}} {{{year}}} by {{{author}}}'''{{dot-spaces}}{{{next|}}}</div></center><noinclude>
<center><div style="margin:20px 0; font-size:90%;">'''{{{title}}} {{{year}}} by {{{author}}}'''<br><span style="float:left;">{{{prev}}}{{2nbsp}}</span><span style="float:right;">{{2nbsp}}{{{next}}}</span></div></center><noinclude>
{{doc|{{Header-nav/doc}}}}
{{doc|{{Header-nav/doc}}}}
[[Category:Template]]
[[Category:Template]]

Revision as of 16:06, 22 July 2018

{{{title}}} {{{year}}} by {{{author}}}
{{{prev}}}    {{{next}}}
Template documentation
  • A simple template that shows the title, year published and author with both "previous" and "next" page links.
  • Make sure you add the square brackets [[ ]] for the previous and next links.
{{Header-nav
 |title    =
 |year     =
 |author   =
 |prev     ={{prev|}}
 |next     ={{next|}}
}}
The above documentation is transcluded from Template:Header-nav/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.