Module:EcopediaString: Difference between revisions
From Eco - English Wiki
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
local String = EcopediaList[args.num] | local String = EcopediaList[args.num] | ||
return | return args.num | ||
end | end | ||
return p | return p |
Revision as of 10:09, 28 June 2024
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 args.num
end
return p