Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Page-bottom: Difference between revisions

Template page
Content added Content deleted
thegreatwar>Borderman
(updated to include four plates under the page numbers)
thegreatwar>Borderman
(included documentation template)
Line 1: Line 1:
<div style="width:auto; border:none; text-align:center; font-size:90%; margin:20px 0 20px 0; padding:6px;">{{{left-arrow|}}}&nbsp;{{{prev-page|}}}{{{dot1|}}}{{{pageno|}}}{{{dot2|}}}{{{next-page|}}}&nbsp;{{{right-arrow|}}}<br>{{{plate1|}}}{{{dot3|}}}{{{plate2|}}}{{{dot4|}}}{{{plate3|}}}{{{dot5|}}}{{{plate4|}}}</div><noinclude>
<div style="width:auto; border:none; text-align:center; font-size:90%; margin:20px 0 20px 0; padding:6px;">{{{left-arrow|}}}&nbsp;{{{prev-page|}}}{{{dot1|}}}{{{pageno|}}}{{{dot2|}}}{{{next-page|}}}&nbsp;{{{right-arrow|}}}<br>{{{plate1|}}}{{{dot3|}}}{{{plate2|}}}{{{dot4|}}}{{{plate3|}}}{{{dot5|}}}{{{plate4|}}}</div><noinclude>
{{Documentation}}
<pre>Usage:
{{Page-bottom
|left-arrow =
|prev-page =
|dot1 ={{dot-spaces}}
|pageno =
|dot2 ={{dot-spaces}}
|next-page =
|right-arrow=
|plate1 =
|dot3 =
|plate2 =
|dot4 =
|plate3 =
|dot5 =
|plate4 =
}}</pre>
[[Category:Template]]
[[Category:Template]]
[[Category:Page navigation template]]</noinclude>
[[Category:Page navigation template]]
</noinclude>

Revision as of 01:11, 16 January 2018

  
Template documentation[view] [edit] [history] [purge]
  • A simple template that shows the current page number at the bottom of the text with both the previous and next page numbers with the directional arrows {{la}} (left) and {{ra}} (right).
  • Page numbers are separated using {{dot-spaces}}}}. This is made up of {{dot}} and {{2nbsp}} to create two non-breaking spaces either side of a dot.
  • Dot-spaces are always used to separate parameters, without them the page numbers are not evenly spaced.
  • Always include square parentheses [[ ]] when linking to the "prev-page" or "next-page" as they are not built-in to the template.
{{Page-bottom
 |prev-page  =[[ ]]
 |pageno     =[[ ]]
 |next-page  =[[ ]]
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.