Template:Forum/header/doc

is a template used to organize forum threads. It appears at the top of forum pages and allows them to appear in forum indexes and categories. It also produces certain notices depending on the status of the forum thread.

Usage
In the vast majority of cases, it is not necessary to manually add or modify this template, as it is added automatically when a thread is created using the "new topic" box.

The first unnamed parameter is for the name of the forum section: For example,  produces:

A second unnamed parameter can be used to add the thread to another section. For example: produces:

To sticky a thread (i.e. add it to a separate section on index pages, so that it will remain near the top regardless of how long it has been since it was last edited), add |sticky=true to the template. For example: produces:

To demonstrate how to use the template, add |demo=true to the template; this will prevent it from adding any categories or displaying the move or archive notices. For example: (all the examples provided here use this).

Wrong namespace
If the thread is not in the forum namespace, a box instructing that the page be moved appears. By default, this box only shows for administrators, but other users can make it visible by adding the code  to their wiki.css or monobook.css file.

Archived
If the thread was last edited more than 40 days ago, the edit and new topic links become unavailable and the following notice appears. The number of days increases the longer the thread goes unedited. This notice does not appear on sticky threads, index pages, or threads in the Wiki Discussion forum.

Wiki Discussion and sticky threads, as well as threads not old enough to be auto-archived, can be manually archived by adding |archived=true to the template. To avoid resetting the day count to 0 when manually archiving, |last edit=date can be used to get the counter to start from a specified date, which should usually be the date of the edit before the manual archive (for instance, to set the last date at 14:37, August 21, 2011, you would write |last edit=14:37, August 21, 2011). The time zone used should be UTC.