Difference between revisions of "Template:Atnn/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ash
m (Further explanation of usage)
imported>Ash
m (→‎Example: tidy example)
Line 12: Line 12:
  
 
=== Example ===
 
=== Example ===
This example is from a user talk archive using this template on a page called '''/2009''' created directly under the user talk page.
+
These examples are from a user talk archive using this template on a page called '''/2009''' created directly under the user talk page and from a large archive on page '''/25''' (exceeding the maximum for most auto-numbering templates). The actual links have been anonymized.
{{tmbox|image = [[Image:Replacement filing cabinet.svg|40x40px]]|style=width:80%;margin-left:auto;margin-right:auto;|textstyle=text-align:center;|text=[[User talk:Teahot/2007|2006]]{{space|8}}[[User talk:Teahot/2007|2007]]{{space|8}}[[User talk:Teahot/2008|2008]]{{space|8}}{{big|[[{{FULLPAGENAME}}|2009]]}}{{space|8}}[[User talk:Teahot/2009|2010]]<!--Links not all correct, it's only a simulation!-->
+
 
 +
{{tmbox|image = [[Image:Replacement filing cabinet.svg|40x40px]]|style=width:80%;margin-left:auto;margin-right:auto;|textstyle=text-align:center;|text=[[MOS:|2006]]{{space|8}}[[MOS:|2007]]{{space|8}}[[MOS:|2008]]{{space|8}}{{big|[[{{FULLPAGENAME}}|2009]]}}{{space|8}}[[MOS:|2010]]<!--Links not all correct, it's only a simulation!-->
 
----
 
----
This is an [[Help:Archiving_a_talk_page|archive]] of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the [[User talk:Teahot|current talk page]].
+
This is an [[Help:Archiving_a_talk_page|archive]] of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the [[MOS:|current talk page]].
 +
}}
 +
 
 +
{{tmbox|image = [[Image:Replacement filing cabinet.svg|40x40px]]|style=width:80%;margin-left:auto;margin-right:auto;|textstyle=text-align:center;|text=[[MOS:|22]]{{space|8}}[[MOS:|23]]{{space|8}}[[MOS:|24]]{{space|8}}{{big|[[{{FULLPAGENAME}}|25]]}}{{space|8}}[[MOS:|26]]{{space|8}}[[MOS:|27]]{{space|8}}[[MOS:|28]]<!--Links not all correct, it's only a simulation!-->
 +
----
 +
This is an [[Help:Archiving_a_talk_page|archive]] of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the [[MOS:|current talk page]].
 
}}
 
}}
  

Revision as of 22:47, 11 May 2009

Usage

This Automatic Talk-archive Number-only Numbering template header allows you to navigate through unlimited sequentially-numbered archive pages that are named purely as numbers (such as "2009", "200904", or "5"). The header is particularly useful for User Talk page archives which are numbered by year. The header shows the previous 3 and next 3 pages in the archives (only if they exist). Leading zeros in the page names should not be used and may lead to non-existent links being shown.

Numbering will stop at the last following or preceding sequential page. For example if included in each of the pages named "200801", "200802", "200803", "200901"; the template would correctly show a bar on all pages but navigation would only show the first three as connected.

No parameters are needed; just place {{atnn}} near the top of each archive page. It will automatically create a navigation bar.

For this template to work, the archives must be named purely as sequential numbers (i.e. not in the frequently used "Archive 1" format). If they are not, move them to the appropriate names first; see Help:Moving a page for information.

Example

These examples are from a user talk archive using this template on a page called /2009 created directly under the user talk page and from a large archive on page /25 (exceeding the maximum for most auto-numbering templates). The actual links have been anonymized.

See also