Jump to content

Module:Infobox/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
m 1 revision imported
 
(No difference)

Latest revision as of 16:50, 2 January 2025

Documentation for this module may be created at Module:Infobox/styles.css/doc

-- Example Lua script for infobox logic
local infobox = {}

function infobox.create(params)
    local content = mw.html.create('div')
    content:addClass('infobox-subbox')
    content:wikitext(params.content)
    return tostring(content)
end

return infobox