Template:Recipe/view: Difference between revisions
From Against the Storm Official Wiki
Updating to hide the headers if there are no recipes in the table |
m starting the table collapsed by default if zero recipes |
||
| Line 1: | Line 1: | ||
<includeonly><div class="ats-container-recipe"> | <includeonly><div class="ats-container-recipe"> | ||
{|class="sortable mw-collapsible ats-table-recipe" | {|class="sortable mw-collapsible {{#ifeq: {{{numrecipes|0}}} | 0 | mw-collapsed |}} ats-table-recipe" | ||
|+ {{{caption|Recipe}}} | |+ {{{caption|Recipe}}} | ||
{{#ifeq: {{{numrecipes|0}}} | 0 | {{#ifeq: {{{numrecipes|0}}} | 0 | ||
Revision as of 02:59, 30 October 2024
| No recipes. |
|---|
| Building | Grade | Ingredient | Product |
|---|---|---|---|
| 2 | |||
| 2 | |||
| 2 | |||
| 2 |
| Building | Grade | Ingredient #1 | Ingredient #2 | Product |
|---|---|---|---|---|
| 2 | ||||
| 2 | ||||
| 2 | ||||
| 2 | ||||
| 2 |
| Building | Grade | Ingredient #1 | Ingredient #2 | Ingredient #3 | Product |
|---|---|---|---|---|---|
| 2 | |||||
| 2 | |||||
| 2 | |||||
| 2 | |||||
| 2 | |||||
| 2 |


