Abrir menu principal

UESPWiki β

Predefinição:Archive Table

Summary

This template standardizes most archive tables. Archive subpages will automatically be searched for, and will appear below any custom archives specified.

Parameters

If used with no parameters, Archive Table will automatically generate a simple table listing any archives it finds that correspond to the pattern of "/Archive #" underneath the base page. Up to 10 such archives will be searched for.

Archive Table
Parâmetero Escopo Descrição
title optional The title for the archive table (defaults to "Archives").
class optional Additional table classes, if desired.
style optional Additional style commands for the table, if desired.
noforce optional By default, Archive Table forces a table of contents on any page it's used on. Specify a value for this parameter to override this behaviour.
nosearch optional Specify a value for this parameter to turn the search feature off. (Note: this feature is still preliminary, functionality may change.)
titlestyle optional A CSS style to apply to the title cell. (Bare - do not use style= or quotes.)
cellstyle optional A CSS style to apply to all other cells. (Bare - do not use style= or quotes.)
Other Parameters
Each set of three unnamed parameters describes one archive entry in the table. If an archive is not found, it will not be listed in the table (so if your archives don't appear as you expect, check for typos in the name).
1 required The first parameter is the page name of the archive and can be either a full page name (without square brackets) or just the name of the subpage. Note that subpages are assumed to appear under {{NAMESPACE}}:{{BASEPAGENAME}}/archive name.
2 optional The second parameter is the text to display for the link to the archive page. If not specified, the first parameter will be used.
3 optional The third parameter is the descriptive text for the link — often the date range for the archive. A colon and a space will automatically be inserted between the archive link and the descriptive text.
Special formatting
If the first parameter is an exclamation point (!), then the line will be displayed as a table header with the second parameter as the header text. The third parameter is ignored.

Note: Equals signs in parameters must be escaped using {{=}}, &#61; or <nowiki>=</nowiki>.

Examples

Note that some examples are faked due to the fact that this template inherently has no archives. Administrator Noticeboard archives will be linked to where needed, although only the first two, to reduce maintenance.

{{Archive Table|title=Example}}
Example
Archive 1
Archive 2
{{Archive Table
|Archive 1|First Archive|Feb 2005 – June 2006.
|Archive 2|Second Archive|June 2006 – August 2006.
}}
Archives
First Archive: Feb 2005 – June 2006.
Second Archive: June 2006 – August 2006.
{{Archive Table|class=compress|title=Major Discussions
|UESPWiki:Administrator_Noticeboard/Vandalism|Vandalism|Mostly spam, actually.
|!|Page Archives|
|UESPWiki:Administrator Noticeboard/Archive 1|Archive 1|Feb 2005 – June 2006.
|UESPWiki:Administrator Noticeboard/Archive 2|Archive 2|June 2006 – August 2006.
|!|Past Administrative Requests|
|User:Aristeo/RfA|Aristeo's Request for Adminstrator|''Approved June 19, 2006''
|noforce=1}}
Major Discussions
Vandalism: Mostly spam, actually.
Page Archives
Archive 1: Feb 2005 – June 2006.
Archive 2: June 2006 – August 2006.
Past Administrative Requests
Aristeo's Request for Adminstrator: Approved June 19, 2006

Note: This example is not faked.