Module:TableGenerator: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m onlyBody > only_body
Sur (talk | contribs)
m bugfix, was using class instead of class_str in output
 
Line 53: Line 53:


         -- Add the value as a table cell with the appropriate class
         -- Add the value as a table cell with the appropriate class
         result = result .. '    <td' .. class .. '>' .. value .. '</td>\n'
         result = result .. '    <td' .. class_str .. '>' .. value .. '</td>\n'
         count = count + 1
         count = count + 1
     end
     end