• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
      • Try XenForo Demo
      • Feeds
      • Examples
      • Special Pages
      • Recent Changes
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Wiki
    • Special Pages
    • List of Wiki Codes
    • Variables
    • Local Variables

    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.

    Help

    Local Variables

    You can define some reusable bits of text in a page as local variables. Local variables live only in the current context; for example, templates cannot access local variables set by another context or provide local variables to a different context.

    SET
    Defines a local variable with the name specified by the first argument. The second argument sets the value.
    GET
    Retrieves a local variable with the name specified by the argument.
    EACH
    Splits a local variable into segments, and for each segment, outputs a phrase with the term {text} replaced by the segment's contents. The first argument is the name of a local variable that contains the segments. The second argument is the delimiter that should be used to split the local variable into segments; if empty, this defaults to |. The third argument is the number of segments; if empty, all occurrences of the delimiter will generate segments. The final argument is the phrase, containing {text}, where each segment will be applied. The phrase will repeat until all segments are applied.
    REPLACE
    Performs a text replacement. The first argument specifies the text to search for, and the second argument is the text that replaces any found instances. The third argument is the overall text that the search occurs against.
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 1:04 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.
    "Wiki" powered by VaultWiki v4.1.9.