Module:MoneyMakingGuide: Difference between revisions

Add total value of inputs and outputs
(Add 'other' row)
(Add total value of inputs and outputs)
Line 224: Line 224:
         :tag("th")
         :tag("th")
             :wikitext("Inputs")
             :wikitext("Inputs")
        :done()
            if pInputs.TotalValue ~= 0 then
            html:wikitext(" (" .. icons.GP(pInputs.TotalValue) .. ")")
            end
            html = html
         :tag("th")
         :tag("th")
             :wikitext("Outputs")
             :wikitext("Outputs")
            if pOutputs.TotalValue ~= 0 then
            html:wikitext(" (" .. icons.GP(pOutputs.TotalValue) .. ")")
            end
            html = html
     :tag("tr")
     :tag("tr")
         :tag("td")
         :tag("td")
1,010

edits