Template:Infobox Recipe: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1:
{{#vardefine:mat1cost|{{formatnum:{{#ask:[[{{{mat1}}}]]|?Value=|mainlabel=-}}|R}}}}{{#vardefine:mat2cost|{{#if:{{{mat2|}}}|{{formatnum:{{#ask:[[{{{mat2}}}]]|?Value=|mainlabel=-}}|R}}|0}}{{#vardefine:output1cost|{{formatnum:{{#ask:[[{{{output1}}}]]|?Value=|mainlabel=-}}|R}}}}{| class="wikitable"
! colspan="4" | Requirements
|-
Line 32:
}}
! colspan="3" | Total cost
| style="text-align: right;" {{!}} {{Currency|{{#vardefineecho:totalcost|{{#expr:{{#varexists:mat1total|{{#var:mat1total}}|0}} <!--+ {{#varexists:mat2total|{{#var:mat2total}}|0}}-->}}}}}}
|-
! colspan="2" | Ouput

Revision as of 22:18, 5 November 2024

{{#vardefine:mat2cost|0{| class="wikitable" ! colspan="4" | Requirements |- ! colspan="2" | Facility | colspan="2" | Unknown (edit) |- ! colspan="2" | Profession ! Level ! XP |- | colspan="2" | Unknown (edit) | style="text-align: center;" | Unknown (edit) | style="text-align: center;" | Unknown (edit) |- ! colspan="2" | Material ! Quantity ! Cost |-


! colspan="3" | Total cost | style="text-align: right;" | Copper |- ! colspan="2" | Ouput ! Quantity ! Cost |- | [[File:{{{output1}}}.png|30px]] | [[{{{output1}}}]] | style="text-align: right;" | 1 | style="text-align: right;" | Copper |- ! colspan="3" | Profit | style="text-align: right;" | Copper |}