Difference between revisions of "Template:NavLRC2"

From Lost Minis Wiki
Jump to navigation Jump to search
m
m
 
Line 26: Line 26:
  
 
</noinclude><div class="grayed" style="margin-bottom:5px; width:{{{7|638px}}}; text-align:center; position:relative;">
 
</noinclude><div class="grayed" style="margin-bottom:5px; width:{{{7|638px}}}; text-align:center; position:relative;">
<div style="display:inline-block;position:absolute;left:0;top:5px;font-size:10.5px;">&#9664; [[{{{1}}}|{{{2}}}]]</div>
+
<div style="display:inline-block;position:absolute;left:0;top:4px;font-size:10.5px;">&#9664; [[{{{1}}}|{{{2}}}]]</div>
<div style="display:inline-block; position:absolute;right:0;top:5px;font-size:10.5px;">[[{{{3}}}|{{{4}}}]] &#9654;</div>
+
<div style="display:inline-block; position:absolute;right:0;top:4px;font-size:10.5px;">[[{{{3}}}|{{{4}}}]] &#9654;</div>
 
<div style="display:inline-block;font-size:10.5px;">[[{{{5}}}|{{{6}}}]]</div>
 
<div style="display:inline-block;font-size:10.5px;">[[{{{5}}}|{{{6}}}]]</div>
 
</div>
 
</div>

Latest revision as of 13:08, 8 April 2024

NavLRC2 : Left-Right-Center navigation links
A template for putting navigation links at the top of a page. Used to implement next/previous style navigation across a set of related pages. Template expands to three links, a previous article link on the left, and next article link on the right, and a centered up link to a parent page (usually an index page).


Use the Template:NavLC2 and Template:NavRC2 templates on the first and last pages in the series.


Syntax:

{{NavLRC2|left-page-name|left-display-name|right-page-name|right-display-name|center-name|center-display-name|optional-width}}


Parameters :

  1. Name of the article to for the left link.
  2. Display text for the left link.
  3. Name of the article for the right link.
  4. Display text for the right link.
  5. Name of the article for the center link.
  6. Display text for the center link.
  7. The width of the nav bar (optional, defaults to the width of image galleries)



◀ [[{{{1}}}|{{{2}}}]]
[[{{{3}}}|{{{4}}}]] ▶
[[{{{5}}}|{{{6}}}]]