FANDOM


[edit] [purge] Template-info.svg Template documentation

{{Forum/header}} 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: {{Forum/header|Section of the forum}} For example, {{Forum/header|General Yu-Gi-Oh! Discussion}} produces:

A second unnamed parameter can be used to add the thread to another section. For example: {{Forum/header|Yu-Gi-Oh! Wiki Community Discussion|Yu-Gi-Oh! Ruling Queries}} 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: {{Forum/header|Yu-Gi-Oh! Deck help|sticky=true}} 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: {{Forum/header|Yu-Gi-Oh! Lists Discussion|demo=true}} (all the examples provided here use this).

Notices

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 div.sysop-show { display: block !important; } to their wikia.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.

Threads which have been full protected are automatically considered archived, regardless of how long it's been since the last edit or if the last edit or archived parameters have been used. All threads which have been full protected also omit the "Please don't add to the discussion, unless absolutely necessary." sentence, since non-admins cannot edit them.

See also

Community content is available under CC-BY-SA unless otherwise noted.