Module:ProcessItemName: Difference between revisions

From Vintage Story Wiki
(Created page with "local p = {} -- No functionality currently but will eventually set this up to process item names into appropriate links function p.main(f) local args = require( 'Module:Proce...")
 
mNo edit summary
 
Line 3: Line 3:
function p.main(f)
function p.main(f)
local args = require( 'Module:ProcessArgs' ).merge( true )
local args = require( 'Module:ProcessArgs' ).merge( true )
local link = args.link
local link = '[[' .. args.link .. ']]'
return link
return link
end
end
return p
return p

Latest revision as of 20:35, 22 August 2022

Documentation for this module may be created at Module:ProcessItemName/doc

local p = {}
-- No functionality currently but will eventually set this up to process item names into appropriate links
function p.main(f)
	local args = require( 'Module:ProcessArgs' ).merge( true )
	local link = '[[' .. args.link .. ']]'
	return link
end
return p