Difference between revisions of "Template:Recipe fetch"

From Captain of Industry Wiki
Jump to: navigation, search
(suppress output when no results fetched)
(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}}" |

Revision as of 04:09, 2 February 2022