Module:Tcw: Difference between revisions

From PT National Labs
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:


function p.hello( frame )
function p.hello( frame )
    return "Hello, world!" .. frame.args[1]
  local test = mw.html.create("a")
  test.attr("href", "https://wiki.torn.com/wiki/"..fame.args[1])
  test.text("" .. frame.args[1])
  return test
end
end


return p
return p

Revision as of 16:00, 1 July 2025

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

local p = {} 

function p.hello( frame )
  local test = mw.html.create("a")
  test.attr("href", "https://wiki.torn.com/wiki/"..fame.args[1])
  test.text("" .. frame.args[1])
  return test
end

return p