Module: TextUtil
From Genesys Documentation
Documentation for this module may be created at Module:TextUtil/doc
local p = {} -- p stands for package local cargo = mw.ext.cargo -- conditional text switch on the Platform_ID assigned to each content area function getTemplateParam( frame, paramName ) local val = frame:getParent().args[paramName] if ( val == nil ) then return '' else return val end end function p.conditionalPlatform ( frame ) local val = frame:getParent().args[paramName] if ( val == nil ) then return '' else return val end end return p