Module:Guidance: Difference between revisions
Jump to navigation
Jump to search
Work in progress checkpoint.
imported>Pingu No edit summary |
imported>Pingu (Work in progress checkpoint.) |
||
| Line 13: | Line 13: | ||
}, | }, | ||
{ "jumpscare", | { "jumpscare", | ||
"jump | "a jump scare", | ||
"[[:wikipedia:jump scare|jump | "a [[:wikipedia:jump scare|jump scare]]", | ||
1, | 1, | ||
}, | }, | ||
| Line 104: | Line 104: | ||
do | do | ||
-- Timestamp parsing | -- Timestamp parsing | ||
if string.match(frame.args[1],r[i][1]..'%([%d,:-]*%)') then | if string.match(frame.args[1],r[i][1]..'%([%d,:-]*%)') and r[i][4] == 1 then | ||
local ri = 1 | |||
local rt = {} | |||
for p in string.gmatch(string.match(frame.args[1],r[i][1].."%([%d,:-]*%)"), "[%d:-]+") do | |||
rt.ri = p | |||
rt = | mw.log(rt.ri) | ||
ri = ri + 1 | |||
end | |||
elseif string.match(frame.args[1],r[i][1]) and r[i][4] == 1 then | |||
end | rd = r[i][2].." for the whole duration" | ||
elseif string. | |||
end | end | ||
end | end | ||
end | end | ||
return p | return p | ||