• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Table of contents displays inside template if template is first item on page (e.g. Info Box)

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Table of contents displays inside template if template is first item on page (e.g. Info Box)

    • Issue Tools
      • View Changes
    1. issueid=5052 May 6, 2017 12:56 PM
      ACL ACL is offline
      Regular Member
      Table of contents displays inside template if template is first item on page (e.g. Info Box)

      The default position for the Table of Contents renders inside a template, if the template is the first thing included on a page. This can result in unwanted odd looking pages in some situations like the one I am experiencing with a Wikipedia-inspired Info Box.

      In my opinion the table of contents should totally ignore the contents of the template bbcode.

      Using the [toc.][/toc.] bbcode offers a workaround to this problem but this isn't a good solution if high-use templates like an Info Box are the first thing on many pages.
    Issue Details
    Issue Number 5052
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Page Output
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.17
    Fixed Version 4.0.18
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 1
    Assigned Users (none)
    Tags (none)




    1. May 6, 2017 1:10 PM
      pegasus pegasus is offline
      VaultWiki Team
      I think the only way to resolve this is to remove the mechanism that places the TOC after the first line break if the article contains 0 headings. If there are no headings, we should place the TOC at the very beginning of the article unless the BB-Code is used.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 11:32 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.