Module:ED intro: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 299: | Line 299: | ||
if ed_type == ED_TYPE_DEFAULT then | if ed_type == ED_TYPE_DEFAULT then | ||
return "Equave type not supported or entered incorrectly." | return "<span style=\"color; #bf3c2c; font-size: 120%;\">Equave type not supported or entered incorrectly.</span>" | ||
elseif ed_type == ED_TYPE_EDO then | elseif ed_type == ED_TYPE_EDO then | ||
return p.edo_intro(parsed_ed) | return p.edo_intro(parsed_ed) | ||
| Line 338: | Line 338: | ||
local debugg = yesno(frame.args["debug"]) | local debugg = yesno(frame.args["debug"]) | ||
local result = p._ed_intro | local result = p._ed_intro((edo == nil) and ed or edo) | ||
return frame:preprocess(debugg == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result) | return frame:preprocess(debugg == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result) | ||
end | end | ||
return p | return p | ||