Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Appearance  





2 Usage  



2.1  Optional parameters  







3 Tracking category  





4 See also  














Template:Automatic archive navigator






العربية
تۆرکجه

فارسی
Ilokano
Bahasa Indonesia
Kurdî
Latviešu
ि

ି

Simple English
سنڌي
Српски / srpski

Türkçe
Українська
اردو
Tiếng Vit
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Meta-Wiki
Wikibooks
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Aan)

  • {{AAN}}
  • Template:Automatic archive navigator provides a convenient banner for the top of archive pages that also helps with navigation. It also suppresses section editing and the new section button on the page by emitting __NONEWSECTIONLINK__ and __NOEDITSECTION__ into the wikitext.

    Appearance

    Live working examples, using this template:

    Usage

    This Automatic Archive Navigator template header allows you to navigate through numbered archive pages that are named in the standard "Archive n" format. The header shows the previous 3 and next 3 pages in the archives (only if they exist). The first and last navigable links intelligently search out pages 5 back or ahead and, if they do not exist, show the next nearest.

    No parameters are needed for this template to work; just place {{Automatic archive navigator}} near the top of each archive page (or configure as the default archive header for your archive bot). It will automatically create a navigation bar. Some optional parameters are detailed below, if you want to have more control.

    The template relies on all archives from Archive 1toArchive n, to exist consecutively. If there is a gap in numbering, where some archive pages don't exist, the template may not display the links to the higher numbered archives.

    For this template to work, the archives must also be named in standard "Archive n" form. If they are not, move them to the appropriate names first; see Wikipedia:Moving a page for more information. Alternatively, you can use the |prefix= parameter to let the module know what prefix it should use.

    Optional parameters

    | 1
    
    Option to use the navigation bar with no message text (this displays the number one, not a lower case letter L). Example: {{Automatic archive navigator|1}}.

    | prefix = archive prefix
    
    Manually specifies the prefix of the archive page. This is useful for archives in a non-standard format. For example, for Wikipedia:Administrators' noticeboard/IncidentArchive902, you would use |prefix=IncidentArchive. HTML entities are decoded for this parameter; for example, to insert a space at the end of the prefix, you can use  .

    | links = n
    
    Specifies the maximum number of links to be used. The default is 7.

    | noredlinks = yes/no
    
    Normally, the template does not display red links. To display the first red link after the highest archive, you can use |noredlinks=no.

    | style (minor warning) / notice (messages)
    
    These are the same types as used by {{tmbox}} and automatically change the logo and box style. If left undefined, then the logo will default to the archives icon.

    | image = none / [[File:Some image.svg|40px]]
    | imageright = [[File:Some image.svg|40px]]
    
    Use your own image, or none, as the logo in the navigation bar. Alternatively, you can place an image on the right hand side or have images on both sides.

    | text = alternative message text
    
    Replaces the header message with your own message.

    | period = date range
    
    Specifies a date range for the period covered, e.g. |period=March 2006 to April 2007. This parameter is free-form, so you can use whatever format you like.

    | style = CSS box style settings
    | textstyle = CSS text style settings
    
    Formats the box and text in any way you prefer. You may find the guidance at MOS:COLORCODING helpful.

    Tracking category

    See also


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Automatic_archive_navigator&oldid=1190034617"

    Categories: 
    Talk message boxes
    Lua-based templates
    Archival templates
    Talk header templates
    Hidden categories: 
    Wikipedia templates currently being merged or deleted
    Wikipedia template-protected templates
     



    This page was last edited on 15 December 2023, at 15:16 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki