Template:Archive box collapsible/doc

Documentation for Template:Archive box collapsible. The green text contains advanced tips which you may ignore or apply at your own leisure.

Usage
Include the collapsible archive box in the talk page by adding to where you want the archive box to appear. Substitute  /Archive  with the actual name(s) of the archive page(s) and make sure to add the forward slash '/'. How you present a list of archive pages is up to you. You can e.g. separate them with commas or format them as lists. You can also use piped links. See Automatic links and Examples below.

Placement
This template uses two different visual styles.

The standard style makes the box float to the right. This means that where it appears in the page it will be aligned to the right edge of the page and all following content will flow around it.
 * Standard style


 * On some article or wikiproject talk pages, there is more than one right-floating box. In that case, the edit links of the text sections next to those boxes often "bunch up". Template:Fix bunching provides a solution for that problem.

Using  as a parameter produces a center-aligned box at 80% page width, which is the standard for talk page templates. If you're using the archive box on an article or wikiproject talk page, you may want to use this to make the box blend in with the rest of the page. Using this parameter disables the box-width option.
 * Large style

Box width
The box width can be set by using the  parameter, with em or px as the unit of measurement:

The standard width when this parameter is not used is 200px.

Automatic links
If all the archives of a talk page are named exactly /Archive 1, /Archive 2 etc. (it will not work with e.g. /Archive1 or /Archive 01), you can use the auto parameter to display links to them all automatically. The list will update itself when new archives are added. If there are also differently named archives, you can still manually add links to those. Note the  option below in case the archive pages are not direct subpages of the talk page.


 * Using :

The links to the archive pages will appear as simple numbers, separated with commas (1, 2, 3, ...). Note: Archives numbered past 100 will be ignored.

determines the archive root page. The root defaults to the page where the template is transcluded (the talk page itself); thus, where the archive pages are subpages of a different page, it can be specified using. determines the maximum number of links per line, while  disables arbitrary linebreaks. The following example will look for a user's talk page archives named /Archives/Archive 1, /Archives/Archive 2, etc., and list up to 5 archives per line:
 * The optional parameters,  , and   can be used with   (learn more).


 * Using :

If there are no more than 36 archive pages, and you prefer a three-column output, set the auto parameter to "long". The links to the archive pages will appear as " Archive 1 ", " Archive 2 ", etc. The links will be put into lines with a line break after each third link, to create columns.


 * Re-arranging the columns, e.g. from top to bottom, is not possible with . However, manually added links can be arranged in columns with multicol. See the multicol example below.
 * The optional parameter  is available with   (see above).

Examples
For actual examples of the use of this template, see the pages that link here.

The below example combines the  parameter with multicol: