Anonymous
×
Create a new article
Write your page title here:
We currently have 496 articles on WIKI - Idle Pixel. Type your article name above or click on one of the titles below and start writing!



WIKI - Idle Pixel
Revision as of 11:42, 18 September 2024 by Dounford (talk | contribs)

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

inspect = require("Module:InspectLua")
local p = {}

function p.tabs (frame)
	local args = frame:getParent().args
	local result = ""
	for key, value in pairs(args) do
		result = result .. '<htmltag tagname="input" type="radio" class="dTabsRadio" name="Areas" id="' .. key .. '" checked></htmltag><htmltag tagname="label" for="' .. key .. '" class="dTabsLabel">Test1</htmltag><div class="dTabsContent">' .. value .. '</div>'
	end
	return '<div class="dTabs">' .. result .. '</div>'
end

return p