Module:EcopediaString

From Eco - English Wiki
Revision as of 10:08, 28 June 2024 by StalEF (talk | contribs)

This module provides the back end functionality of the Template:EcopediaString.

If the template is passed information will be displayed using details from the following Modules:


local p = {}

function p.main(param)
	local Utils = require('Module:Utils')
	local args = Utils.normaliseArgs(param)
	local String = ""
    local EcopediaList = require( "Module:EcopediaData" )
    local String = EcopediaList[args.num]
	
	return String
end

return p