Template:Atn

From Wikipedia, the free encyclopedia

[edit] Template documentation
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
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.

This template allows you to navigate through sequentially-numbered archive pages.

It does not require any parameters; just place {{atn}} near the top of each archive for a particular page. It will create a navigation bar to facilitate movement among them, back to the page itself and to the current talk page. It will also work out which archive has the highest number (i.e. the most recent) and allow you to skip directly to that one.

In order for this template to work, the archives must be named "Archive 1", "Archive 2" and so on (capital "A", with a space before the number). If they are not, move them to the appropriate names first; see Help:Moving a page for information.

The template will appear as shown below, using Talk:Earth/Archive 2 as an example:

Talk archives for Earth (current talk page)
<< 1 < Archive 1 Archive 2 Archive 3 > Archive 5 >

Note: The example above was created when Talk:Earth had 5 archives; if more are created the ">>" link shown here won't change because this example is static, however the template itself will update as appropriate to show the new highest number.


See it in action

Please look at [1] to see an implementation of {{atn}}.


See also

Languages