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

From Captain of Industry Wiki
Jump to: navigation, search
m
Line 21: 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 80: Line 80:
             --><td class="table-td-right">{{#expr:trunc({{{ResearchSpeed}}})}}.{{#expr:(({{{ResearchSpeed}}})*10) mod 10}} {{Time}}</td><!--
             --><td class="table-td-right">{{#expr:trunc({{{ResearchSpeed}}})}}.{{#expr:(({{{ResearchSpeed}}})*10) mod 10}} {{Time}}</td><!--
           --></tr><!--
           --></tr><!--
         -->}}<!--       -->{{#if:{{{Maintenance|}}}|<!--
         -->}}<!--
        -->{{#if:{{{Maintenance|}}}|<!--
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
             --><td class="table-td-left">[[Maintenance]]</td><!--
             --><td class="table-td-left">[[Maintenance]]</td><!--

Revision as of 23:48, 22 July 2022