Module:Tcw: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
function p.hello( frame ) | function p.hello( frame ) | ||
local test = mw.html.create("a") | local test = mw.html.create("a") | ||
test.attr("href", "https://wiki.torn.com/wiki/".. | test.attr("href", "https://wiki.torn.com/wiki/".. frame.args[1]) | ||
test.text("" .. frame.args[1]) | test.text("" .. frame.args[1]) | ||
return test | return test | ||
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/".. frame.args[1])
test.text("" .. frame.args[1])
return test
end
return p