Difference between revisions of "Template:Recipe fetch"
From Captain of Industry Wiki
Thadius856 (talk | contribs) (suppress output when no results fetched) |
Thadius856 (talk | contribs) (fetch debugname and unreleased values from table) |
||
Line 3: | Line 3: | ||
{{#cargo_query: tables=recipes | {{#cargo_query: tables=recipes | ||
| fields = _pageName = Building, | | fields = _pageName = Building, DebugName, | ||
Input1Name, Input1Qty, Input1Unit, | Input1Name, Input1Qty, Input1Unit, | ||
Input2Name, Input2Qty, Input2Unit, | Input2Name, Input2Qty, Input2Unit, | ||
Line 16: | Line 16: | ||
Output4Name, Output4Qty, Output4Unit, | Output4Name, Output4Qty, Output4Unit, | ||
Output5Name, Output5Qty, Output5Unit, | Output5Name, Output5Qty, Output5Unit, | ||
Output6Name, Output6Qty, Output6Unit | Output6Name, Output6Qty, Output6Unit, | ||
Unreleased | |||
| where = | | where = | ||
{{#if: {{{isbldg|}}} | _pageName = "{{PAGENAME}}" | | {{#if: {{{isbldg|}}} | _pageName = "{{PAGENAME}}" | |