Module:Traits: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 118: Line 118:
         local th_effect;
         local th_effect;
         local th_skilltext;
         local th_skilltext;
        local detail_list = {}
         local default_value = DEFAULT[trait_name] or {};
         local default_value = DEFAULT[trait_name] or {};


Line 208: Line 207:
                 end
                 end


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