Jump to content

Module:Template translation

From Solarpunk Wiki

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

-- Dummy "Template translation" module to avoid errors
-- This disables multilingual template features, but prevents script errors.

local p = {}

-- Used by some templates to check translation status
function p.checkTranslation(frame)
    return ''
end

-- Used by some templates to layout multilingual content
function p.layout(frame)
    return ''
end

-- Used by some templates for main entry point
function p.main(frame)
    return ''
end

-- Used by license templates to display translated text
function p.renderTranslatedTemplate(frame)
    -- Return nothing but avoid errors
    return ''
end

-- Always return a table to prevent 'nil value' errors
return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.