Template:Chef/RecipeRow: Difference between revisions
m
Remove deprecated template parameter
(Attempt to fix formatting using urldecode.) |
m (Remove deprecated template parameter) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1:
{| class="wikitable"
{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}▼
<onlyinclude><!--
{{#vardefine:RawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial1=|mainlabel=-}}|R}}|0}}▼
-->{{#vardefine:
-->{{#vardefine:
▲-->{{#vardefine:
{{!}} {{{Level}}}▼
-->{{#vardefine:RawMaterial3|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial3=|mainlabel=-}}|R}}|0}}<!--
▲-->{{#vardefine:
{{!}} [[{{{Category}}}]]▼
{{!}} {{#if:{{#var:RawMaterial1}}|{{Plink|{{#urldecode:{{#var:RawMaterial1}}}}}}|}}{{#if:{{#var:RawMaterial2}}|<br />{{Plink|{{#urldecode:{{#var:RawMaterial2}}}}}}|}}{{#if:{{#var:RawMaterial3}}|<br />{{Plink|{{#urldecode:{{#var:RawMaterial3}}}}}}|}}▼
| {{
{{!}} {{{ExperienceFirstTime}}}▼
▲
{{!}} {{{ExperiencePerHour}}}▼
{{!}} {{Currency|{{#expr:{{#var:SellValue}} - {{{Cost}}}}}}}▼
| {{#if:{{#var:RawMaterialTotalCost}}|{{Currency|{{#var:RawMaterialTotalCost}}}}}}
{{!}} {{Currency|{{#expr:({{#var:SellValue}} - {{{Cost}}})/(200*{{{Experience}}}) round 2}}}}▼
| {{
▲| {{
▲| {{
| {{{ProfitPerHour}}}</onlyinclude>
|}
<noinclude>{{/doc}}</noinclude>
|