Module:TextCopy

Revision as of 17:24, 18 December 2023 by Yeeshani (talk | contribs) (Created page with "-- -- This module implements {{TextCopy}} -- require('Module:No globals') local p = {} function p.sidebar(frame, args) if not args then args = getArgs(frame) end local root = mw.html.create() root = root:tag('div') root :addClass('textcopyouter') :tag('div') :addClass('copyleft') :tag('div') :addClass('textcopyright') end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

--
-- This module implements {{TextCopy}}
--
require('Module:No globals')

local p = {}

function p.sidebar(frame, args)
	if not args then
		args = getArgs(frame)
	end
	local root = mw.html.create()
    
    root = root:tag('div')
    root
        :addClass('textcopyouter')
        :tag('div')
           :addClass('copyleft')
        :tag('div')
           :addClass('textcopyright')
end

return p