Module: Test
From Travel Strategies
Documentation for this module may be created at Module:Test/doc
local p = {}
local t = {}
t["foo"] = {
"first",
"second",
"third",
"fourth"}
t["bar"] = {"one", "two", "three", "four"}
function p.output(frame)
local x = string.lower(frame.args[1])
local text = t[x][1] .. t[x][3]
return text
end
return p