Fortnite Esports Wiki

Power Rankings of Brazil and Oceania at the moment are not updated to the last two competitive seasons, so the current positions of the players are not 100% accurate.

READ MORE

Fortnite Esports Wiki
Advertisement

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

local util_args = require('Module:ArgsUtil')

local h = {}

local p = {}
function p.constructor(content, headingLevel)
	-- this function is an alternative to TabsDynamic.constructor
	-- it takes the exact same input, namely a table of rows with name & content in each row
	headingLevel = headingLevel or 3
	local output = mw.html.create()
	for _, v in ipairs(content) do
		output:tag('h' .. headingLevel)
			:wikitext(v.name)
		output:wikitext(v.content)
	end
	return output
end
return p
Advertisement