Difference between revisions of "Template:Machine Recipe"
From Captain of Industry Wiki
ABravePanda (talk | contribs) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template: | <includeonly><templatestyles src="Template:Machine_Recipe/styles.css" /><!-- | ||
--><div class="recipe- | --><div class="recipe-wrapper2"><!-- | ||
-->{{#if: {{{Input1Name|}}} |<!-- | -->{{#if: {{{Input1Name|}}} |<!-- | ||
--><div class="block">[[File:{{{Input1Name}}}.png{{!}} | --><div class="block">[[File:{{{Input1Name}}}.png{{!}}24x24px{{!}}link={{{Input1Name}}}]]<!-- | ||
--><div class="quantity">{{{Input1Qty}}}</div><!-- | --><div class="quantity">{{{Input1Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 9: | Line 9: | ||
-->{{#if: {{{Input2Name|}}} |<!-- | -->{{#if: {{{Input2Name|}}} |<!-- | ||
--><div class="block plus">+</div><!-- | --><div class="block plus">+</div><!-- | ||
--><div class="block">[[File:{{{Input2Name}}}.png{{!}} | --><div class="block">[[File:{{{Input2Name}}}.png{{!}}24x24px{{!}}link={{{Input2Name}}}]]<!-- | ||
--><div class="quantity">{{{Input2Qty}}}</div><!-- | --><div class="quantity">{{{Input2Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 15: | Line 15: | ||
-->{{#if: {{{Input3Name|}}} |<!-- | -->{{#if: {{{Input3Name|}}} |<!-- | ||
--><div class="block plus">+</div><!-- | --><div class="block plus">+</div><!-- | ||
--><div class="block">[[File:{{{Input3Name}}}.png{{!}} | --><div class="block">[[File:{{{Input3Name}}}.png{{!}}24x24px{{!}}link={{{Input3Name}}}]]<!-- | ||
--><div class="quantity">{{{Input3Qty}}}</div><!-- | --><div class="quantity">{{{Input3Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 21: | Line 21: | ||
-->{{#if: {{{Input4Name|}}} |<!-- | -->{{#if: {{{Input4Name|}}} |<!-- | ||
--><div class="block plus">+</div><!-- | --><div class="block plus">+</div><!-- | ||
--><div class="block">[[File:{{{Input4Name}}}.png{{!}} | --><div class="block">[[File:{{{Input4Name}}}.png{{!}}24x24px{{!}}link={{{Input4Name}}}]]<!-- | ||
--><div class="quantity">{{{Input4Qty}}}</div><!-- | --><div class="quantity">{{{Input4Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 27: | Line 27: | ||
-->{{#if: {{{Input5Name|}}} |<!-- | -->{{#if: {{{Input5Name|}}} |<!-- | ||
--><div class="block plus">+</div><!-- | --><div class="block plus">+</div><!-- | ||
--><div class="block">[[File:{{{Input5Name}}}.png{{!}} | --><div class="block">[[File:{{{Input5Name}}}.png{{!}}24x24px{{!}}link={{{Input5Name}}}]]<!-- | ||
--><div class="quantity">{{{Input5Qty}}}</div><!-- | --><div class="quantity">{{{Input5Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 33: | Line 33: | ||
-->{{#if: {{{Input6Name|}}} |<!-- | -->{{#if: {{{Input6Name|}}} |<!-- | ||
--><div class="block plus">+</div><!-- | --><div class="block plus">+</div><!-- | ||
--><div class="block">[[File:{{{Input6Name}}}.png{{!}} | --><div class="block">[[File:{{{Input6Name}}}.png{{!}}24x24px{{!}}link={{{Input6Name}}}]]<!-- | ||
--><div class="quantity">{{{Input6Qty}}}</div><!-- | --><div class="quantity">{{{Input6Qty}}}</div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | |||
-->{{#if: {{{Time|}}} |<!-- | |||
--><div class="block">{{time|{{{Time}}}}}</div><!-- | |||
-->}}<!-- | |||
--></div></includeonly><!-- | --></div></includeonly><!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> |
Latest revision as of 00:27, 2 March 2023
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Example usage:
{{Machine Recipe | Input1Name = Construction Parts | Input1Qty = 12 | Input2Name = Iron | Input2Qty = 12 | Input3Name = Iron | Input3Qty = 12 | Input4Name = Iron | Input4Qty = 12 | Input5Name = Iron | Input5Qty = 12 | Input6Name = Iron | Input6Qty = 12 | Time = 60 }}
The above text is transcluded from Template:Machine Recipe/doc; you can change it or view its history. (How does this work?)
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 Template:Machine Recipe/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 Template:Machine Recipe/doc. (View all subpages of this page.)