Difference between revisions of "Template:Ingredient List"
Jump to navigation
Jump to search
... further results
Line 1: | Line 1: | ||
− | + | <includeonly> | |
− | |||
− | |||
<div><li style="display: inline-table;"> | <div><li style="display: inline-table;"> | ||
{{#vardefine:name | {{{ 1 | {{PAGENAME}}}}} }}{| {{STDT|sortable c_03 text-center}} | {{#vardefine:name | {{{ 1 | {{PAGENAME}}}}} }}{| {{STDT|sortable c_03 text-center}} | ||
Line 54: | Line 52: | ||
|- | |- | ||
|} | |} | ||
− | </li><div> </includeonly> | + | </li><div></includeonly> |
+ | <noinclude>{{Documentation}}</noinclude><!-- Add categories and interwikis to the /doc subpage, not here! --> |
Revision as of 22:43, 10 January 2021
Description
This template automatically creates a table of all items that use given material in their creation recipes, as well as how much of the material is required.
This template is dependent on Template: Ingredient List Row.
Parameters
The first parameter (if present) will specify which material to generate the template for.
If absent, {{PAGENAME}}
will be used.
noCollapse=1
will suppress the collapsible nature of table.
Example usage
{{Ingredient List}}
on the Steel page would produce:
Name | Amount | |
---|---|---|
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] |
{{Ingredient List| Neutroamine}}
on any page would produce:
Name | Amount | |
---|---|---|
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] |
{{Ingredient List| Chemfuel|noCollapse=1}}
on any page would produce:
Name | Amount | |
---|---|---|
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] | |
[[{{{?Product}}}]] (Error: Page does not exist) [[{{{?Product}}}|{{{?Product}}}]] | [[{{{?Type}}}]] - [[{{{?Type2}}}]] |
The above documentation is transcluded from Template:Ingredient List/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |