Line 12: |
Line 12: |
| audio_button = [=[<span class="audio_button">[[Media:${audio_file}|Play]]</span>]=], | | audio_button = [=[<span class="audio_button">[[Media:${audio_file}|Play]]</span>]=], |
| line_link = "[${link} ${line}]", | | line_link = "[${link} ${line}]", |
− | first_row_style = [[style=""]], | + | remodel_row_style = [[style="border-left: 32px solid #aaa;"]], |
− | spoiler = [[<span style="background-color:#3A3A3A">${text}</span>]], | + | spoiler = [[<span style="background-color:#3a3a3a">${text}</span>]], |
| row = [=[|- ${style} | | row = [=[|- ${style} |
| | nowrap="nowrap" |${audio_button} ${line} | | | nowrap="nowrap" |${audio_button} ${line} |
Line 70: |
Line 70: |
| local link = args[line.name .. remodel_string .. "/Link"] | | local link = args[line.name .. remodel_string .. "/Link"] |
| if not remodel and not line.extra or jaEn or ja or en or note then | | if not remodel and not line.extra or jaEn or ja or en or note then |
− | local line_name = line.name .. (remodel and " (" .. remodel .. ")" or "") | + | local line_name = remodel or line.name |
| table.insert(result, format{ | | table.insert(result, format{ |
| templates.row, | | templates.row, |
− | style = not remodel and templates.first_row_style or "", | + | style = remodel and templates.remodel_row_style or "", |
| audio_button = args.no_audio and "" or format{ | | audio_button = args.no_audio and "" or format{ |
| templates.audio_button, | | templates.audio_button, |