Template:Chef/RecipeRow: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
<!-- Template:Chef/RecipeRow -->
<!-- Template:Chef/RecipeRow -->
<onlyinclude>
|-
| {{{Level}}}
{{#if: {{{CategoryFilter|}}} |
{{#ifeq: {{{Category}}} | {{{CategoryFilter}}} |
| {{{Item}}}
<!-- Display row if Category matches CategoryFilter -->
| {{{SellValue}}}
| {{{Category}}}
{{!}}-
| {{{Cost}}}
{{!}} {{{Level}}}
| {{{Profit}}}
{{!}} {{{Item}}}
| {{{Experience}}}
{{!}} {{{SellValue}}}
| {{{ExperienceFirstTime}}}
{{!}} {{{Category}}}
| {{{Ingredients}}}
{{!}} {{{Cost}}}
{{!}} {{{Profit}}}
{{!}} {{{Experience}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Ingredients}}}
}}
|
<!-- Display row unconditionally if CategoryFilter is empty -->
{{!}}-
{{!}} {{{Level}}}
{{!}} {{{Item}}}
{{!}} {{{SellValue}}}
{{!}} {{{Category}}}
{{!}} {{{Cost}}}
{{!}} {{{Profit}}}
{{!}} {{{Experience}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Ingredients}}}
}}
</onlyinclude>