Template:Header-nav: Difference between revisions

Template page
Content added Content deleted
thegreatwar>Chris.S
(prev and next links on new line)
thegreatwar>Chris.S
m (Reverted edits by Chris.S (talk) to last revision by Borderman)
Line 1: Line 1:
<div style="width:auto; background:#f4f4f4; border:1px solid #ccc; text-align:center; margin:0 0 20px 0; padding:3px;"><center>
<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>
{|class="" style="width:100%;
|style="width:35%; font-size:90%; text-align:left; padding:0 4px;"|{{{prev|}}}{{2nbsp}}
|style="width:auto; text-align:center; font-size:90%; padding:0 10px;|'''{{{title}}}''' {{{year}}} {{dot}} {{{author}}}
|style="width:35%; font-size:90%; text-align:right; padding:0 4px;"|{{2nbsp}}{{{next|}}}
|}</center></div><noinclude>
{{doc|{{Header-nav/doc}}}}
{{doc|{{Header-nav/doc}}}}
[[Category:Template]]
[[Category:Template]]

Revision as of 16:07, 22 July 2018

   {{{title}}} {{{year}}}  ·  {{{author}}}   
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.