Template:Chef/RecipeRow: Difference between revisions

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

edits