Module:Sandbox/Md gilbert/ListItemArg

Revision as of 20:58, 23 October 2022 by imported>Legoktm (Replace Module:No globals with require( "strict" ))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

require('strict')

local p = {}

function p.Item(frame) 
	-- Build the arg string and return the invocation
	local res = "Returns: {{#invoke:ListItem|printItem"
	for k,v in pairs(frame.args) do
		res = res .. "|" .. k .. "=" .. v
	end
	res = res .. "}}"
end

return p