×
Create a new article
Write your page title here:
We currently have 1,393 articles on World Trigger Wiki. Type your article name above or create one of the articles listed here!



    World Trigger Wiki
    Revision as of 20:54, May 13, 2024 by Lord-Giganticus (talk | contribs) (Created page with "---@param text string ---@return string local function _resolve_pipe(text) local func = text:gmatch("|.*") return func():sub(2) end ---@return table, table local function _get_args_and_pargs(frame) local args = frame.args local parent = frame:getParent() local pargs={} if parent then pargs=parent.args end return args, pargs end local mod = { get_args_and_pargs = _get_args_and_pargs } function mod.resolve_pipe(frame) local args, parg...")
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Documentation for this module may be created at Module:Util/doc

    ---@param text string
    ---@return string
    local function _resolve_pipe(text)
        local func = text:gmatch("|.*")
        return func():sub(2)
    end
    
    ---@return table, table
    local function _get_args_and_pargs(frame)
        local args = frame.args
        local parent = frame:getParent()
        local pargs={}
        if parent then pargs=parent.args end
        return args, pargs
    end
    
    local mod = {
        get_args_and_pargs = _get_args_and_pargs
    }
    
    function mod.resolve_pipe(frame)
        local args, pargs = mod.get_args_and_pargs(frame)
        local pipe = args[1] or pargs[1] or ""
        return _resolve_pipe(pipe)
    end
    
    return mod
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Fairemont • 1 day ago
  • Fairemont • 1 day ago
  • Fairemont • 1 day ago
  • Fairemont • 1 day ago
  • Welcome to WorldTriggerWiki.com!

    We have completed moving the wiki here from FANDOM. This is the wiki that will be maintained and updated in the future (more information). Enjoy your stay!


    If you would like to get involved, or if you have questions or feedback, check out the Community Portal.

    Happy Birthday!

    June 30

    Takeru Yuiga

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.