Template:Archive navigation/doc

From blackwiki
< Template:Archive navigation
Revision as of 08:28, 22 November 2016 by blackwiki>GPHemsley (→‎Usage: Add note about showmissing=0)
Jump to navigation Jump to search


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

Template:Warchivenav