Template:Chef/RecipeRow: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
<!-- Template:Chef/RecipeRow -->
<onlyinclude>
{{#if: {{{CategoryFilter|}}} |
{{#ifeq: {{{Category}}} | {{{CategoryFilter}}} |
<!-- Display row if Category matches CategoryFilter -->
{{!}}-
{{!}} {{{Level}}}
{{!}} {{{Item}}}
{{!}} {{{SellValue}}}
{{!}} {{{Category}}}
{{!}} {{{Cost}}}
{{!}} {{{Profit}}}
{{!}} {{{Experience}}}
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Ingredients}}}
}}
|
<!-- Display row unconditionally if CategoryFilter is empty -->
{{!}}-
{{!}} {{{Level}}}
{{!}} {{{Item}}}
{{!}} {{{SellValue}}}
{{!}} {{{Category}}}
{{!}} {{{Cost}}}
{{!}} {{{Profit}}}
Line 27 ⟶ 9:
{{!}} {{{ExperienceFirstTime}}}
{{!}} {{{Ingredients}}}
}}
</onlyinclude>
207

edits