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

From Captain of Industry Wiki
Jump to: navigation, search
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    = [[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]] &bull; [[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]] &bull; [[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]]<!--
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 Storage]] &lbrack;[[Loose Storage II|II]] &bull; [[Loose Storage III|III]] &bull; [[Loose Storage IV|IV]]&rbrack;<!--
                   -->| loose    = {{variants|Loose Storage}}<!--
                     --><br/>[[Shipyard]]<!--
                    -->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br/>[[Shipyard]]}}<!--
                   -->| fluid    = [[Fluid Storage]] &lbrack;[[Fluid Storage II|II]] &bull; [[Fluid Storage III|III]] &bull; [[Fluid Storage IV|IV]]&rbrack;<!--
                     -->{{#ifeq: {{{StoredInCargoModule|no}}} | yes |<br/>{{variants|Loose Module}}}}<!--
                     --><br/>[[Shipyard]]<!--
                   -->| fluid    = {{variants|Fluid Storage}}<!--
                   -->| unit    = [[Unit Storage]] &lbrack;[[Unit Storage II|II]] &bull; [[Unit Storage III|III]] &bull; [[Unit Storage IV|IV]]&rbrack;<!--
                    -->{{#ifeq: {{{StoredInShipyard|yes}}} | no ||<br/>[[Shipyard]]}}<!--
                     --><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<!--
                   -->| 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
Construction Parts.png
AAAAAAAA
TypeCrafted material
StateUnit
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
Transported byMagic
Stored inEthereal plane
Steam (High)
Steam (High).png
TypeCrafted material
StateFluid
Transported byPipe [IIIII]
VariantsSteam (Super)
Steam (Low)
Steam Depleted
Wood
Water.png
StateUnit
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inUnit Storage [IIIIIIV]
Shipyard
Unknown Material
StateUnit
Transported byFlat Conveyor [IIIII]
PickupTruck
Stored inUnit Storage [IIIIIIV]
Shipyard