Module:Infobox/Widget/Subheader

From TwogPedia
Revision as of 16:19, 29 August 2022 by Couchor (talk | contribs) (Created page with "local Subheader = {} function Subheader.make(title) local title = mw.html.create('div') :addClass('ib-subheader') :wikitext(title) return mw.html.create('div'):node(title) end return Subheader")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Infobox/Widget/Subheader/doc

local Subheader = {}

function Subheader.make(title)
	local title = mw.html.create('div')
			:addClass('ib-subheader')
			:wikitext(title)

	return mw.html.create('div'):node(title)
end

return Subheader