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

From Captain of Industry Wiki
Jump to: navigation, search
(Added new row: "Boost by Unity")
 
(7 intermediate revisions by one other user not shown)
Line 7: Line 7:
       -->{{#if: {{{DesigImgOverride|}}} | <!--
       -->{{#if: {{{DesigImgOverride|}}} | <!--
         -->[[File:{{{DesigImgOverride}}}{{!}}48x48px{{!}}link=Category:{{{Designation|}}}]]|<!--
         -->[[File:{{{DesigImgOverride}}}{{!}}48x48px{{!}}link=Category:{{{Designation|}}}]]|<!--
         -->[[File:{{{Designation}}}.png{{!}}48x48px{{!}}link=Category:{{{Designation|}}}]]<!--
         -->{{#if: {{{Designation|}}} | <!--
            -->[[File:{{{Designation}}}.png{{!}}48x48px{{!}}link=Category:{{{Designation|}}}]]<!--
        -->}}<!--
       -->}}<!--
       -->}}<!--
     --></div><!--
     --></div><!--
Line 19: Line 21:
   --><div class="inner-main"><!--
   --><div class="inner-main"><!--
     -->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder machine}}.png}}]]<br/><!--
     -->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder machine}}.png}}]]<br/><!--
     -->{{#if: {{{Description|}}} | <!--
     -->{{#if: {{{Description|}}} | {{#ifeq: {{lc:{{{Description}}}}} | none | |<!--
       --><div class="description">{{{Description}}}</div> |<!--
       --><div class="description">{{{Description}}}</div> |<!--
       -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing descriptions]] }} }}<!--
       -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing descriptions]] }} }}<!--
     -->}}<!--
     -->}} }}<!--
   --></div><!--
   --></div><!--
   --><div class="inner-table"><!--
   --><div class="inner-table"><!--
Line 55: Line 57:
           --></tr>|<!--
           --></tr>|<!--
           -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing electricity]] }} }}<!--
           -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing electricity]] }} }}<!--
        -->}}<!--
        -->{{#if:{{{Computing|}}}|<!--
          --><tr class="table-tr"><!--
            --><td class="table-td-left">[[Computing]]</td><!--
            --><td class="table-td-right"><!--
            -->{{#ifeq: {{lc:{{{Computing}}}}} | none | <!--
              -->None | <!--
              -->[[File:Computing.png|link=Computing|16x16px]]&nbsp;{{{Computing}}} TFlops<!--
            -->}}<!--
            --></td><!--
          --></tr><!--
         -->}}<!--
         -->}}<!--
         -->{{#if:{{{Unity|}}}|<!--
         -->{{#if:{{{Unity|}}}|<!--
Line 60: Line 73:
             --><td class="table-td-left">[[Unity]]</td><!--
             --><td class="table-td-left">[[Unity]]</td><!--
             --><td class="table-td-right">[[File:Unity.png|link=Unity|16x16px]] {{{Unity}}} /month</td><!--
             --><td class="table-td-right">[[File:Unity.png|link=Unity|16x16px]] {{{Unity}}} /month</td><!--
          --></tr><!--
        -->}}<!--
        -->{{#if:{{{ResearchSpeed|}}}|<!--
          --><tr class="table-tr"><!--
            --><td class="table-td-left">Research Speed</td><!--
            --><td class="table-td-right">{{#expr:trunc({{{ResearchSpeed}}})}}.{{#expr:(({{{ResearchSpeed}}})*10) mod 10}} {{Time}}</td><!--
           --></tr><!--
           --></tr><!--
         -->}}<!--
         -->}}<!--
Line 109: Line 128:
             --><td class="table-td-left">Footprint</td><!--
             --><td class="table-td-left">Footprint</td><!--
             --><td class="table-td-right">{{{Footprint}}}</td><!--
             --><td class="table-td-right">{{{Footprint}}}</td><!--
          -->{{#if: {{NAMESPACE}} || {{#ifeq: {{{Footprint}}} | ? | [[Category:Machine articles missing footprint]] }} }}<!--
           --></tr>|<!--
           --></tr>|<!--
           -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing footprint]] }} }}<!--
           -->{{#if: {{NAMESPACE}} || {{#ifeq: {{lc:{{{Designation|}}}}} | transports || [[Category:Machine articles missing footprint]] }} }}<!--
Line 134: Line 154:
               -->{{#if:{{{Research2|}}} | <br/>''or'' [[{{{Research2}}}]] }}<!--
               -->{{#if:{{{Research2|}}} | <br/>''or'' [[{{{Research2}}}]] }}<!--
               -->{{#if:{{{Research3|}}} | <br/>''or'' [[{{{Research3}}}]] }}<!--
               -->{{#if:{{{Research3|}}} | <br/>''or'' [[{{{Research3}}}]] }}<!--
            --></td><!--
          --></tr> | [[Category:Machine articles missing research]] }}<!--
        -->{{#if:{{{BoostByUnity|}}}|<!--
          --><tr class="table-tr"><!--
            --><td class="table-td-left">Boost by Unity</td><!--
            --><td class="table-td-right"><!--
              -->{{ #ifeq: {{{BoostByUnity}}} | yes <!--
                --> | Available [[Category:Boostable Building]] | <!--
                --> {{ #ifeq: {{{BoostByUnity}}} | no <!--
                  --> | Not Available [[Category:Unboostable Building]]<!--
                  --> | <font color="red">'''ERROR: Input "yes" or "no"'''</font> <!--
                -->}}<!--
              -->}}<!--
             --></td><!--
             --></td><!--
           --></tr>}}<!--
           --></tr>}}<!--
Line 159: Line 192:
--></div><!--
--></div><!--
--></div><!--
--></div><!--
--></includeonly>
--></includeonly><noinclude>
 
{{Infobox machine/sandbox
| Name          = Groundwater Pump
| Tier          = 1
| Image        =
| Description  = In-game building description goes here. The template will handle even very long text gracefully.
| Recipe        =
  {{Machine Recipe
    | Input1Name  = Construction Parts
    | Input1Qty  = 12
    | Input2Name  = Iron
    | Input2Qty  = 12
    }}
| Workers      = 10
| Electricity  = 20 KW
| Maintenance  = 5
| Footprint    = 6x4
| Research      = Cement Production <!-- What tech is required for this building to be unlocked -->
| Cargo        = [[Water]]
| Storage      = 5000
| BoostByUnity  = yes
| Designation  = General Machines
| DesigImgOverride = Fuel Gas.png <!-- only used if needed to override the automatic image -->
| Variants      = [[Blast Furnace II]]
}}
 
</noinclude>

Latest revision as of 06:37, 30 September 2022


Fuel Gas.png
Groundwater Pump
T1
Groundwater Pump.png
In-game building description goes here. The template will handle even very long text gracefully.
Construction
Construction Parts.png
12
+
Iron.png
12
WorkersWorker.png 10
ElectricityElectricity.png 20 KW
MaintenanceMaintenance I.png 5.0 / 60 Clock.png
Footprint6x4
CargoWater
Storage5000
Required ResearchCement Production
Boost by UnityAvailable
DesignationGeneral Machines Fuel Gas.png
VariantsBlast Furnace II