Module:Bongolium500/learning: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
function p.pipeTest( frame ) | function p.pipeTest( frame ) | ||
arg = frame.args[1] | arg = frame.args[1] | ||
if arg == "|" then | if arg == "Text|Text" then | ||
local text = "Pipe" | local text = "Pipe" | ||
elseif arg == "{{!}}" then | elseif arg == "Text{{!}}Text" then | ||
local text = "Fake Pipe" | local text = "Fake Pipe" | ||
end | end |