Anonymous

Module:Navboxes: Difference between revisions

From Melvor Idle
center-aligning text on Familiar Navbox
(Created Familiar Navbox)
(center-aligning text on Familiar Navbox)
Line 208: Line 208:
     table.insert(iconArray, Icons.Icon({fam.name, type='item'}))
     table.insert(iconArray, Icons.Icon({fam.name, type='item'}))
   end
   end
   result = result..'\r\n|-\r\n|'..table.concat(iconArray, ' • ')
   result = result..'\r\n|-\r\n|style="text-align:center;"'..table.concat(iconArray, ' • ')
   result = result..'\r\n|}'
   result = result..'\r\n|}'
   return result
   return result