Module:Navbox fighters (Tekken 7)

From Wavu Wiki, the 🌊 wavy Tekken wiki

Documentation for this module may be created at Module:Navbox fighters (Tekken 7)/doc

local p = {}

local game = require("Module:Game").Tekken7

p.main = function(frame)
	local list = ""
	for _, fighter in ipairs(game.fighters) do
		list = list .. "\n* [[" .. game.fighterPage(fighter) .. "|" .. fighter .. "]]"
	end
	return mw.getCurrentFrame():expandTemplate{
		title = "Navbox", args = {
			marginTop = "1.5rem",
			heading1 = "Characters (Tekken 7)",
			links1 = mw.getCurrentFrame():expandTemplate{
				title = "Dotlist",
				args = { list }
			}
		}
	}
end

return p