5,958 Pages

Forums: Index →  Forumheader

Template-info.svg Template Documentation (sometimes hidden or invisible)

Template tools: purgewhat links herewhat transclude thissubpages


This template is the header for every forum page.


This template uses {{!}}, the CSS class:

        3. Forum Formatting
/* Forum formatting - Algorithm & Splarka */
    .forumheader { border: 1px solid #aaa; background-color: #f9f9f9; 
                   margin-top: 1em; padding: 12px; }
    .forumlist td span { display: block; padding-left: 10px; font-size: smaller }
        .forumlist td span a { text-decoration: none; }
        .forumlist td span.forum_author { padding-left: 30px; }
    .forumlist td.forum_edited a { text-decoration: none }
    .forumlist th.forum_title { padding-left: 20px; }
        .forumlist td.forum_title a { padding-left: 20px; }
        .forumlist td.forum_title span a { padding-left: 0px }
        .forumlist td.forum_title a.forum_new { font-weight: bold; padding-left: 20px;
                background: url(/images/4/4e/Forum_new.gif) center left no-repeat;}
    .forumlist td.forum_title a.forum_new:visited {
            font-weight: normal; background: none; padding-left: 20px; }
/* remove talk link from forum namespace (Monobook/Monaco) - Splarka */
    body.ns-110 #ca-talk, body.ns-110 #page_tabs li+li { display: none; }

And the Jave Script:

/** Archive edit tab disabling *************************************
 * Disables the edit tab on old forum topic pages to stop new people bumping old topics.
 * Page can still be edited by going via the edit tab on the history etc, or by 
 * typing the edit address manually.
 * By [[User:Spang|Spang]]
 * Monaco support by [[User:Uberfuzzy|Uberfuzzy]]
 * Oasis support by [[User:Uberfuzzy|Uberfuzzy]]
if(wgNamespaceNumber == 110) {
function disableOldForumEdit() {
	if( typeof( enableOldForumEdit ) != 'undefined' && enableOldForumEdit ) {
	if( !document.getElementById('old-forum-warning') ) {
	if( skin == 'oasis' )
		$("#WikiaPageHeader .wikia-menu-button li a:first").html('Archived').removeAttr('href' );
		$('#WikiaPageHeader .wikia-button').html('Archived').removeAttr('href');
	if( !document.getElementById('ca-edit') ) {
	var editLink = null;
	if( skin == 'monaco' )
		editLink = document.getElementById('ca-edit');
	else if( skin == 'monobook' )
		editLink = document.getElementById('ca-edit').firstChild;
	editLink.removeAttribute('href', 0);
	editLink.removeAttribute('title', 0);
	editLink.style.color = 'gray';
	editLink.innerHTML = 'Archived';
addOnloadHook( disableOldForumEdit );

{{Forumheader|Category 1|Subcategory 2|closed=1|stickied=Stickied category}}


Category 1/1= the first free parameter define the main forum category - free, optional.
Subcategory 2/2= the second free parameter define the sub forum category - free, optional.
closed= with any not null value, it will lock the thread - optional.
stickied= the name of the stickied category to add - optional.

Archiving Threads

Manual Lock

If you want to lock a forum add the parameter closed=1 (any value, but "no" is ok, as long it's not null) to the template. You will get a message like this:

Note: This topic has been archived because the discussion is considered solved.
Do not add to unless it really needs a response.
Automatic Lock

The template will automatically lock a forum after a set number of days, currently 60 days. To change it, replace the value in Template:Forumheader/days with the desired number of days. When the limit is reached, the template will produce a message like this:

Note: This topic has been unedited for 1862 days. It is considered archived - the discussion is over.
Do not add to unless it really needs a response.
Leave a Thread Opened

If closed=no then the thread won't be closed.

Stickied Category

Adding a stickied category will automatically add the forum page to that category, moreover the forum won't be archived.


A "locked" forum can still be edited using the links in the history page, the bottom user toolbar (if present) or by manually adding the ?action=edit to the page url.

All subpages
See Also

- Category:Forums.
- The preload pages.

Visit Template:Forumheader/doc to edit this text! (How does this work?) (Refresh this text - why?)

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