Anonymous

Module:Navboxes: Difference between revisions

From Melvor Idle
m
no edit summary
mNo edit summary
mNo edit summary
Line 34: Line 34:
   end
   end
      
      
   local result = '{| class="wikitable" style="margin:auto; clear:both; width: 100%"'
   local result = '{| class="wikitable mw-collapsible" style="margin:auto; clear:both; width: 100%"'
   result = result..'\r\n|-\r\n!style="padding-right:64px;"|'..Icons.Icon({'Farming', type='skill'})
   result = result..'\r\n!colspan="2"|'..Icons.Icon({'Farming', type='skill'})
  result = result..'\r\n|-\r\n{| class="wikitable mw-collapsible" style="margin:auto; clear:both; width: 100%"'
   result = result..'\r\n!colspan="2"|Allotments'
   result = result..'\r\n!colspan="2"|Allotments'
   result = result..'\r\n|-\r\n!scope="row"|Seeds'
   result = result..'\r\n|-\r\n!scope="row"|Seeds'
Line 42: Line 41:
   result = result..'\r\n|-\r\n!scope="row"|Produce'
   result = result..'\r\n|-\r\n!scope="row"|Produce'
   result = result..'\r\n|style="text-align:center;|'..table.concat(allotmentProduceTable, ' • ')
   result = result..'\r\n|style="text-align:center;|'..table.concat(allotmentProduceTable, ' • ')
  result = result..'\r\n|}'
  result = result..'\r\n|-\r\n{| class="wikitable mw-collapsible" style="margin:auto; clear:both; width: 100%"'
   result = result..'\r\n!colspan="2"|Herbs'
   result = result..'\r\n!colspan="2"|Herbs'
   result = result..'\r\n|-\r\n!scope="row"|Seeds'
   result = result..'\r\n|-\r\n!scope="row"|Seeds'
Line 49: Line 46:
   result = result..'\r\n|-\r\n!scope="row"|Produce'
   result = result..'\r\n|-\r\n!scope="row"|Produce'
   result = result..'\r\n|style="text-align:center;|'..table.concat(herbProduceTable, ' • ')
   result = result..'\r\n|style="text-align:center;|'..table.concat(herbProduceTable, ' • ')
  result = result..'\r\n|}'
  result = result..'\r\n|-\r\n{| class="wikitable mw-collapsible" style="margin:auto; clear:both; width: 100%"'
   result = result..'\r\n!colspan="2"|Trees'
   result = result..'\r\n!colspan="2"|Trees'
   result = result..'\r\n|-\r\n!scope="row"|Seeds'
   result = result..'\r\n|-\r\n!scope="row"|Seeds'
Line 56: Line 51:
   result = result..'\r\n|-\r\n!scope="row"|Produce'
   result = result..'\r\n|-\r\n!scope="row"|Produce'
   result = result..'\r\n|style="text-align:center;|'..table.concat(treeProduceTable, ' • ')
   result = result..'\r\n|style="text-align:center;|'..table.concat(treeProduceTable, ' • ')
   result = result..'\r\n|}\r\n|}'
   result = result..'\r\n|}'


   return result
   return result
444

edits