Template:Archive box/doc

From Homecoming Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Archive box (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Include the archive box in the talk page by adding

{{Archive box|[[/Archive]]}}

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 [[wikipedia:WP:PIPE|piped links. See #Examples below.

Placement

The box uses a style that makes it float to the right. This means that where it appears in the page it will be aligned to the right edge of the page (more accurately: the containing box, but that is an unnecessary detail) and all following content will flow around it.

Box width

The box width can be set by using the box-width= parameter:

{{Archive box|box-width=13em|[[/Archive]]}}
{{Archive box|box-width=200px|[[/Archive]]}}

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

Image

For the standard image, the width can be adjusted by using the image-width= parameter:

{{Archive box|image-width=35px|[[/Archive]]}}

The image can also be changed from the default using the image= parameter. Please note that if you're using a changed image, the width of that image can not be adjusted with image-width=. Instead, set the image width using normal image syntax, for example:

{{Archive box|image=[[Image:Crystal Clear app file-manager.png|35px]]}}

Examples

For actual examples of the use of this template, use the what links here link in the toolbox on the sidebar.

Wikitext Appearance
{{archive box|
[[/Archive 1]],
[[/Archive 2]],
[[/December 2005 - January 2006]] and
[[/Deletion discussion]]}}
{{archive box|
[[/Archive 1]]<br />
[[/Archive 2]]<br />
[[/December 2005 - January 2006]]<br />
[[/Deletion discussion]]}}
{{archive box|
: [[/Archive 1]]
: [[/Archive 2]]
: [[/December 2005 - January 2006]]
: [[/Deletion discussion]]}}
{{archive box|image=[[Image:CoH Game Icon.png|35px]]|
* [[/Archive 1|Archive 1]]
* [[/Archive 2]]
* [[/December 2005 - January 2006]]
* [[/Deletion discussion]]}}
{{archive box|
# [[/Archive 1]]
# [[/Archive 2]]
# [[/December 2005 - January 2006]]
# [[/Deletion discussion]]}}
{{archive box|box-width=14em|image-width=20px|
* [[/Archive 1]]
* [[/Archive 2]]
* [[/December 2005 - January 2006]]
* [[/Deletion discussion]]}}

See also