Template:Header-nav: Difference between revisions

Template page
Content added Content deleted
thegreatwar>Borderman
m (reinstate prev and next)
m (bottom margin)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|class="pivot-table" style="width:100%; margin:0 0 40px 0; padding:5px; font-size:90%;"
<!--
|-
Begin headerContainer wrapper
|style="width:30%; font-size:90%; text-align:center; padding:5px;|{{larger|{{sc|Previous}}}}<br>{{{prev|}}}

|style="width:40%; text-align:center; font-size:100%; padding:0 10px; rowspan="2"|'''{{larger|{{sc|{{{title}}}}}''' {{{year}}}}}<br>{{{author}}}
<div id="headerContainer" class="ws-noexport noprint"> -->
<div style="width:auto; background:#f4f4f4; border:1px solid #ccc; text-align:center; margin:0 0 20px 0; padding:3px;"><center>
|style="width:30%; font-size:90%; text-align:center; padding:5px;"|{{larger|{{sc|Next}}}}<br>{{{next|}}}
|}
{|class="" style="width:100%;
|style="width:25%; font-size:90%; text-align:left; padding:0 4px;"|{{{prev|}}}{{2nbsp}}
|style="width:auto; text-align:center; font-size:100%; padding:0 10px;|'''{{{title}}}''' {{{year}}}<br>{{{author}}}
|style="width:25%; font-size:90%; text-align:right; padding:0 4px;"|{{2nbsp}}{{{next|}}}
|}</center></div>
<!--End headerContainer wrapper-->
<noinclude>
<noinclude>
{{doc|{{Header-nav/doc}}}}
{{doc|{{Header-nav/doc}}}}

Latest revision as of 02:50, 21 March 2020

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