Permanently protected template

Template:Archive navigation

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Archive 1 | Archive 2 | Archive 3

Template documentation[view] [edit] [history] [purge]

Example display

Archive 1 |
Archive 2
| Archive 3

Usage

{{archive-nav|N}} where N is archive number. Archive subpages must be named as "Archive 1", "Archive 2", "Archive 3", etc. for this to work. Otherwise use {{archive-nav|N|prev=Prev|next=Next}}, where Prev and Next are the names of the preceding and following archive subpages (e.g. {{archive-nav|3|prev=Archive2|next=archive 4}}).

Optionally, you can use {{archive number}} to provide N for you.

By default, a link to the next archive will be generated, even if that archive does not exist. To suppress this link, use showmissing=0.

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Archive navigation

Archive page navigation

Template parameters

Parameter Description Type Status
N 1

Number of current archive page

Default
2
Example
2
Auto value
empty
Number required
previous archive page prev

Name of previous archive subpage.

Default
Archive N-1
Example
archive1
Auto value
empty
String optional
next archive subpage next

Name of next archive subpage.

Default
Archive N+1
Example
archive3
Auto value
empty
Page optional
show missing links showmissing

Show links to pages that are missing.

Default
1
Example
0
Auto value
empty
Boolean optional