Module:AchievementsList: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
Created blank page
 
No edit summary
Line 1: Line 1:
local p = {}


function p.main()
local wiki = ''
-- import the required modules
local AchievementsData = require( "Module:AchievementsData" )
local Achievements = AchievementsData.Achievements
-- create the header of the table
local header = "<table class=\"wikitable sortable\"> \n "
header = header .. "<tr> \n "
header = header .. "<th></th> \n "
header = header .. "<th></th> \n "
header = header .. "</tr> \n "
wiki = header
wiki = wiki .. " </table>"
return wiki
end
return p

Revision as of 19:50, 31 May 2024


local p = {}

function p.main()
	local wiki = ''

	-- import the required modules
	local AchievementsData = require( "Module:AchievementsData" )	
	
	local Achievements = AchievementsData.Achievements

	-- create the header of the table
	local header = "<table class=\"wikitable sortable\"> \n " 
	header = header .. "<tr> \n "
	header = header .. "<th></th> \n "
	header = header .. "<th></th> \n "
	header = header .. "</tr> \n "
	
	wiki = header


	wiki = wiki .. " </table>"
	return wiki
	end

return p