Difference between revisions of "Template:Infobox material/sandbox"
From Captain of Industry Wiki
m |
(Add 3 arguments: TrackTransport, StoredInShipyard, StoredInCargoModule) |
||
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/><!-- | ||
Line 13: | Line 22: | ||
-->}}<!-- | -->}}<!-- | ||
--></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"><!-- | ||
Line 22: | Line 35: | ||
-->{{#if: {{{Type2|}}} | <br/>{{{Type2|}}}{{#if:{{NAMESPACE}}||[[Category:{{{Type2}}}{{#switch:{{lc:{{{Type2}}}}}|food|pollution=|s}}]]}}}}</td><!-- | -->{{#if: {{{Type2|}}} | <br/>{{{Type2|}}}{{#if:{{NAMESPACE}}||[[Category:{{{Type2}}}{{#switch:{{lc:{{{Type2}}}}}|food|pollution=|s}}]]}}}}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
** State ** | |||
-->{{#if:{{{State|}}}|<!-- | -->{{#if:{{{State|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 27: | 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]]}}<!-- | ||
** Created/Used ** | |||
-->{{#if:{{{CreatedIn|}}}|<!-- | -->{{#if:{{{CreatedIn|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 37: | Line 54: | ||
--><td class="table-td-right">{{{UsedIn}}}</td><!-- | --><td class="table-td-right">{{{UsedIn}}}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
** Transported by ** | |||
-->{{#if:{{{TransportedBy|}}}{{{State|}}}|<!-- | -->{{#if:{{{TransportedBy|}}}{{{State|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 43: | Line 62: | ||
-->{{#if: {{{TransportedBy|}}} | {{{TransportedBy}}}[[Category:Cleanup1]] | <!-- | -->{{#if: {{{TransportedBy|}}} | {{{TransportedBy}}}[[Category:Cleanup1]] | <!-- | ||
-->{{#switch: {{lc:{{{State|}}}}} |<!-- | -->{{#switch: {{lc:{{{State|}}}}} |<!-- | ||
-->| loose = | -->| loose = {{variants|U-shape Conveyor}}<!-- | ||
--><br/>[[Pickup]] • [[Truck]] • [[Haul Truck (Dump)]]<!-- | -->{{#ifeq:{{{TrackTransport|yes}}} | no || <br/>[[Pickup]] • [[Truck]] • [[Haul Truck (Dump)]] }}<!-- | ||
-->| fluid = | -->| fluid = {{variants|Pipe}}<!-- | ||
--><br/>[[Pickup]] • [[Truck]] • [[Haul Truck (Tank)]]<!-- | -->{{#ifeq:{{{TrackTransport|yes}}} | no || <br/>[[Pickup]] • [[Truck]] • [[Haul Truck (Tank)]] }}<!-- | ||
-->| unit = | -->| unit = {{variants|Flat Conveyor}}<!-- | ||
--><br/>[[Pickup]] • [[Truck]]<!-- | -->{{#ifeq:{{{TrackTransport|yes}}} | no || <br/>[[Pickup]] • [[Truck]] }}<!-- | ||
-->| molten = [[Molten Channel]]<!-- | -->| molten = [[Molten Channel]]<!-- | ||
-->| virtual = [[Virtual product|Magic]]<!-- | -->| virtual = [[Virtual product|Magic]]<!-- | ||
Line 58: | Line 77: | ||
--></tr><!-- | --></tr><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{lc:{{{StoredIn|}}}}} | none | | {{#if:{{{StoredIn|}}}{{{State|}}}|<!-- | |||
** Stored in ** | |||
-->{{#ifeq:{{lc:{{{StoredIn|}}}}} | none || {{#if:{{{StoredIn|}}}{{{State|}}}|<!-- | |||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
--><td class="table-td-left">Stored in</td><!-- | --><td class="table-td-left">Stored in</td><!-- | ||
Line 64: | Line 85: | ||
-->{{#if: {{{StoredIn|}}} | {{{StoredIn}}}[[Category:Cleanup1]] | <!-- | -->{{#if: {{{StoredIn|}}} | {{{StoredIn}}}[[Category:Cleanup1]] | <!-- | ||
-->{{#switch: {{lc:{{{State|}}}}} |<!-- | -->{{#switch: {{lc:{{{State|}}}}} |<!-- | ||
-->| loose = | -->| loose = {{variants|Loose Storage}}<!-- | ||
--><br/> | -->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br/>[[Shipyard]]}}<!-- | ||
-->| fluid = | -->{{#ifeq: {{{StoredInCargoModule|no}}} | yes |<br/>{{variants|Loose Module}}}}<!-- | ||
--><br/> | -->| fluid = {{variants|Fluid Storage}}<!-- | ||
-->| unit = | -->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br/>[[Shipyard]]}}<!-- | ||
--><br/> | -->{{#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<!-- | -->| molten = None<!-- | ||
-->| virtual = [[Virtual product|Ethereal plane]]<!-- | -->| virtual = [[Virtual product|Ethereal plane]]<!-- | ||
Line 78: | Line 102: | ||
--></td><!-- | --></td><!-- | ||
--></tr><!-- | --></tr><!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
** Starting amount** | |||
-->{{#if:{{{StartingQty|}}}|<!-- | -->{{#if:{{{StartingQty|}}}|<!-- | ||
--><tr class="table-tr"><!-- | --><tr class="table-tr"><!-- | ||
Line 84: | Line 110: | ||
--><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 123: | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></includeonly> | --></includeonly><noinclude> | ||
{{Infobox material/sandbox | |||
| Name = Construction Parts | |||
| Description = AAAAAAAA | |||
| Type1 = Crafted material | |||
| State = Unit | |||
| Variants = [[Construction Parts II]]<br/>[[Construction Parts III]]<br/>[[Construction Parts IV]] | |||
}} | |||
{{Infobox material/sandbox | |||
| Name = Wood | |||
| State = Unit | |||
| StoredInCargoDock = yes | |||
| Type1 = Natural resource | |||
| CreatedIn = [[Tree Harvesting]]<br>[[Sawmill]] | |||
| UsedIn = [[Coal Maker]]<br/>[[Assembly (Manual)]]<br/>[[Assembly (Electric)]]<br/>[[Assembly (Electric) II]] | |||
}} | |||
{{Infobox material/sandbox | |||
| Name = Air Pollution | |||
| Type1 = Pollution | |||
| State = Virtual | |||
}} | |||
{{Infobox material/sandbox | |||
| Name = Steam (High) | |||
| Type1 = Crafted material | |||
| State = Fluid | |||
| TrackTransport = no | |||
| StoredIn = None | |||
| Variants = [[Steam (Super)]]<br>[[Steam Lo]]<br>[[Steam Depleted]] | |||
}} | |||
{{Infobox material/sandbox | |||
| Name = Wood | |||
| Image = Water.png | |||
| State = Unit | |||
}} | |||
{{Infobox material/sandbox | |||
| Name = | |||
| State = Unit | |||
}} | |||
</noinclude> |
Revision as of 06:50, 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 |
Variants | Construction Parts II Construction Parts III Construction Parts IV |
Wood
Type | Natural resource |
State | Unit |
Created in | Tree Harvesting Sawmill |
Used in | Coal Maker Assembly (Manual) Assembly (Electric) Assembly (Electric) II |
Transported by | Flat Conveyor [II•III] Pickup • Truck |
Stored in | Unit Storage [II•III•IV] Shipyard |
Steam (High)
Type | Crafted material |
State | Fluid |
Transported by | Pipe [II•III] |
Variants | Steam (Super) Steam (Low) Steam Depleted |
Wood
State | Unit |
Transported by | Flat Conveyor [II•III] Pickup • Truck |
Stored in | Unit Storage [II•III•IV] Shipyard |
Unknown Material
State | Unit |
Transported by | Flat Conveyor [II•III] Pickup • Truck |
Stored in | Unit Storage [II•III•IV] Shipyard |