Module:Dash: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| (2 intermediate revisions by 2 users 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 = frame.args["debug"] | |||
local result = p._dash(in_str, s, d, d2) | |||
return | if debugg == true then | ||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | |||
end | |||
return frame:preprocess(result) | |||
end | end | ||
return p | return p | ||