Module:TV
From Terra Invicta Official Wiki
Documentation for this module may be created at Module:TV/doc
-- This is a LUA version of the Template:VT page.
-- The idea is to standardize how Value-Type pairs are presented.
local p = {}
local IconModule = require('Module:Icon')
local VTData = mw.loadData('Module:VT/data')
function p.VT( frame )
local VTvalue = frame.args[1]
local VTtype = frame.args[2]
if not VTtype then
return 'ERROR: No type specified for VT Module'
end
local returnString = VTvalue .. ' ' .. VTData[VTtype]
return returnString
end
return p


