Template:Infobox material/sandbox: Difference between revisions
From Captain of Industry Wiki
Automate "Created in" and "Used in" |
No edit summary |
||
| Line 42: | Line 42: | ||
--><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>|[[Category:Missing state]]}}<!-- | ||
** Transported by ** | |||
-->{{#if:{{{TransportedBy|}}}{{{State|}}}|<!-- | |||
--><tr class="table-tr"><!-- | |||
--><td class="table-td-left">Transported by</td><!-- | |||
--><td class="table-td-right"><!-- | |||
-->{{#if: {{{TransportedBy|}}} | {{{TransportedBy}}}[[Category:Cleanup1]] | <!-- | |||
-->{{#switch: {{lc:{{{State|}}}}} |<!-- | |||
-->| loose = {{variants|U-shape Conveyor}}<!-- | |||
-->{{#ifeq:{{{TrackTransport|yes}}} | no || <br/>[[Pickup]] • [[Truck]] • [[Haul Truck (Dump)]] }}<!-- | |||
-->| fluid = {{variants|Pipe}}<!-- | |||
-->{{#ifeq:{{{TrackTransport|yes}}} | no || <br/>[[Pickup]] • [[Truck]] • [[Haul Truck (Tank)]] }}<!-- | |||
-->| unit = {{variants|Flat Conveyor}}<!-- | |||
-->{{#ifeq:{{{TrackTransport|yes}}} | no || <br/>[[Pickup]] • [[Truck]] }}<!-- | |||
-->| molten = [[Molten Channel]]<!-- | |||
-->| virtual = [[Virtual product|Magic]]<!-- | |||
-->| #default = <span style="color: red;">Unknown <nowiki>{{{State}}}</nowiki>[[Category:Material redtext]]</span><!-- | |||
-->}}<!-- | |||
-->{{#if: {{{OtherTransport|}}} | <br/>{{{OtherTransport}}}}}<!-- | |||
-->}}<!-- | |||
--></td><!-- | |||
--></tr><!-- | |||
-->}}<!-- | |||
** Stored in ** | |||
--><tr class="table-tr"><!-- | |||
--><td class="table-td-left">Stored in</td><!-- | |||
--><td class="table-td-right"><!-- | |||
-->{{#ifeq:{{lc:{{{StoredIn|}}}}} | none | None [[Category:Unstorable items]] | {{#if:{{{StoredIn|}}}{{{State|}}}|<!-- | |||
-->{{#if: {{{StoredIn|}}} | {{{StoredIn}}}[[Category:Cleanup1]] | <!-- | |||
-->{{#switch: {{lc:{{{State|}}}}} |<!-- | |||
-->| loose = {{variants|Loose Storage}}<!-- | |||
-->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br/>[[Shipyard]]}}<!-- | |||
-->{{#ifeq: {{{StoredInCargoModule|no}}} | yes |<br/>{{variants|Loose Module}}}}<!-- | |||
-->| fluid = {{variants|Fluid Storage}}<!-- | |||
-->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br/>[[Shipyard]]}}<!-- | |||
-->{{#ifeq: {{{StoredInCargoModule|no}}} | yes |<br/>{{variants|Fluid Module}}}}<!-- | |||
-->| unit = {{variants|Unit Storage}}<!-- | |||
-->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br/>[[Shipyard]]}}<!-- | |||
-->{{#ifeq: {{{StoredInCargoModule|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 ** | ** Created in ** | ||
| Line 91: | Line 140: | ||
-->{{{UsedIn|}}}<!-- | -->{{{UsedIn|}}}<!-- | ||
--></td><!-- | --></td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
** Starting amount** | ** Starting amount** | ||
-->{{#if:{{{StartingQty|}}}|<!-- | -->{{#if:{{{StartingQty|}}}|<!-- | ||
| Line 162: | Line 162: | ||
--></div><!-- | --></div><!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{Infobox material/sandbox | {{Infobox material/sandbox | ||
| Name | <!-- Basic arguments --> | ||
| Description | | Name = Construction Parts | ||
| Type1 | | Image = <!-- only if image override is needed --> | ||
| State = | | Description = Foo <!-- not currently implemented in-game --> | ||
| Variants | | Type1 = Crafted material | ||
| Type2 = | |||
| State = Unit <!-- Loose, Fluid, Unit, Molten, or Virtual --> | |||
| StartingQty = Sailor: 987<br/>Captain: 654<br/>Admiral: 321 | |||
| Variants = [[Construction Parts II]]<br/>[[Construction Parts III]]<br/>[[Construction Parts IV]] | |||
| TrackTransport = yes <!-- Set no if tracks cannot transport the item (Default: yes). --> | |||
<!-- Arguments for storage --> | |||
| StoredInShipyard = yes <!-- Set no if the shipyard cannot store the item (Default: yes). --> | |||
| StoredInCargoModule = no <!-- Set yes if cargo modules can store the item (Default: no). --> | |||
| OtherStorage = <!-- to add an extra storage to auto-generated list --> | |||
| StoredIn = <!-- only if storage override is needed. Set to "None" to suppress the field --> | |||
<!-- Arguments for transporting --> | |||
| OtherTransport = <!-- to add an extra transport to auto-generated list --> | |||
| TransportedBy = <!-- only if transport override is needed. Set to "None" to suppress the field --> | |||
<!-- Arguments for buildings which create/use this item --> | |||
| CreatedIn = <!-- to add an extra buildings to auto-generated list --> | |||
| UsedIn = <!-- to add an extra buildings to auto-generated list --> | |||
}} | }} | ||
Example usage:<pre> | |||
{{Infobox material/sandbox | {{Infobox material/sandbox | ||
| Name | <!-- Basic arguments --> | ||
| | | Name = Construction Parts | ||
| | | Image = <!-- only if image override is needed --> | ||
| | | Description = Foo <!-- not currently implemented in-game --> | ||
| | | Type1 = Crafted material | ||
| | | Type2 = | ||
| State = Unit <!-- Loose, Fluid, Unit, Molten, or Virtual --> | |||
| StartingQty = Sailor: 987<br/>Captain: 654<br/>Admiral: 321 | |||
| Variants = [[Construction Parts II]]<br/>[[Construction Parts III]]<br/>[[Construction Parts IV]] | |||
| TrackTransport = yes <!-- Set no if tracks cannot transport the item (Default: yes). --> | |||
<!-- Arguments for storage --> | |||
| StoredInShipyard = yes <!-- Set no if the shipyard cannot store the item (Default: yes). --> | |||
| StoredInCargoModule = no | |||
| OtherStorage = <!-- to add an extra storage to auto-generated list --> | |||
| StoredIn = <!-- only if storage override is needed. Set to "None" to suppress the field --> | |||
<!-- Arguments for transporting --> | |||
| OtherTransport = <!-- to add an extra transport to auto-generated list --> | |||
| TransportedBy = <!-- only if transport override is needed. Set to "None" to suppress the field --> | |||
<!-- Arguments for buildings which create/use this item --> | |||
| CreatedIn = <!-- to add an extra buildings to auto-generated list --> | |||
| UsedIn = <!-- to add an extra buildings to auto-generated list --> | |||
}} | }} | ||
</pre> | |||
{{Infobox material/sandbox | {{Infobox material/sandbox | ||
| Name | <!-- Basic arguments --> | ||
| | | Name = Not Water | ||
| State | | Image = Water.png | ||
| State = Fluid | |||
| TrackTransport = yes | |||
| StoredIn = none | |||
<!-- Arguments for storage --> | |||
| StoredInShipyard = no | |||
| StoredInCargoModule = yes | |||
| OtherStorage = SSS | |||
<!-- Arguments for transporting --> | |||
| OtherTransport = TTT | |||
| CreatedIn = CCC | |||
| UsedIn = UUU | |||
}} | }} | ||
{{Infobox material/sandbox | {{Infobox material/sandbox | ||
| Name | <!-- Basic arguments --> | ||
| Name = Steam (High) | |||
| State | | State = Fluid | ||
| TrackTransport = no | |||
| TrackTransport = no | | StoredIn = none | ||
| StoredIn | |||
}} | }} | ||
{{Infobox material/sandbox | {{Infobox material/sandbox | ||
| Name | <!-- Basic arguments --> | ||
| | | Name = Steam (High) | ||
| | | State = Fluid | ||
| TransportedBy = TXX | |||
| StoredIn = none | |||
}} | }} | ||
{{Infobox material/sandbox | {{Infobox material/sandbox | ||
| Name | <!-- Basic arguments --> | ||
| State | | Name = Iron Ore | ||
| State = Loose | |||
| CreatedIn = Excavator | |||
}} | }} | ||
{{Infobox material/sandbox | |||
{{ | <!-- Basic arguments --> | ||
| Name = | |||
| State = Loose | |||
| | |||
| | |||
}} | }} | ||
Revision as of 09:06, 19 May 2023
Construction Parts
| Type | Crafted material |
| State | Unit |
| Transported by | Flat Conveyor [II•III] Pickup • Truck |
| Stored in | Unit Storage [II•III•IV] Shipyard |
| Created in | None |
| Used in | None |
| Starting amount | Sailor: 987 Captain: 654 Admiral: 321 |
| Variants | Construction Parts II Construction Parts III Construction Parts IV |
Example usage:
{{Infobox material/sandbox
<!-- Basic arguments -->
| Name = Construction Parts
| Image = <!-- only if image override is needed -->
| Description = Foo <!-- not currently implemented in-game -->
| Type1 = Crafted material
| Type2 =
| State = Unit <!-- Loose, Fluid, Unit, Molten, or Virtual -->
| StartingQty = Sailor: 987<br/>Captain: 654<br/>Admiral: 321
| Variants = [[Construction Parts II]]<br/>[[Construction Parts III]]<br/>[[Construction Parts IV]]
| TrackTransport = yes <!-- Set no if tracks cannot transport the item (Default: yes). -->
<!-- Arguments for storage -->
| StoredInShipyard = yes <!-- Set no if the shipyard cannot store the item (Default: yes). -->
| StoredInCargoModule = no
| OtherStorage = <!-- to add an extra storage to auto-generated list -->
| StoredIn = <!-- only if storage override is needed. Set to "None" to suppress the field -->
<!-- Arguments for transporting -->
| OtherTransport = <!-- to add an extra transport to auto-generated list -->
| TransportedBy = <!-- only if transport override is needed. Set to "None" to suppress the field -->
<!-- Arguments for buildings which create/use this item -->
| CreatedIn = <!-- to add an extra buildings to auto-generated list -->
| UsedIn = <!-- to add an extra buildings to auto-generated list -->
}}
Steam (High)
| State | Fluid |
| Transported by | Pipe [II•III•IV] |
| Stored in | None |
| Created in | Nuclear Reactor<br>Nuclear Reactor II<br>Super-Pressure Turbine<br>Thermal Storage |
| Used in | Sour Water Stripper<br>Thermal Storage |
Steam (High)
| State | Fluid |
| Transported by | TXX |
| Stored in | None |
| Created in | Nuclear Reactor<br>Nuclear Reactor II<br>Super-Pressure Turbine<br>Thermal Storage |
| Used in | Sour Water Stripper<br>Thermal Storage |
Iron Ore
| State | Loose |
| Transported by | U-shape Conveyor [II•III] Pickup • Truck • Haul Truck (Dump) |
| Stored in | Loose Storage [II•III•IV] Shipyard |
| Created in | Designations Excavator |
| Used in | Designations |
Unknown Material
| State | Loose |
| Transported by | U-shape Conveyor [II•III] Pickup • Truck • Haul Truck (Dump) |
| Stored in | Loose Storage [II•III•IV] Shipyard |
| Created in | None |
| Used in | None |


