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 -->
<onlyinclude>
{{#if: {{{CategoryFilter|}}} |
{{#ifeq: {{{Category}}} | {{{CategoryFilter}}} |
<!-- Display row if Category matches CategoryFilter -->
{{!}}-
{{!}}-
{{!}} {{{Level}}}
{{!}} {{{Level}}}
{{!}} {{{Item}}}
{{!}} {{{Item}}}
{{!}} {{{SellValue}}}
{{!}} {{{Category}}}
{{!}} {{{Category}}}
{{!}} {{{Cost}}}
{{!}} {{{Profit}}}
{{!}} {{{Experience}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Ingredients}}}
}}
|
<!-- Display row unconditionally if CategoryFilter is empty -->
{{!}}-
{{!}} {{{Level}}}
{{!}} {{{Item}}}
{{!}} {{{SellValue}}}
{{!}} {{{SellValue}}}
{{!}} {{{Category}}}
{{!}} {{{Cost}}}
{{!}} {{{Cost}}}
{{!}} {{{Profit}}}
{{!}} {{{Profit}}}
Line 27: Line 9:
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Ingredients}}}
{{!}} {{{Ingredients}}}
}}
</onlyinclude>