Difference between revisions of "User:Thadius856/sandbox2"

From Captain of Industry Wiki
Jump to: navigation, search
(2nd draft)
(3rd draft. Still not happy with the alignment but its halfway workable now (ish))
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><div style="position: relative; min-height: 55px; border: 1px solid red"><!--
--><div style="position: relative; min-height: 75px; font-size: 14px; font-weight: bold;"><!--
 
  -->{{#if:{{{Building|}}}|<!--
    --><div style="max-width:65px; max-height:65px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!--
      -->[[File:{{{Building}}}.png|link={{{Building}}}|65x65px]]<!--
    --></div><!--
  --><div style="width:25px; text-align:center; vertical-align:text-top; display:inline-block; position: relative;">:</div><!--
  -->}}<!--


   -->{{#if:{{{In1|}}}|<!--
   -->{{#if:{{{In1|}}}|<!--
     --><div style="margin:0 auto; width:auto; height:45px!important; width:45px; object-fit:contain; border: 1px solid pink"><!--
     --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!--
       -->[[File:{{{In1}}}.png|link={{{In1}}}|45x45px]]<div>{{{In1Qty}}}</div><!--
       -->[[File:{{{In1}}}.png|link={{{In1}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{In1Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--
   -->{{#if:{{{In2|}}}|<!--
   -->{{#if:{{{In2|}}}|<!--
     --><div style="margin:0 auto; width:auto; height:45px!important; width:45px; object-fit:contain; border: 1px solid pink"><!--
     --><div style="width:25px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
       -->[[File:{{{In2}}}.png|link={{{In2}}}|45x45px]]<div>{{{In2Qty}}}</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
       -->[[File:{{{In2}}}.png|link={{{In2}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{In2Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--
   -->{{#if:{{{In3|}}}|<!--
   -->{{#if:{{{In3|}}}|<!--
     --><div style="margin:0 auto; width:auto; height:45px!important; width:45px; object-fit:contain; border: 1px solid pink"><!--
     --><div style="width:25px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
       -->[[File:{{{In3}}}.png|link={{{In3}}}|45x45px]]<div>{{{In3Qty}}}</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
       -->[[File:{{{In3}}}.png|link={{{In3}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{In3Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--
   -->{{#if:{{{In4|}}}|<!--
   -->{{#if:{{{In4|}}}|<!--
     --><div style="margin:0 auto; width:auto; height:45px!important; width:45px; object-fit:contain; border: 1px solid pink"><!--
     --><div style="width:25px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
       -->[[File:{{{In4}}}.png|link={{{In4}}}|45x45px]]<div>{{{In4Qty}}}</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
       -->[[File:{{{In4}}}.png|link={{{In4}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{In4Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--
   -->{{#if:{{{In5|}}}|<!--
   -->{{#if:{{{In5|}}}|<!--
     --><div style="margin:0 auto; width:auto; height:45px!important; width:45px; object-fit:contain; border: 1px solid pink"><!--
     --><div style="width:25px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
       -->[[File:{{{In5}}}.png|link={{{In5}}}|45x45px]]<div>{{{In5Qty}}}</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
       -->[[File:{{{In5}}}.png|link={{{In5}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{In5Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--
   -->{{#if:{{{In6|}}}|<!--
   -->{{#if:{{{In6|}}}|<!--
     --><div style="margin:0 auto; width:auto; height:45px!important; width:45px; object-fit:contain; border: 1px solid pink"><!--
     --><div style="width:25px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
       -->[[File:{{{In6}}}.png|link={{{In6}}}|45x45px]]<div>{{{In6Qty}}}</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
       -->[[File:{{{In6}}}.png|link={{{In6}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{In6Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--


   -->{{#if:{{{Time|}}}|<div style="width:45px; height:45px; text-align:center; display:inline-block; font-size:12pt; padding-top:7px; border: 1px solid yellow"><div style="border: 1px solid green">{{{Time}}}&nbsp;🕓</div></div>}}<!--
   -->{{#if:{{{Time|}}}|<div style="display: inline-block; margin-top: 15px; width: 60px; text-align:center;"><div style="height:45px; text-align:center; display:inline-block; font-size:10pt;"><div>{{{Time}}}&nbsp;🕓</div><div>[[File:Icon arrow right.svg|30x45px]]</div></div></div>}}<!--


   -->{{#if:{{{Out1|}}}|<!--
   -->{{#if:{{{Out1|}}}|<!--
     --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:bottom; display:inline-block; font-size:12px; position:relative; border: 1px solid orange"><!--
     --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!--
       -->[[File:{{{Out1}}}.png|link={{{Out1}}}|45x45px]]<div>{{{Out1Qty}}}</div><!--
       -->[[File:{{{Out1}}}.png|link={{{Out1}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Out1Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--
   -->{{#if:{{{Out2|}}}|<!--
   -->{{#if:{{{Out2|}}}|<!--
     --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:bottom; display:inline-block; font-size:12px; position:relative; border: 1px solid orange"><!--
    --><div style="width:25px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
       -->[[File:{{{Out2}}}.png|link={{{Out2}}}|45x45px]]<div>{{{Out2Qty}}}</div><!--
     --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!--
       -->[[File:{{{Out2}}}.png|link={{{Out2}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Out2Qty}}}</div><!--
     --></div><!--
     --></div><!--
   -->}}<!--
   -->}}<!--
Line 50: Line 63:
[[Category:Template]]
[[Category:Template]]
   {{User:Thadius856/sandbox2
   {{User:Thadius856/sandbox2
    |Building=Excavator
    |In1=Limestone |In1Qty=12
    |In2=Coal |In2Qty=2
    |Time=10
     |Out1=Cement |Out1Qty=4
     |Out1=Cement |Out1Qty=4
     |Out2=Exhaust |Out2Qty=8
     |Out2=Exhaust |Out2Qty=8
    |Time=10 s
    |In1=Limestone |In1Qty=12
    |In2=Coal |In2Qty=2
   }}
   }}
</noinclude>
</noinclude>

Revision as of 23:30, 11 January 2022

Template documentation (for the above template, sometimes hidden or invisible) [create]
This template doesn't have any documentation yet! Help out by writing some.
This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to User:Thadius856/sandbox2/doc. (View all subpages of this page.)
Excavator.png
:
Limestone.png
12
+
Coal.png
2
10 🕓
Icon arrow right.svg
Cement.png
4
+
Exhaust.png
8