Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Transclude

From Teriock
Revision as of 11:53, 14 January 2025 by Gpe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

local p = {}

function p.transclude(frame)
    -- Get and preprocess the input
    local raw_input = frame.args[1] or ''
    local processed_input = 'yoggle' .. raw_input:gsub('E', 's') .. 'yoggle'
    
    -- Debug output
    return string.format(
        "Raw input:\n<pre>%s</pre>\n\nProcessed input:\n<pre>%s</pre>",
        raw_input,
        processed_input
    )
end

return p