Difference between revisions of "User:Thadius856/sandbox2"
From Captain of Industry Wiki
Thadius856 (talk | contribs) (scrunching margins, enlargening : and +) |
Thadius856 (talk | contribs) (revise variable names for clarity, expand max output items from 2 up to 6) |
||
Line 9: | Line 9: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Input1Name|}}}|<!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Input1Name}}}.png|link={{{Input1Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input1Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Input2Name|}}}|<!-- | ||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Input2Name}}}.png|link={{{Input2Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input2Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Input3Name|}}}|<!-- | ||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Input3Name}}}.png|link={{{Input3Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input3Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Input4Name|}}}|<!-- | ||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Input4Name}}}.png|link={{{Input4Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input4Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Input5Name|}}}|<!-- | ||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Input5Name}}}.png|link={{{Input5Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input5Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Input6Name|}}}|<!-- | ||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Input6Name}}}.png|link={{{Input6Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input6Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 47: | Line 47: | ||
-->{{#if:{{{Time|}}}|<div style="display: inline-block; margin-top: 15px; width: 50px; text-align:center;"><div style="height:45px; text-align:center; display:inline-block; font-size:10pt;"><div>{{{Time}}} 🕓</div><div>[[File:Icon arrow right.svg|30x45px]]</div></div></div>}}<!-- | -->{{#if:{{{Time|}}}|<div style="display: inline-block; margin-top: 15px; width: 50px; text-align:center;"><div style="height:45px; text-align:center; display:inline-block; font-size:10pt;"><div>{{{Time}}} 🕓</div><div>[[File:Icon arrow right.svg|30x45px]]</div></div></div>}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Output1Name|}}}|<!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Output1Name}}}.png|link={{{Output1Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output1Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Output2Name|}}}|<!-- | ||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | ||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | ||
-->[[File:{{{ | -->[[File:{{{Output2Name}}}.png|link={{{Output2Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output2Qty}}}</div><!-- | ||
--></div><!-- | |||
-->}}<!-- | |||
-->{{#if:{{{Output3Name|}}}|<!-- | |||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | |||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | |||
-->[[File:{{{Output3Name}}}.png|link={{{Output3Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output3Qty}}}</div><!-- | |||
--></div><!-- | |||
-->}}<!-- | |||
-->{{#if:{{{Output4Name|}}}|<!-- | |||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | |||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | |||
-->[[File:{{{Output4Name}}}.png|link={{{Output4Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output4Qty}}}</div><!-- | |||
--></div><!-- | |||
-->}}<!-- | |||
-->{{#if:{{{Output5Name|}}}|<!-- | |||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | |||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | |||
-->[[File:{{{Output5Name}}}.png|link={{{Output5Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output5Qty}}}</div><!-- | |||
--></div><!-- | |||
-->}}<!-- | |||
-->{{#if:{{{Output6Name|}}}|<!-- | |||
--><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!-- | |||
--><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!-- | |||
-->[[File:{{{Output6Name}}}.png|link={{{Output6Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output6Qty}}}</div><!-- | |||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 64: | Line 88: | ||
{{User:Thadius856/sandbox2 | {{User:Thadius856/sandbox2 | ||
|Building=Excavator | |Building=Excavator | ||
| | |Input1Name=Limestone |Input1Qty=12 | ||
| | |Input2Name=Coal |Input2Qty=2 | ||
|Time=10 | |Time=10 | ||
| | |Output1Name=Cement |Output1Qty=4 | ||
| | |Output2Name=Exhaust |Output2Qty=8 | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 13:14, 12 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.)
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.)