Template:Infobox Recipe: Difference between revisions

m
fix template adding additional prepending line breaks
(Fixed wording Prepared Ingredient -> Intermediate Ingredient)
m (fix template adding additional prepending line breaks)
Line 2:
{{#set:
Material1={{{rawmat1}}}
}}<!--
-->{{#vardefine:rawmat1cost|{{#if:{{{rawmat1|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat1}}}]]|?Shop buy price=|mainlabel=-}}|R}}|0}}}}<!--
-->{{#vardefine:rawmat2cost|{{#if:{{{rawmat2|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat2}}}]]|?Shop buy price=|mainlabel=-}}|R}}|0}}}}<!--
-->{{#vardefine:rawmat3cost|{{#if:{{{rawmat2|}}}|{{formatnum:{{#ask:[[Sold item::{{{rawmat2}}}]]|?Shop buy price=|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
|-
Line 88:
! colspan="3" | Profit
| style="text-align: right;" {{!}} {{Currency|{{#expr:{{#var:output1costtotal}} - {{#var:totalcost}}}}}}
|}</includeonly><noinclude>{{/doc}}<templatedata/noinclude>
{
"params": {
"rawmat1": {},
"rawmat2": {},
"output1": {},
"facility": {},
"profession": {},
"level": {},
"exp": {},
"rawmat1qty": {},
"rawmat2qty": {},
"output1qty": {},
"rawmat3": {},
"rawmat3qty": {},
"preparedmat1": {},
"preparedmat1qty": {},
"preparedmat2": {},
"preparedmat2qty": {},
"preparedmat1fac": {},
"preparedmat2fac": {},
"preparedmat3": {},
"preparedmat3qty": {},
"preparedmat3fac": {}
},
"paramOrder": [
"facility",
"profession",
"level",
"exp",
"rawmat1",
"rawmat1qty",
"rawmat2",
"rawmat2qty",
"rawmat3",
"rawmat3qty",
"preparedmat1",
"preparedmat1qty",
"preparedmat1fac",
"preparedmat2",
"preparedmat2qty",
"preparedmat2fac",
"preparedmat3",
"preparedmat3qty",
"preparedmat3fac",
"output1",
"output1qty"
],
"format": "block"
}
</templatedata></noinclude>
172

edits