Changes

m
no edit summary
Line 38: Line 38:  
   table.insert(result, table_header)
 
   table.insert(result, table_header)
 
   for i, q in ipairs(data) do
 
   for i, q in ipairs(data) do
     q.letter = q.label:sub(1, 1)
+
     -- table.insert(result, _.format(table_row, q))
    table.insert(result, _.format(table_row, q))
  −
    --[[
   
     table.insert(result, _.format(table_row, {
 
     table.insert(result, _.format(table_row, {
 
       label = q.label,
 
       label = q.label,
 
       title = q.title,
 
       title = q.title,
 
       title_en = q.title_en,
 
       title_en = q.title_en,
       detail_en = frame:preprocess(q.detail_en),
+
       detail_en = q.detail_en,
 
       reward_fuel = q.reward_fuel,
 
       reward_fuel = q.reward_fuel,
 
       reward_ammo = q.reward_ammo,
 
       reward_ammo = q.reward_ammo,
 
       reward_steel = q.reward_steel,
 
       reward_steel = q.reward_steel,
 
       reward_bauxite = q.reward_bauxite,
 
       reward_bauxite = q.reward_bauxite,
       reward_other = frame:preprocess(q.reward_other),
+
       reward_other = q.reward_other,
 
       note = q.note,
 
       note = q.note,
 +
      letter = q.label:sub(1, 1)
 
     }))
 
     }))
    ]]--
   
   end
 
   end
 
   table.insert(result, table_footer)
 
   table.insert(result, table_footer)
cssedit, gkautomate
7,064

edits