Template:Recipe/view: Difference between revisions
From Against the Storm Official Wiki
(Creating to externalize the view from the module) |
m (Re-adding category) |
||
(5 intermediate revisions by the same user not shown) | |||
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}}} | ||
! Building | {{#ifeq: {{{numrecipes|0}}} | 0 | ||
|<!--then no recipes-->!class=unsortable{{!}} No recipes. | |||
|<!--else recipes to show-->! Building | |||
! Grade | ! Grade | ||
! Ingredient {{#ifexpr: {{{ | ! Ingredient {{#ifexpr: {{{maxingredients|0}}} > 1 | #1 !! Ingredient #2 {{#ifexpr: {{{maxingredients|0}}} > 2 | !! Ingredient #3 |}} |}} | ||
! Product | ! Product | ||
}} | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Template:Reserved_template_warning}} | |||
[[Category:Reserved templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 17:06, 8 November 2024
Templates in the Reserved templates subcategory are NOT intended to be used directly by article authors.
These templates are reserved for special pages, meta pages, and automated by Lua modules.
Please reach out to the wiki community for alternatives before you use these templates on your pages.