Module:Dash: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 58: | Line 58: | ||
local d2 = frame.args["d2"] | local d2 = frame.args["d2"] | ||
local in_str = frame.args["input_str"] | local in_str = frame.args["input_str"] | ||
local debugg = | local debugg = frame.args["debug"] | ||
local result = p._dash(in_str, s, d, d2) | |||
if debugg == true then | |||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | |||
end | |||
return frame:preprocess(result) | |||
end | end | ||
return p | return p | ||