Difference between revisions of "Module:Sandbox"

From Pathfinder Wiki
Line 6: Line 6:
  
 
function p.lst( frame )
 
function p.lst( frame )
 +
mw.log('Test')
 
local strFromTrans = frame:callParserFunction( '#lst', { 'Localization:All/de', 'LoremIpsum' })
 
local strFromTrans = frame:callParserFunction( '#lst', { 'Localization:All/de', 'LoremIpsum' })
 
mw.log('strFromTrans: '..strFromTrans)
 
mw.log('strFromTrans: '..strFromTrans)

Revision as of 18:45, 16 July 2021

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

local p = {}

function p.expandTemplate( frame )
	mw.log(frame:expandTemplate{ title = 'User:DesignerThan/Sandbox/expandTemplate' })
end

function p.lst( frame )
	mw.log('Test')
	local strFromTrans = frame:callParserFunction( '#lst', { 'Localization:All/de', 'LoremIpsum' })
	mw.log('strFromTrans: '..strFromTrans)
end

return p