• 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
    • Template Header Transclusion

    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: Template Header Transclusion

    • Issue Tools
      • View Changes
    1. issueid=4382 September 28, 2015 6:16 PM
      Gossamer Gossamer is offline
      Junior Member
      Template Header Transclusion

      When I add a header to a template and place it under an [*noinclude] tag, an empty spot gets added to the table of contents for any page that template is placed on.

      This is the template:


      Template Code:
      Code:
      <div class="WIP"><span>This {{{Target|page}}} is a <b>work in progress</b>.  Expect frequent changes.  Content may not be accurate or up-to-date.</span>
      Help and feedback is welcome.  See the [wiki={{{DiscussionLink}}}]article discussion thread[/wiki].</div>
      
      [noinclude][h="2"]Usage[/h]
      [code][template]WIP
      |Target = Defaults to page
      |DiscussionLink = [/template]
      If the DiscussionLink parameter is included, this will be the final output:
      [template]WIP
      |DiscussionLink = http://mistsofsuriel.com[/template][/noinclude][/code]

      This is the page:


      The last link in the table of contents is blank and only appears if I add this template to that page.
    Issue Details
    Issue Number 4382
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Templates
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.6
    Fixed Version 4.0.7
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 28, 2015 6:17 PM
      Gossamer Gossamer is offline
      Junior Member
      Also, I discovered this on XenForo. Not sure why the issue changed message is showing vBulletin.
      Reply Reply
    2. October 1, 2015 6:30 PM
      pegasus pegasus is offline
      VaultWiki Team
      Confirmed. There are a number of issues here:
      • The H inside the NOINCLUDE block affects a page it's included on (but the text is missing because it wasn't included). I believe this affects vBulletin and XenForo equally.
      • The raw HTML parses on the template view even though it wasn't enclosed by a NOINCLUDE block. Because the template might use partial tags or might use parameters in tag attributes, content in the include-scope (including raw HTML) should not be parsed on the template view. I believe this only affects XenForo.
      • Using a NOINCLUDE tag on a regular page (not a template) should just show the raw NOINCLUDE tags and content. Currently NOINCLUDE seems to do its job. I expect similar weirdness using other template-only BB-Codes in regular pages. I believe this only affects XenForo.
      Reply Reply
    3. October 3, 2015 11:54 AM
      pegasus pegasus is offline
      VaultWiki Team
      The aforementioned issues with template scoping have been fixed for the next release (4.0.7).
      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 9:39 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.