This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Hiding specific sections from a toc
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

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

There are some sections that are only there to allow me to link to the part of the article. They shouldn't be displayed in TOC. Is it possible to hide those sections from toc or is there any other way to link to the part of the article?  AW10  Talk  Contribs  E-Mail  15:01,9/18/2012 

I don't think you can do this, but if you want no toc to appear than you can add __NOTOC__ to the page (in source mode). If you want to quickly skip to a section of a long page you can add #(name_of_section) to the URL instead of scrolling down. Paper Talk My Work 15:06, September 18, 2012 (UTC)
You can do this with
<span id="id name">A span id</span>
The code above could be linked to with the post url code #id_name, you can see more examples here -- RandomTime 15:14, September 18, 2012 (UTC)
Thank you for your responses. It seems it doesn't work by being used this way?  AW10  Talk  Contribs  E-Mail  15:39,9/18/2012 
I have figurite it out. It was becasue I have used necessary square brackets while filling parameter. So I needed to construct this to make the template ignore it:
  • {{#replace:{{#replace:{{{name}}}|[|}}|]|}}
 AW10  Talk  Contribs  E-Mail  21:00,9/18/2012