Difference between revisions of "Template:Infobox material/sandbox"

From Captain of Industry Wiki
Jump to: navigation, search
Line 44: Line 44:
          
          
         ** Created/Used **
         ** Created/Used **
         -->{{#if:{{{CreatedIn|}}}|<!--
         --><tr class="table-tr"><!--
          --><tr class="table-tr"><!--
          --><td class="table-td-left">Created in</td><!--
            --><td class="table-td-left">Created in</td><!--
          --><td class="table-td-right"><!--
            --><td class="table-td-right">{{{CreatedIn}}}</td><!--
            -->{{#if:{{{CreatedIn|}}} | {{{CreatedIn}}} |<!--
          --></tr>}}<!--
              -->{{#cargo_query: tables=recipes
                  | fields = Building
                  | where = Building != "" AND Building IS NOT NULL
                        AND (    Input1Name = "{{Name}}" OR Input2Name = "{{Name}}" OR Input3Name = "{{Name}}"
                              OR Input4Name = "{{Name}}" OR Input5Name = "{{Name}}" OR Input6Name = "{{Name}}")
                  | group by = Building
                  | format = template
                  | template = {{{template|Format link}}}
                  | delimiter = </br>
                  | default = None
                }}<!--
            -->}}<!--
          --></td><!--
        --></tr><!--
         -->{{#if:{{{UsedIn|}}}|<!--
         -->{{#if:{{{UsedIn|}}}|<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
Line 162: Line 175:
}}
}}
aa
aa
{{#vardefine: ingred | Iron }}
{{#vardefine: ingred | Coal }}
{{recipe fetch|dir=in}}
{{#cargo_query: tables=recipes
  | fields = Building
  | where = Building != "" AND Building IS NOT NULL AND
        (  Input1Name = "{{#var:ingred}}" OR Input2Name = "{{#var:ingred}}" OR Input3Name = "{{#var:ingred}}"
        OR Input4Name = "{{#var:ingred}}" OR Input5Name = "{{#var:ingred}}" OR Input6Name = "{{#var:ingred}}")
  | group by = Building
  | format = template
  | template = {{{template|Format link}}}
  | delimiter = </br>
  | default = None
}}
bb
bb
</noinclude>
</noinclude>

Revision as of 07:55, 19 May 2023

Construction Parts
Construction Parts.png
AAAAAAAA
TypeCrafted material
StateUnit
Created inNone
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inUnit Storage [IIIIIIV]
Shipyard
VariantsConstruction Parts II
Construction Parts III
Construction Parts IV
Air Pollution
Air Pollution.png
TypePollution
StateVirtual
Created inNone
Transported byMagic
Stored inEthereal plane
Steam (High)
Steam (High).png
TypeCrafted material
StateFluid
Created inNone
Transported byPipe [IIIII]
VariantsSteam (Super)
Steam (Low)
Steam Depleted
Wood
Water.png
StateUnit
Created inNone
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inUnit Storage [IIIIIIV]
Shipyard
Unknown Material
StateUnit
Created inNone
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inUnit Storage [IIIIIIV]
Shipyard

aa

Arc Furnace
Arc Furnace II
Basic Distiller
Blast Furnace
Blast Furnace II
Boiler (Coal)
Brickworks
Chemical Plant
Chemical Plant II
Designations
Mixer
Mixer II
Rotary Kiln
Rubber Maker bb