Module:Sharpness documentation: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 7: | Line 7: | ||
local aux_note = frame.args["auxnote"] or "" | local aux_note = frame.args["auxnote"] or "" | ||
local notation = frame.args["notation"] or "" | local notation = frame.args["notation"] or "" | ||
local | local debugg = yesno(frame.args["debug"]) | ||
-- typ: "sharp" or "flat" | -- typ: "sharp" or "flat" | ||
| Line 140: | Line 140: | ||
end | end | ||
return frame:preprocess( | return frame:preprocess(debugg == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result) | ||
end | end | ||
return module | return module | ||