Difference between revisions of "Module:MonsterBox"

From Curse of Aros
Jump to: navigation, search
Line 4: Line 4:
  
 
function export.show(frame)
 
function export.show(frame)
    return 'Hello, my ' .. frame.args[1] .. ' is ' .. frame.args[2] .. ' on ' .. pagename
+
table = mw.html.create('table'):addClass('rsw-infobox'):addClass('plainlinks')
 +
    return tostring(table)
 
end
 
end
  
 
return export
 
return export

Revision as of 12:13, 11 February 2019

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

local export = {}

local pagename = mw.title.getCurrentTitle().fullText

function export.show(frame)
	table = mw.html.create('table'):addClass('rsw-infobox'):addClass('plainlinks')
    return tostring(table)
end

return export