Difference between revisions of "Template:Recipe fetch"

From Captain of Industry Wiki
Jump to: navigation, search
(add `isbldg` param to allow output on building pages)
(add intro cast for when `isbldg` is yes)
Line 27: Line 27:
           OR Output4Name = "{{#var:ingred}}" OR Output5Name = "{{#var:ingred}}" OR Output6Name = "{{#var:ingred}}" }} }} }} }}
           OR Output4Name = "{{#var:ingred}}" OR Output5Name = "{{#var:ingred}}" OR Output6Name = "{{#var:ingred}}" }} }} }} }}


| intro = {{#ifeq: {{lc:{{{dir|}}}}} | in | ==Consumption== | {{#ifeq: {{lc:{{{dir|}}}}} | out | ==Production==}} }}
| intro = {{#ifeq: {{{isbldg|}}} | ==Recipes== |
            {{#ifeq: {{lc:{{{dir|}}}}} | in | ==Consumption== |
              {{#ifeq: {{lc:{{{dir|}}}}} | out | ==Production== }}
            }}
          }}
| format = template
| format = template
| template = Recipe draw
| template = Recipe draw

Revision as of 09:37, 29 January 2022