Template:Archive nav
This is an alternative of {{archive-nav}} to enable a much more dynamic display |
This template employs intricate features of template syntax. You are encouraged to familiarize yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly. Remember that you can conduct experiments, and should test all improvements, in either the general template sandbox or your user space before changing anything here. |
Example display
{{archive nav|55|base=Talk:Main Page/Archive}}
gives:
10 – 20 – 30 – 40 – 46 – 47 – 48 – 49 – 50 – 51 – 52 – 53 – 54 – Archive 55 – 56 – 57 – 58 – 59 – 60 – 61 – 62 – 63 – 64 – 70 – 80 – 90 – 100 – 110 – 120 – 130 – 140 – 150
{{archive nav|1|base=Talk:Main Page/Archive}}
gives:
Archive 01 – 02 – 03 – 04 – 05 – 06 – 07 – 08 – 09 – 10 – 20 – 30 – 40 – 50 – 60 – 70 – 80 – 90 – 100
{{archive nav|86|base=Talk:Main Page/Archive}}
gives:
10 – 20 – 30 – 40 – 50 – 60 – 70 – 77 – 78 – 79 – 80 – 81 – 82 – 83 – 84 – 85 – Archive 86 – 87 – 88 – 89 – 90 – 91 – 92 – 93 – 94 – 95 – 100 – 110 – 120 – 130 – 140 – 150
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.{{archive nav|N|base=base}}
where N is archive number AND base is the base path of the archives.
See also
- {{archive-nav}}
- {{atn}}