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

From Captain of Industry Wiki
Jump to: navigation, search
m
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Template:Infobox material/styles.css" /><!--
<includeonly><templatestyles src="Template:Infobox material/styles.css" /><!--
-->{{#if:{{NAMESPACE}}||[[Category:Items]]}}<!--
--><div class="infobox-wrapper"><!--
--><div class="infobox-wrapper"><!--
--><div class="outer-box"><!--
--><div class="outer-box"><!--
 
  ** Title (Name of item)
   --><div class="inner-header"><!--
   --><div class="inner-header"><!--
     --><div class="title"><!--
     --><div class="title"><!--
       -->{{#if: {{{Name|}}} | {{{Name}}} | Unknown Material }}<!--
       -->{{#if: {{{Name|}}}<!--
        -->| {{{Name}}}<!--
          ** This variable is used in footer template **
          -->{{#vardefine:game_object_type|material}}<!--
        -->| Unknown Material }}<!--
     --></div><!--
     --></div><!--
   --></div><!--
   --></div><!--
 
  ** Image and Description **
   --><div class="inner-main"><!--
   --><div class="inner-main"><!--
     -->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder material}}.png}}]]<br/><!--
     -->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder material}}.png}}]]<br><!--
     -->{{#if: {{{Description|}}} | <!--
     -->{{#if: {{{Description|}}} | <!--
       --><div class="description">{{{Description}}}</div><!--
       --><div class="description">{{{Description}}}</div><!--
     -->}}<!--
     -->}}<!--
   --></div><!--
   --></div><!--
 
   --><div class="inner-table"><!--
   --><div class="inner-table"><!--
     --><div class="inner-inner-table"><!--   
     --><div class="inner-inner-table"><!--   
       --><table class="table"><!--
       --><table class="table"><!--
       
        ** Type **
         -->{{#if:{{{Type1|}}}|<!--
         -->{{#if:{{{Type1|}}}|<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
             --><td class="table-td-left">Type</td><!--
             --><td class="table-td-left">Type</td><!--
             --><td class="table-td-right">{{{Type1}}}{{#if:{{NAMESPACE}}||[[Category:{{{Type1}}}{{#switch:{{lc:{{{Type1}}}}}|food|pollution=|s}}]]}}<!--
             --><td class="table-td-right"><!--
            -->{{#if: {{{Type2|}}} | <br/>{{{Type2|}}}{{#if:{{NAMESPACE}}||[[Category:{{{Type2}}}{{#switch:{{lc:{{{Type2}}}}}|food|pollution=|s}}]]}}}}</td><!--
              -->{{{Type1}}}{{#if:{{NAMESPACE}}||[[Category:{{{Type1}}}{{#switch:{{lc:{{{Type1}}}}}|food|pollution=|s}}]]}}<!--
           --></tr>}}<!--
              -->{{#if: {{{Type2|}}} | <br>{{{Type2|}}}{{#if:{{NAMESPACE}}||[[Category:{{{Type2}}}{{#switch:{{lc:{{{Type2}}}}}|food|pollution=|s}}]]}}}}<!--
         -->{{#if:{{{State|}}}|<!--
            --></td><!--
           --></tr><!--
        -->}}<!--
       
        ** State **
         -->{{#if: {{{State|}}} |<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
             --><td class="table-td-left">State</td><!--
             --><td class="table-td-left">State</td><!--
             --><td class="table-td-right">{{{State}}}{{#if:{{NAMESPACE}}||[[Category:{{{State}}} products]]}}</td><!--
             --><td class="table-td-right">{{{State}}}{{#if:{{NAMESPACE}}||[[Category:{{{State}}} products]]}}</td><!--
           --></tr>|[[Category:Missing state]]}}<!--
           --></tr><!--
         -->{{#if:{{{CreatedIn|}}}|<!--
          -->|[[Category:Missing state]]<!--
        -->}}<!--
 
        ** Radiation Level**
         -->{{#ifeq: {{{Radiation|0}}} | 0 ||<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
             --><td class="table-td-left">Created in</td><!--
             --><td class="table-td-left">Radiation Level</td><!--
             --><td class="table-td-right">{{{CreatedIn}}}</td><!--
             --><td class="table-td-right">{{{Radiation}}}</td><!--
           --></tr>}}<!--
           --></tr><!--
         -->{{#if:{{{UsedIn|}}}|<!--
         -->}}<!--
          --><tr class="table-tr"><!--
 
            --><td class="table-td-left">Used in</td><!--
        ** Transported by **
            --><td class="table-td-right">{{{UsedIn}}}</td><!--
          --></tr>}}<!--
         -->{{#if:{{{TransportedBy|}}}{{{State|}}}|<!--
         -->{{#if:{{{TransportedBy|}}}{{{State|}}}|<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
             --><td class="table-td-left">Transported by</td><!--
             --><td class="table-td-left">Transported by</td><!--
             --><td class="table-td-right"><!--
             --><td class="table-td-right"><!--
               -->{{#if: {{{TransportedBy|}}} | {{{TransportedBy}}}[[Category:Cleanup1]] | <!--
               -->{{#if: {{{TransportedBy|}}} |<!--
                -->{{{TransportedBy}}}{{#if: {{NAMESPACE}} || [[Category:Cleanup1]] }} |<!--
                 -->{{#switch: {{lc:{{{State|}}}}} |<!--
                 -->{{#switch: {{lc:{{{State|}}}}} |<!--
                   -->| loose    = [[U-shape Conveyor]] &lbrack;[[U-shape Conveyor II|II]] &bull; [[U-shape Conveyor III|III]]&rbrack;<!--
                   -->| loose    = {{variants|U-shape Conveyor}}<!--
                     --><br/>[[Pickup]] &bull; [[Truck]] &bull; [[Haul Truck (Dump)]]<!--
                     -->{{#ifeq:{{{TrackTransport|yes}}} | no || <br>[[Pickup]]&bull;[[Truck]]<br>[[Haul Truck (Dump)]] }}<!--
                   -->| fluid    = [[Pipe]] &lbrack;[[Pipe II|II]] &bull; [[Pipe III|III]]&rbrack;<!--
                   -->| fluid    = {{variants|Pipe}}<!--
                     --><br/>[[Pickup]] &bull; [[Truck]] &bull; [[Haul Truck (Tank)]]<!--
                     -->{{#ifeq:{{{TrackTransport|yes}}} | no || <br>[[Pickup]]&bull;[[Truck]]<br>[[Haul Truck (Tank)]] }}<!--
                   -->| unit    = [[Flat Conveyor]] &lbrack;[[Flat Conveyor II|II]] &bull; [[Flat Conveyor III|III]]&rbrack;<!--
                   -->| unit    = {{variants|Flat Conveyor}}<!--
                     --><br/>[[Pickup]] &bull; [[Truck]]<!--
                     -->{{#ifeq:{{{TrackTransport|yes}}} | no || <br>[[Pickup]]&bull;[[Truck]] }}<!--
                   -->| molten  = [[Molten Channel]]<!--
                   -->| molten  = [[Molten Channel]]<!--
                   -->| virtual  = [[Virtual product|Magic]]<!--
                   -->| virtual  = [[Virtual product|Magic]]<!--
                   -->| #default = <span style="color: red;">Unknown <nowiki>{{{State}}}</nowiki>[[Category:Material redtext]]</span><!--
                   -->| #default = <span style="color: red;">Unknown <nowiki>{{{State}}}</nowiki>[[Category:Material redtext]]</span><!--
                 -->}}<!--
                 -->}}<!--
                 -->{{#if: {{{OtherTransport|}}} | <br/>{{{OtherTransport}}}}}<!--
                 -->{{#if: {{{OtherTransport|}}} | <br>{{{OtherTransport}}}}}<!--
               -->}}<!--
               -->}}<!--
             --></td><!--
             --></td><!--
           --></tr><!--         
           --></tr><!--         
         -->}}<!--
         -->}}<!--
         -->{{#ifeq:{{lc:{{{StoredIn|}}}}} | none | | {{#if:{{{StoredIn|}}}{{{State|}}}|<!--
          
          --><tr class="table-tr"><!--
        ** Stored in **
            --><td class="table-td-left">Stored in</td><!--
        --><tr class="table-tr"><!--
            --><td class="table-td-right"><!--
          --><td class="table-td-left">Stored in</td><!--
               -->{{#if: {{{StoredIn|}}} | {{{StoredIn}}}[[Category:Cleanup1]] | <!--
          --><td class="table-td-right"><!--
                -->{{#switch: {{lc:{{{State|}}}}} |<!--
            -->{{#ifeq:{{lc:{{{StoredIn|}}}}} | none |<!--
                  -->| loose    = [[Loose Storage]] &lbrack;[[Loose Storage II|II]] &bull; [[Loose Storage III|III]] &bull; [[Loose Storage IV|IV]]&rbrack;<!--
              -->None {{#if: {{NAMESPACE}} || [[Category:Unstorable items]] }} |<!--
                    --><br/>[[Shipyard]]<!--
               -->{{#if:{{{StoredIn|}}}{{{State|}}}|<!--
                  -->| fluid    = [[Fluid Storage]] &lbrack;[[Fluid Storage II|II]] &bull; [[Fluid Storage III|III]] &bull; [[Fluid Storage IV|IV]]&rbrack;<!--
                -->{{#if: {{{StoredIn|}}} |<!--
                    --><br/>[[Shipyard]]<!--
                  -->{{{StoredIn}}}{{#if: {{NAMESPACE}} || [[Category:Cleanup1]] }} |<!--
                  -->| unit    = [[Unit Storage]] &lbrack;[[Unit Storage II|II]] &bull; [[Unit Storage III|III]] &bull; [[Unit Storage IV|IV]]&rbrack;<!--
                  -->{{#switch: {{lc:{{{State|}}}}} |<!--
                     --><br/>[[Shipyard]]<!--
                    -->| loose    = {{variants|Loose Storage}}<!--
                  -->| molten  = None<!--
                      -->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br>[[Shipyard]]}}<!--
                  -->| virtual  = [[Virtual product|Ethereal plane]]<!--
                      -->{{#ifeq: {{{StoredInCargoModules|no}}} | yes |<br>{{variants|Loose Module}}}}<!--
                  -->| #default = <span style="color: red;">Unknown <nowiki>{{{State}}}</nowiki>[[Category:Material redtext]]</span><!--
                    -->| fluid    = {{variants|Fluid Storage}}<!--
                -->}}<!--
                      -->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br>[[Shipyard]]}}<!--
                 -->{{#if: {{{OtherStorage|}}} | <br/>{{{OtherStorage}}}}}<!--
                      -->{{#ifeq: {{{StoredInCargoModules|no}}} | yes |<br>{{variants|Fluid Module}}}}<!--
               -->}}<!--
                    -->| unit    = {{variants|Unit Storage}}<!--
             --></td><!--
                      -->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br>[[Shipyard]]}}<!--
          --></tr><!--
                     -->{{#ifeq: {{{StoredInCargoModules|no}}} | yes |<br>{{variants|Unit Module}}}}<!--
         -->}}}}<!--        
                    -->| molten  = None<!--
                    -->| virtual  = [[Virtual product|Ethereal plane]]<!--
                    -->| #default = <span style="color: red;">Unknown <nowiki>{{{State}}}</nowiki>[[Category:Material redtext]]</span><!--
                  -->}}<!--
                 -->{{#if: {{{OtherStorage|}}} | <br>{{{OtherStorage}}}}}<!--
               --></td><!--
            --></tr><!--
          -->}}<!--
        -->}}}}<!--
       
        ** Created in **
        -->{{#vardefine: CreatedInAuto | <!--
          -->{{#cargo_query: tables=recipes
              | fields    = Building
              | where    = Building != "" AND Building IS NOT NULL
                              AND (    Output1Name = "{{{Name}}}" OR Output2Name = "{{{Name}}}"
                                    OR Output3Name = "{{{Name}}}" OR Output4Name = "{{{Name}}}"
                                    OR Output5Name = "{{{Name}}}" OR Output6Name = "{{{Name}}}")
              | group by  = Building
              | format    = template
              | template  = {{{template|Format link}}}
              | delimiter = <br>
              | default  = {{#if:{{{CreatedIn|}}} || None }}
            }}<!--
        -->}}<!--
        --><tr class="table-tr"><!--
          --><td class="table-td-left">Created in</td><!--
          --><td class="table-td-right"><!--
            -->{{#var: CreatedInAuto}}<!--
            -->{{#if: {{#var: CreatedInAuto}} | {{#if: {{{CreatedIn|}}} | <br> }} }}<!--
             -->{{{CreatedIn|}}}<!--
          --></td><!--
        --></tr><!--
 
         ** Used in **
        -->{{#vardefine: UsedInAuto | <!--
          -->{{#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  = {{#if:{{{UsedIn|}}} || None }}
            }}<!--
        -->}}<!--
        --><tr class="table-tr"><!--
          --><td class="table-td-left">Used in</td><!--
          --><td class="table-td-right"><!--
            -->{{#var: UsedInAuto}}<!--
            -->{{#if: {{#var: UsedInAuto}} | {{#if: {{{UsedIn|}}} | <br> }} }}<!--
            -->{{{UsedIn|}}}<!--
          --></td><!--
        --></tr><!--
 
        ** Starting amount**
         -->{{#if:{{{StartingQty|}}}|<!--
         -->{{#if:{{{StartingQty|}}}|<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
Line 84: Line 163:
             --><td class="table-td-right">{{{StartingQty}}}</td><!--
             --><td class="table-td-right">{{{StartingQty}}}</td><!--
           --></tr>}}<!--
           --></tr>}}<!--
       
        ** Variants **
         -->{{#if:{{{Variants|}}}|<!--
         -->{{#if:{{{Variants|}}}|<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
Line 95: Line 176:
--></div><!--
--></div><!--
--></div><!--
--></div><!--
--></includeonly>
--></includeonly><noinclude>
{{Infobox material/sandbox
  | Name          = Construction Parts
  | Type1          = Crafted material
  | State          = Unit
  | StartingQty    = Sailor: 987<br>Captain: 654<br>Admiral: 321
  | Variants      = [[Construction Parts II]]<br>[[Construction Parts III]]<br>[[Construction Parts IV]]
}}
 
The template accepts the following parameters:
;Basic parameters
:*<code>Name</code>: Name of items.
:*<code>Type1</code>, <code>Type2</code>: Types of items. It is used to categorize item in this wiki.
:*<code>State</code>: Loose, Fluid, Unit, Molten, or Virtual.
:*<code>Variants</code>: Variant of the items.
;Parameters for transportation
:Buildings and vehicles for transporting are automatically listed depending on State. But, it should be modified with the following parameters in some cases.
:*<code>TrackTransport</code>: Set no if tracks cannot transport the item (Default: yes).
:*<code>TransportedBy</code>(rare):  Only if transport override is needed.
:*<code>OtherTransport</code>(rare): To add an extra transport to auto-generated list.
;Parameters for storage
:Buildings for storing are automatically listed depending on State. But, it should be modified with the following parameters in some cases.
:*<code>StoredInShipyard</code>: Set no if the shipyard cannot store the items (Default: yes).
:*<code>StoredInCargoModules</code>: Set yes if cargo modules can store the items (Default: no).
:*<code>StoredIn</code>: Only if storage override is needed. Set to "None" to suppress the field.
:*<code>OtherStorage</code>(rare): To add an extra storage to auto-generated list.
;Parameters for buildings that creates/uses this item
:Buildings that create/use the item are automatically listed from the table made by [[Template:Recipe define]]. But, it should be added with the following parameters in some cases.
:*<code>CreatedIn</code>: To add an extra buildings to auto-generated list.
:*<code>UsedIn</code>: To add an extra buildings to auto-generated list.
;Miscellaneous parameters
:*<code>Radiation</code>: Radiation Level of the items.
:*<code>StartingQty</code>: The number of the items stored in the [[Shipyard]] on game start.
:*<code>Image</code> (rare): Only if image override is needed.
:*<code>Description</code> (rare): To add an in-game description, though not currently implemented in-game.
 
 
== Examples ==
;Example usage for standard item
{{markup|<nowiki>
  {{Infobox material/sandbox
    | Name          = Electronics III
    | Type1          = Crafted material
    | State          = Unit
    | StartingQty    = Sailor: 987<br>Captain: 654<br>Admiral: 321
    | Variants      = [[Electronics]]<br>[[Electronics II]]
  }} </nowiki> |
  {{Infobox material/sandbox
    | Name          = Electronics III
    | Type1          = Crafted material
    | State          = Unit
    | StartingQty    = Sailor: 987<br>Captain: 654<br>Admiral: 321
    | Variants      = [[Electronics]]<br>[[Electronics II]]
  }}
}}
;Example usage for items that tracks cannot transport or storage cannot store
{{markup|<nowiki>
  {{Infobox material/sandbox
    | Name          = Chilled Water
    | State          = Fluid
    | TrackTransport = no
    | StoredIn      = none
  }} </nowiki> |
  {{Infobox material/sandbox
    | Name          = Chilled Water
    | State          = Fluid
    | TrackTransport = no
    | StoredIn      = none
  }}
}}
;Example usage for items that the shipyard cannot store
{{markup|<nowiki>
  {{Infobox material/sandbox
    | Name            = Seawater
    | Type1            = Natural resource
    | State            = Fluid
    | StoredInShipyard = no
  }} </nowiki> |
  {{Infobox material/sandbox
    | Name            = Seawater
    | Type1            = Natural resource
    | State            = Fluid
    | StoredInShipyard = no
  }}
}}
;Example usage for items having Radiation Level
{{markup|<nowiki>
  {{Infobox material/sandbox
    | Name            = Spent Fuel
    | Type1            = Radioactive waste
    | Radiation        = 2
    | State            = Unit
  }} </nowiki> |
  {{Infobox material/sandbox
    | Name            = Spent Fuel
    | Type1            = Radioactive waste
    | Radiation        = 2
    | State            = Unit
  }}
}}
;Example usage for items stored in special storage
{{markup|<nowiki>
  {{Infobox material/sandbox
    | Name            = Spent Fuel
    | Type1            = Radioactive waste
    | State            = Unit
    | StoredIn        = [[Radioactive Waste Storage]]
  }} </nowiki> |
  {{Infobox material/sandbox
    | Name            = Spent Fuel
    | Type1            = Radioactive waste
    | State            = Unit
    | StoredIn        = [[Radioactive Waste Storage]]
  }}
}}
;Example usage for items stored in cargo modules
{{markup|<nowiki>
  {{Infobox material/sandbox
    | Name                = Uranium Ore
    | Type1                = Natural resources
    | State                = Loose
    | StoredInCargoModules = yes
  }} </nowiki> |
  {{Infobox material/sandbox
    | Name                = Uranium Ore
    | Type1                = Natural resources
    | State                = Loose
    | StoredInCargoModules = yes
  }}
}}
;Example usage for items created/used in non-production-machines
{{markup|<nowiki>
  {{Infobox material/sandbox
    | Name            = Coal
    | Type1            = Natural resources
    | State            = Loose
    | CreatedIn        = [[Coal Mine]]
    | UsedIn          = Foo
  }} </nowiki> |
  {{Infobox material/sandbox
    | Name            = Coal
    | Type1            = Natural resources
    | State            = Loose
    | CreatedIn        = [[Coal Mine]]
    | UsedIn          = Foo
  }}
}}

Latest revision as of 08:10, 20 May 2023

The template accepts the following parameters:

Basic parameters
  • Name: Name of items.
  • Type1, Type2: Types of items. It is used to categorize item in this wiki.
  • State: Loose, Fluid, Unit, Molten, or Virtual.
  • Variants: Variant of the items.
Parameters for transportation
Buildings and vehicles for transporting are automatically listed depending on State. But, it should be modified with the following parameters in some cases.
  • TrackTransport: Set no if tracks cannot transport the item (Default: yes).
  • TransportedBy(rare): Only if transport override is needed.
  • OtherTransport(rare): To add an extra transport to auto-generated list.
Parameters for storage
Buildings for storing are automatically listed depending on State. But, it should be modified with the following parameters in some cases.
  • StoredInShipyard: Set no if the shipyard cannot store the items (Default: yes).
  • StoredInCargoModules: Set yes if cargo modules can store the items (Default: no).
  • StoredIn: Only if storage override is needed. Set to "None" to suppress the field.
  • OtherStorage(rare): To add an extra storage to auto-generated list.
Parameters for buildings that creates/uses this item
Buildings that create/use the item are automatically listed from the table made by Template:Recipe define. But, it should be added with the following parameters in some cases.
  • CreatedIn: To add an extra buildings to auto-generated list.
  • UsedIn: To add an extra buildings to auto-generated list.
Miscellaneous parameters
  • Radiation: Radiation Level of the items.
  • StartingQty: The number of the items stored in the Shipyard on game start.
  • Image (rare): Only if image override is needed.
  • Description (rare): To add an in-game description, though not currently implemented in-game.


Examples

Example usage for standard item
Markup Renders as
  {{Infobox material/sandbox
    | Name           = Electronics III
    | Type1          = Crafted material
    | State          = Unit
    | StartingQty    = Sailor: 987<br>Captain: 654<br>Admiral: 321
    | Variants       = [[Electronics]]<br>[[Electronics II]]
  }} 
Electronics III
Electronics III.png
TypeCrafted material
StateUnit
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inUnit Storage [IIIIIIV]
Shipyard
Created inAssembly (Robotic)
Assembly (Robotic) II
Used inAssembly (Robotic)
Assembly (Robotic) II
Maintenance III Depot
Starting amountSailor: 987
Captain: 654
Admiral: 321
VariantsElectronics
Electronics II
Example usage for items that tracks cannot transport or storage cannot store
Markup Renders as
  {{Infobox material/sandbox
    | Name           = Chilled Water
    | State          = Fluid
    | TrackTransport = no
    | StoredIn       = none
  }} 
Chilled Water
Chilled Water.png
StateFluid
Transported byPipe [IIIII]
Stored inNone
Created inWater Chiller
Used inNone
Example usage for items that the shipyard cannot store
Markup Renders as
  {{Infobox material/sandbox
    | Name             = Seawater
    | Type1            = Natural resource
    | State            = Fluid
    | StoredInShipyard = no
  }} 
Example usage for items having Radiation Level
Markup Renders as
  {{Infobox material/sandbox
    | Name             = Spent Fuel
    | Type1            = Radioactive waste
    | Radiation        = 2
    | State            = Unit
  }} 
Spent Fuel
Spent Fuel.png
TypeRadioactive waste
StateUnit
Radiation Level2
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inUnit Storage [IIIIIIV]
Shipyard
Created inNuclear Reactor
Nuclear Reactor II
Used inNuclear Reprocessing Plant
Example usage for items stored in special storage
Markup Renders as
  {{Infobox material/sandbox
    | Name             = Spent Fuel
    | Type1            = Radioactive waste
    | State            = Unit
    | StoredIn         = [[Radioactive Waste Storage]]
  }} 
Spent Fuel
Spent Fuel.png
TypeRadioactive waste
StateUnit
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inRadioactive Waste Storage
Created inNuclear Reactor
Nuclear Reactor II
Used inNuclear Reprocessing Plant
Example usage for items stored in cargo modules
Markup Renders as
  {{Infobox material/sandbox
    | Name                 = Uranium Ore
    | Type1                = Natural resources
    | State                = Loose
    | StoredInCargoModules = yes
  }} 
Uranium Ore
Uranium Ore.png
TypeNatural resources
StateLoose
Transported byU-shape Conveyor [IIIII]
PickupTruck
Haul Truck (Dump)
Stored inLoose Storage [IIIIIIV]
Shipyard
Loose Module (S) [ML]
Created inNone
Used inCrusher
Crusher (Large)
Example usage for items created/used in non-production-machines
Markup Renders as
  {{Infobox material/sandbox
    | Name             = Coal
    | Type1            = Natural resources
    | State            = Loose
    | CreatedIn        = [[Coal Mine]]
    | UsedIn           = Foo
  }}