Forum:Is there a way to remove the auto-added "contents" area from a single page?

Is there a way to remove the content block (seen below this) from a single page?

On the front page of the wiki I work for I want a few words to be larger so I used the === and ==== coding, but now there is a contents box that doesn't look very good on the main page.

How the front page looks starts here, and the thing I want gone is right below this line:

Welcome
bla bla bla

{|style="width: 100%;" {| style="width: 100%;" !style="text-align: left; margin: 1; background-color:; font-size: 120%; font-weight: bold; border:1px solid #aaa; padding:0.2em 0.4em;" | Contents (view all pages) {|style="width: 100%;"
 * style="width: 50%; padding: .4em .9em .9em; vertical-align:top;"|
 * style="vertical-align: top;"|

Characters

 * some
 * names
 * of
 * characters
 * style="vertical-align: top;"|

Battle

 * some
 * points
 * about
 * the
 * battles
 * style="vertical-align: top;"|

Points of Interest

 * more stuff
 * about the game
 * style="vertical-align: top;"|

Game Makers

 * more stuff
 * about the
 * game makers
 * }
 * }
 * }

Latest Additions
(no-wiki'ed to shrink the page)

I hope someone can help me with this.

FurRiffic (Talk) 09:40, August 2, 2012 (UTC)


 * You can remove the Table of Contents from a particular page by using the magic word


 * Thanks that worked perfectly
 * FurRiffic (Talk) 10:22, August 2, 2012 (UTC)

NOTOC may not be sufficient to long term needs, though. Even if you have NOTOC, the individual sections will still show up as being editable. Thus, you may want to use and tags around your headline text. This will produce a headline, but not offer an edting link.

You could even go so far as definiing a special class of text in your css to create headline-big text, but without any of the complications of it actually being a headline.

So, you could go to your MediaWiki:Common.css and enter the following:

font-size:150%; font-family:whatever; color:whatever; padding:10px; margin-left:5px; } Then you'd create a very simple template, called maybe Template:headline, consisting simply of this tiny bit of code: This would then allow you to type
 * 1) head {

Sure, all this is slightly more work than just typing

But the results are much more satisfying and adaptaable. 17:17: Thu 02 Aug 2012