Template:Chef/RecipeRow: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Reverted previous two changes, attempt to use PLink for ingredients unsuccessful. Still removed + to match other chef table.) |
(Blank cells if cost is not given) |
||
Line 1: | Line 1: | ||
{| class="wikitable" |
|||
⚫ | |||
<onlyinclude><!-- |
|||
⚫ | |||
{{#vardefine: |
-->{{#vardefine:SellValue|{{#if:{{{Item|}}}|{{formatnum:{{#ask:[[{{{Item}}}]]|?Value=|mainlabel=-}}|R}}|0}}}}<!-- |
||
{{#vardefine: |
-->{{#vardefine:RawMaterial1|{{#if:{{{Item|}}}|{{#ask:[[{{{Item}}}]]|?RawMaterial1=|mainlabel=-}}|R}}|0}}<!-- |
||
⚫ | |||
{{!}} {{{Level}}} |
|||
⚫ | |||
⚫ | |||
| {{{Level}}} |
|||
⚫ | |||
⚫ | |||
| [[{{{Category}}}]] |
|||
⚫ | |||
⚫ | |||
| {{{Experience}}} |
|||
⚫ | |||
{{!}} {{Currency|{{{Cost}}}}} |
|||
| {{{ExperiencePerHour}}} |
|||
⚫ | |||
{{ |
| {{#if:{{{Cost|}}}|{{Currency|{{{Cost}}}}}<noinclude>|{{{Cost}}}</noinclude>}} |
||
| {{Currency|{{#var:SellValue}}}} |
|||
⚫ | |||
⚫ | |||
| {{#if:{{{Cost|}}}|{{Currency|{{#expr:({{#var:SellValue}} - {{{Cost}}})/(200*{{{Experience}}}) round 2}}}}}} |
|||
⚫ | |||
|} |
|||
<noinclude>{{/doc}}</noinclude> |
<noinclude>{{/doc}}</noinclude> |