Template:Archive navigation/doc

From Wikipedia, the free encyclopedia

Example display[edit]

Usage[edit]

{{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[edit]

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Archive navigation in articles based on its TemplateData.

TemplateData for Archive navigation

Archive page navigation

Template parameters

ParameterDescriptionTypeStatus
N1

Number of current archive page

Default
2
Example
2
Numberrequired
previous archive pageprev

Name of previous archive subpage.

Default
Archive N-1
Example
archive1
Stringoptional
next archive subpagenext

Name of next archive subpage.

Default
Archive N+1
Example
archive3
Page nameoptional
show missing linksshowmissing

Show links to pages that are missing.

Default
1
Example
0
Booleanoptional