Module:Rip description

local p = {}

function p.main(frame) local args = frame.args str = args[1] str = mw.ustring.gsub(str, '([^\n]*): ([^\n]*)', '|%1=%2') str = mw.ustring.gsub(str, '\n\n', '\n') str = mw.ustring.gsub(str, '|Music=', '|music=') str = mw.ustring.gsub(str, '|Composer=', '|composer=') str = mw.ustring.gsub(str, '|Composers=', '|composer label=Composers\n|composer=') str = mw.ustring.gsub(str, '|(Original Composers?)=', '|composer label=%1\n|composer=') str = mw.ustring.gsub(str, '|Performer=', '|performer=') str = mw.ustring.gsub(str, '|Performers=', '|performer label=Performers\n|performer=') str = mw.ustring.gsub(str, '|Performed by=', '|performer label=Performed by\n|performer=') str = mw.ustring.gsub(str, '|(Original Performers?)=', '|performer label=%1\n|performer=') str = mw.ustring.gsub(str, '|Original Arrangement=', '|performer label=Original Arrangement\n|performer=') str = mw.ustring.gsub(str, '|Arranger=', '|arranger=') str = mw.ustring.gsub(str, '|Arrangers=', '|arranger label=Arrangers\n|arranger=') str = mw.ustring.gsub(str, '|Arrangement=', '|arranger label=Arrangement\n|arranger=') str = mw.ustring.gsub(str, '|Playlist=[^\n]*\n', '') str = mw.ustring.gsub(str, '\n|Playlist=[^\n]*', '') str = mw.ustring.gsub(str, '|Platform=', '|platform=') str = mw.ustring.gsub(str, '|Platforms=', '|platform label=Platforms\n|platform=') str = mw.ustring.gsub(str, '\n+([^|]+)', '\n|catchphrase=%1') return str end

return p