Template:Ingredient list: Difference between revisions
From Everafter Falls Wiki
No edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
|group by=Name | |group by=Name | ||
|format=table | |format=table | ||
|fields=CONCAT('[[File:',Name,'.png{{!}}60px{{!}}link=',Name,']]')=Image,_pageName=Name,CONCAT('{{((}}recipe{{!}}',Mat1,'{{!}}',Amt1,'{{!}}',Mat2,'{{!}}',Amt2,'{{!}}',Mat3,'{{!}}',Amt3,'{{!}}',Mat4,'{{!}}',Amt4 | |fields=CONCAT('[[File:',Name,'.png{{!}}60px{{!}}link=',Name,']]')=Image,_pageName=Name,CONCAT('{{((}}recipe{{!}}',Mat1,'{{!}}',Amt1,'{{!}}',Mat2,'{{!}}',Amt2,'{{!}}',Mat3,'{{!}}',Amt3,'{{!}}',Mat4,'{{!}}',Amt4,'{{))}}')=Recipe,CONCAT('{{((}}Machine check{{!}}',Machine,'{{))}}')=Machine,CONCAT('{{((}}formatnum:',SellPrice,'{{))}}{{coin}}')=Sell Price | ||
|order by=Name ASC | |order by=Name ASC | ||
}}</includeonly><noinclude>{{documentation}}[[Category:Cargo templates]]</noinclude> | }}</includeonly><noinclude>{{documentation}}[[Category:Cargo templates]]</noinclude> | ||
Revision as of 01:09, 21 July 2024
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Description
This template queries the Items table and returns a recipe table for one selected ingredient.
Syntax
{{Ingredient list}}
{{Ingredient list|Ingredient name}}
- Takes only one unnamed parameter. Please make sure the name matches in-game name.
- If an item with an existing page is not in the table, check if the ingredient names are spelled correctly in its infobox. The order of ingredients does not matter for this template.
- Can be used without any parameters; in that case defaults to using the name of the page it is called from.
Sample use
Refer to Raw Bread Base page for an example.