User:The Gaffer/Sandbox/RecipeCard: 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 3: | Line 3: | ||
Material1={{{rawmat1}}} |
Material1={{{rawmat1}}} |
||
}} |
}} |
||
{{#vardefine:rawmat1cost|{{#if:{{{rawmat1|}}}|{{formatnum:{{#ask:[[{{{rawmat1}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
{{#vardefine:rawmat1cost|{{#if:{{{rawmat1|}}}|{{formatnum:{{#ask:[[{{{rawmat1}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
||
{{#vardefine:rawmat2cost|{{#if:{{{rawmat2|}}}|{{formatnum:{{#ask:[[{{{rawmat2}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
|||
{{#vardefine:rawmat3cost|{{#if:{{{rawmat2|}}}|{{formatnum:{{#ask:[[{{{rawmat2}}}]]|?Value=|mainlabel=-}}|R}}|0}}}} |
|||
{{#vardefine:rawmat2total|0}} |
|||
{{#vardefine:rawmat3total|0}} |
|||
{{#vardefine:output1cost|{{#if:{{{output1|}}}|{{formatnum:{{#ask:[[{{{output1}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}{| class="wikitable" |
|||
! colspan="4" | Requirements |
! colspan="4" | Requirements |
||
|- |
|- |
||
Line 47: | Line 52: | ||
! Cost |
! Cost |
||
|- |
|- |
||
{{#if{{{preparedmat1|}}}|[[File:{{{preparedmat1}}}.png|30px]]|{{unknown}}}} |
|||
{{#if{{{preparedmat1|}}}[[{{{preparedmat1}}}]]|{{unknown}}}} |
|||
style="text-align: right;" {{!}} {{{preparedmat1qty|1}}} |
|||
style="text-align: right" {{!}} {{Currency|{{totalcost|0}} |
|||
! colspan="2" | Ouput |
! colspan="2" | Ouput |
||
! Quantity |
! Quantity |
||
Line 72: | Line 81: | ||
"output1qty": {}, |
"output1qty": {}, |
||
"rawmat3": {}, |
"rawmat3": {}, |
||
"rawmat3qty": {} |
"rawmat3qty": {}, |
||
"preparedmat1": {}, |
|||
"preparedmat1qty": {}, |
|||
"preparedmat2": {}, |
|||
"preparedmatqty2": {} |
|||
}, |
}, |
||
"paramOrder": [ |
"paramOrder": [ |
||
Line 86: | Line 99: | ||
"rawmat2qty", |
"rawmat2qty", |
||
"rawmat3qty", |
"rawmat3qty", |
||
"output1qty" |
"output1qty", |
||
"preparedmat1", |
|||
"preparedmat1qty", |
|||
"preparedmat2", |
|||
"preparedmatqty2" |
|||
], |
], |
||
"format": "inline" |
"format": "inline" |