Module:T-Norm: Difference between revisions

// via Wikitext Extension for VSCode
 
// via Wikitext Extension for VSCode
Tag: Reverted
Line 55: Line 55:
Blueprint.addPreprocessor(template, 'setPageIdField')  -- Blueprint default
Blueprint.addPreprocessor(template, 'setPageIdField')  -- Blueprint default
Blueprint.addPreprocessor(template, 'deriveRegionFromCountry') -- Possible blueprint default
Blueprint.addPreprocessor(template, 'deriveRegionFromCountry') -- Possible blueprint default
-- Test error: Attempt to call a non-existent function to test error handling
Blueprint.addPreprocessor(template, function(template, args)
    -- This will cause an error: attempting to call a non-existent function
    local result = nonExistentFunction("test parameter")
    return args
end)


-- ==================== Main Render Function ====================
-- ==================== Main Render Function ====================