Template:Talk archive navigation
This is an 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 current talk page. |
This template uses Lua: |
Usage
This template header allows you to navigate through numbered archive pages that are named in the standard "Archive n" format. The header shows links to the previous archive and the next archive.
No parameters are needed for this template to work; just place {{tan}}
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 1
to Archive n
to exist. If there is a gap where some archive pages don't exist, the template may assume that the higher archives don't exist.
For this template to work, the archives must be named in standard "Archive n" form. If they are not, move them to the appropriate names first; see Help:Moving a page for 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 is the number one not a lower case letter L). Example:
{{tan|1}}
.
| prefix = archive prefix
- Manually specify the prefix of the archive page. This is useful for archives in a non-standard format. For example, for Starfleet Logistics: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
- Specify the maximum number of links to be used. The default is 3.
| noredlinks=yes
- Normally the template displays the first red link after the highest archive. To prevent the template from displaying red links, you can use
|noredlinks=yes
.
| style (minor warning) / notice (messages)
- These are the same types as used by {{tmbox}} and automatically change the logo and box style. If undefined the logo will default to the archives icon.
| image = none / [[Image:Some image.svg|40px]] | imageright = [[Image: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
- Replace the header message with your own message.
| period = date range
- Specify 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
- Format the box and text in any way you prefer. You may find the guidance at MOS:COLOR helpful.
Example using parameters: {{tan|1|image=[[image:1000000000seconds.jpg|80px]]|style=width:80%;margin-left:auto;margin-right:auto;background:lightblue;border: blue solid 2px;}}
Aliases
- {{tan}}
- {{talk archive nav}}
- {{talkarchivenav}}
See also
- {{Automatic archive navigator}}, functionally identical, but with different default parameters
External links
- Template:Talk archive navigation at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Talk archive navigation/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |