Module:Infobox Recipe: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
The Gaffer (talk | contribs) No edit summary |
The Gaffer (talk | contribs) No edit summary |
||
Line 268: | Line 268: | ||
:done() |
:done() |
||
:done() |
:done() |
||
if args.output1 then |
|||
out |
|||
-- Values |
-- Values |
||
:tag('tr') |
:tag('tr') |
||
:tag('td') |
:tag('td') |
||
:css{ ['border-right'] = 'none' } |
:css{ ['border-right'] = 'none' } |
||
:wikitext( |
:wikitext('[[File:' .. args.output1 .. '.png|30px|link=' .. args.output1 .. ']]' or 'Unknown') |
||
:done() |
:done() |
||
:tag('td') |
:tag('td') |
||
:css{ ['border-left'] = 'none' } |
:css{ ['border-left'] = 'none' } |
||
:wikitext( |
:wikitext('[[' .. args.output1 .. ']]' or 'Unknown') |
||
:done() |
:done() |
||
:tag('td') |
:tag('td') |
||
Line 285: | Line 287: | ||
:wikitext(currency_cell(output1TotalValue)) |
:wikitext(currency_cell(output1TotalValue)) |
||
:done() |
:done() |
||
end |
|||
-- Add profit data |
-- Add profit data |
||
out |
|||
:tag('tr') |
:tag('tr') |
||
:tag('th') |
:tag('th') |