Module:Traits: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 207: Line 207:
                 end
                 end


                 local detail_cell = tr3:tag('td'):wikitext(end_value == '-' and args['detail' .. trait_count] and end_value);
                 local detail_text = end_value
                if end_value == '-' and args['detail' .. trait_count] then detail_text = args['detail' .. trait_count] end
                local detail_cell = tr3:tag('td'):wikitext(detail_text);
             end
             end
         end
         end