Difference between revisions of "User:Thadius856/sandbox"

From Captain of Industry Wiki
Jump to: navigation, search
(2nd draft)
(Update example. Still needs lots of work. Will probably migrate the recipes to the article body before implementation.)
Line 1: Line 1:
<includeonly><div style="border: 2px solid rgb(252,162,58); display:inline-block; min-width:250px; max-width:400px; font-family:TemplateStyles-SairaM; font-size:14pt; font-weight:400; padding:13px; margin:10px"><div style="display:flex; justify-content:space-between"><div style="color:#ffd28e; text-shadow:0 0 3px #ff8250,0 0 6px #ff8249">{{{ItemName|Unknown Item}}}</div></div><div class="color:#a3a4a4; font-size:11pt">{{{Categories|Unknown Category}}}</div> <div style="font-size:11pt; color:#ffffff; margin-bottom:10px">{{{Description|A description was not supplied to the template.}}}</div> <div style="vertical-align:top; margin:10px; display:flex">[[File:{{{ItemName|Unknown}}}.png|90x90px|class=tt_lg_icon|link={{{ItemName|}}}]] <table style="padding-left:10px; flex-grow:1; font-size:14px; line-height:16px; white-space:nowrap"> {{#if:{{{Info1Type|}}}|<tr><td>{{{Info1Type|}}}</td><td style="width: 100%;"></td><td>{{{Info1Text|}}}</td></tr>}} {{#if:{{{Info2Type|}}}|<tr><td>{{{Info2Type|}}}</td><td style="width: 100%;"></td><td>{{{Info2Text|}}}</td></tr>}} {{#if:{{{Info3Type|}}}|<tr><td>{{{Info3Type|}}}</td><td style="width: 100%;"></td><td>{{{Info3Text|}}}</td></tr>}} {{#if:{{{Info4Type|}}}|<tr><td>{{{Info4Type|}}}</td><td style="width: 100%;"></td><td>{{{Info4Text|}}}</td></tr>}} {{#if:{{{Info5Type|}}}|<tr><td>{{{Info5Type|}}}</td><td style="width: 100%;"></td><td>{{{Info5Text|}}}</td></tr>}} {{#if:{{{Info6Type|}}}|<tr><td>{{{Info6Type|}}}</td><td style="width: 100%;"></td><td>{{{Info6Text|}}}</td></tr>}} {{#if:{{{Info7Type|}}}|<tr><td>{{{Info7Type|}}}</td><td style="width: 100%;"></td><td>{{{Info7Text|}}}</td></tr>}} {{#if:{{{Info8Type|}}}|<tr><td>{{{Info8Type|}}}</td><td style="width: 100%;"></td><td>{{{Info8Text|}}}</td></tr>}} {{#if:{{{GridSize|}}}|<tr><td>Grid Size</td><td style="width: 100%;"></td><td>{{{GridSize|}}}</td></tr>}} {{#if:{{{StackSize|}}}|<tr><td>Stack Size</td><td style="width: 100%;"></td><td>{{{StackSize|}}}</td></tr>}} </table> </div> {{#if:{{{Recipes|}}}|<hr style="height:3px; border:0">{{{Recipes}}}}}</div></includeonly> <noinclude> {{documentation}}   
<includeonly><div style="border: 2px solid rgb(252,162,58); display:inline-block; min-width:250px; max-width:400px; font-family:TemplateStyles-SairaM; font-size:14pt; font-weight:400; padding:13px; margin:10px"><div style="display:flex; justify-content:space-between"><div style="color:#ffd28e; text-shadow:0 0 3px #ff8250,0 0 6px #ff8249">{{{ItemName|Unknown Item}}}</div></div><div style="color:#a3a4a4; font-size:11pt">{{{Categories|Unknown Category}}}</div> <div style="font-size:11pt; color:#ffffff; margin-bottom:10px">{{{Description|A description was not supplied to the template.}}}</div> <div style="vertical-align:top; margin:10px; display:flex">[[File:{{{ItemName|Unknown}}}.png|90x90px|class=tt_lg_icon|link={{{ItemName|}}}]] <table style="padding-left:10px; flex-grow:1; font-size:14px; line-height:16px; white-space:nowrap"> {{#if:{{{Info1Type|}}}|<tr><td>{{{Info1Type|}}}</td><td style="width: 100%;"></td><td>{{{Info1Text|}}}</td></tr>}} {{#if:{{{Info2Type|}}}|<tr><td>{{{Info2Type|}}}</td><td style="width: 100%;"></td><td>{{{Info2Text|}}}</td></tr>}} {{#if:{{{Info3Type|}}}|<tr><td>{{{Info3Type|}}}</td><td style="width: 100%;"></td><td>{{{Info3Text|}}}</td></tr>}} {{#if:{{{Info4Type|}}}|<tr><td>{{{Info4Type|}}}</td><td style="width: 100%;"></td><td>{{{Info4Text|}}}</td></tr>}} {{#if:{{{Info5Type|}}}|<tr><td>{{{Info5Type|}}}</td><td style="width: 100%;"></td><td>{{{Info5Text|}}}</td></tr>}} {{#if:{{{Info6Type|}}}|<tr><td>{{{Info6Type|}}}</td><td style="width: 100%;"></td><td>{{{Info6Text|}}}</td></tr>}} {{#if:{{{Info7Type|}}}|<tr><td>{{{Info7Type|}}}</td><td style="width: 100%;"></td><td>{{{Info7Text|}}}</td></tr>}} {{#if:{{{Info8Type|}}}|<tr><td>{{{Info8Type|}}}</td><td style="width: 100%;"></td><td>{{{Info8Text|}}}</td></tr>}} {{#if:{{{GridSize|}}}|<tr><td>Grid Size</td><td style="width: 100%;"></td><td>{{{GridSize|}}}</td></tr>}} {{#if:{{{StackSize|}}}|<tr><td>Stack Size</td><td style="width: 100%;"></td><td>{{{StackSize|}}}</td></tr>}} </table> </div> {{#if:{{{Recipes|}}}|<hr style="height:3px; border:0">{{{Recipes}}}}}</div></includeonly> <noinclude> {{documentation}}   


{{User:Thadius856/sandbox
{{User:Thadius856/sandbox
|ItemName=Cement
|ItemName=Cement
|Categories=Test, Testing
|Categories=Material
|Description=Just a Test item.
|Description=
|Info1Type=Info 1 |Info1Text=Info 1 Text
|Info1Type=Created in |Info1Text=Rotary Kiln
|Info2Type=Info 2 |Info2Text=Info 2 Text
|Info2Type=Consumed in |Info2Text=Concrete Mixer
|Recipes=
|Recipes=
   {{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
     |CraftTime=10 s
  }}
     |In1=Limestone |In1Qty=12
  {{User:Thadius856/sandbox2
     |In2=Coal |In2Qty=2
     |Building=Pickup
     |In1=Cement |In1Qty=1
     |In2=Sand |In2Qty=2
    |In3=Slag crushed |In3Qty=4
    |In4=Water |In4Qty=4
    |Time=40
    |Out1=Concrete slab |Out1Qty=8
  }}
  {{User:Thadius856/sandbox2
    |Building=Pickup
    |In1=Cement |In1Qty=1
    |In2=Sand |In2Qty=2
    |In3=Gravel |In3Qty=4
    |In4=Water |In4Qty=4
    |Time=40
    |Out1=Concrete slab |Out1Qty=8
   }}
   }}
}}
}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 23:43, 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/sandbox/doc. (View all subpages of this page.)
Cement
Material
Cement.png
Created inRotary Kiln
Consumed inConcrete Mixer

Infoicon: parameter {{{1}}} was not provided
 Infoicon: parameter {{{1}}} was not provided
Infoicon: parameter {{{1}}} was not provided