Template:Archivemainpage/doc

Usage
This is an alternate form of the archive template for use on archived non-talk pages. The template links to the top-level main article page. For archive sub-pages, use a pipe character followed by an optional parameter to specify the correct link to the "current main page".

For linking to the "current talk page," rather than the "current main page," use  archive instead.