Module:Bongolium500/learning: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 2: Line 2:


function p.pipeTest( frame )
function p.pipeTest( frame )
arg = frame.args[1]
return frame:preprocess("<pre>"..frame.args[1].."</pre>")
if arg == "Text|Text" then
local text = "Pipe"
elseif arg == "Text{{!}}Text" then
local text = "Fake Pipe"
end
return text
end
end


return p
return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.