Module:ED intro: Difference between revisions
Tristanbay (talk | contribs) actually added the styling into the primary function this time |
Tristanbay (talk | contribs) Added "string." where needed |
||
| Line 306: | Line 306: | ||
return "{{error|Error: Equave type not supported or entered incorrectly.}}" | return "{{error|Error: Equave type not supported or entered incorrectly.}}" | ||
elseif ed_type == ED_TYPE_EDO then | elseif ed_type == ED_TYPE_EDO then | ||
return format(style(), p.edo_intro(parsed_ed)) | return string.format(style(), p.edo_intro(parsed_ed)) | ||
elseif ed_type == ED_TYPE_EDT then | elseif ed_type == ED_TYPE_EDT then | ||
return format(style(), p.edt_intro(parsed_ed)) | return string.format(style(), p.edt_intro(parsed_ed)) | ||
elseif ed_type == ED_TYPE_EDF then | elseif ed_type == ED_TYPE_EDF then | ||
return format(style(), p.edf_intro(parsed_ed)) | return string.format(style(), p.edf_intro(parsed_ed)) | ||
elseif ed_type == ED_TYPE_EDH then | elseif ed_type == ED_TYPE_EDH then | ||
return format(style(), p.edh_intro(parsed_ed, parsed_equave)) | return string.format(style(), p.edh_intro(parsed_ed, parsed_equave)) | ||
elseif ed_type == ED_TYPE_EDR then | elseif ed_type == ED_TYPE_EDR then | ||
return format(style(), p.edr_intro(parsed_ed, parsed_equave)) | return string.format(style(), p.edr_intro(parsed_ed, parsed_equave)) | ||
elseif ed_type == ED_TYPE_EDC then | elseif ed_type == ED_TYPE_EDC then | ||
return format(style(), p.edc_intro(parsed_ed, parsed_equave)) | return string.format(style(), p.edc_intro(parsed_ed, parsed_equave)) | ||
end | end | ||
end | end | ||