Difference between revisions of "Template:Fac Ratio"

From IdleCorp Wiki
Jump to navigation Jump to search
Tags: Mobile edit Mobile web edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude><includeonly>
 
<onlyinclude><includeonly>
You need {{#if: {{{3|}}}|{{{2}}} of 1 [[{{{3}}}]]|'''Empty'''}}{{#if: {{{5|}}}|, {{{4}}} of 1 [[{{{5}}}]]}}{{#if: {{{7|}}}|, {{{6}}} of 1 [[{{{7}}}]]}}{{#if: {{{9|}}}|, {{{8}}} of 1 [[{{{9}}}]]}}{{#if: {{{11|}}}|, {{{10}}} of 1 [[{{{11}}}]]}} to maintain this factory. In other words, You need {{{fully}}} for {{{fullynum}}} [[{{{1}}}]] to create fully passive production line without excessive input.
+
You need {{#if: {{{3|}}}|{{{2}}} of 1 [[{{{3}}}]]|'''Empty'''}}{{#if: {{{5|}}}|, {{{4}}} of 1 [[{{{5}}}]]}}{{#if: {{{7|}}}|, {{{6}}} of 1 [[{{{7}}}]]}}{{#if: {{{9|}}}|, {{{8}}} of 1 [[{{{9}}}]]}}{{#if: {{{11|}}}|, {{{10}}} of 1 [[{{{11}}}]]}} to maintain this factory.<br>To become fewer remains and a perfect production, you will need {{{fully}}} for {{{fullynum}}} [[{{{1}}}]] but remember it may vary..
  
 +
Minimum:
 
{{{ratio}}}
 
{{{ratio}}}
  
 
'''Disclaimer: The ratio above is only for calculation only. The real value may vary.'''
 
'''Disclaimer: The ratio above is only for calculation only. The real value may vary.'''
 
</includeonly></onlyinclude>
 
</includeonly></onlyinclude>
Syntax: <nowiki>{{Fac Ratio|fac|1stnum|1stfac|2ndnum|2ndfac|3rdnum|3rdfac|4thnum|4thfac|5thfac|5thfac|ratio={TABLE}|fully={facs}|fullynum={facnum}}}</nowiki><br>
+
Syntax: <nowiki>{{Fac Ratio|fac|1stnum|1stfac|2ndnum|2ndfac|3rdnum|3rdfac|4thnum|4thfac|5thfac|5thfac|ratio={Ratios}|fully={facs}|fullynum={facnum}}}</nowiki><br>
Example: <nowiki>{{Fac Ratio|Steel mill|4/7|Coal mine|1/7|Iron mine|ratio={{{!}}
+
Example: <code><nowiki>{{</nowiki>Fac Ratio|Steel mill|4/7|Coal mine|1/7|Iron mine|ratio=<br>
<br>{{!}} 1 [[Iron mine]] : 1 [[Coal mine]] : 1 [[Steel mill]] at minimun
+
1 [[Iron mine]] : 1 [[Coal mine]] : 1 [[Steel mill]]<br>
<br>{{!}}-
+
1 [[Iron mine]] : 1.75 [[Steel mill]]<br>
<br>{{!}} 4 [[Iron mine]] : 7 [[Steel mill]]
+
1 [[Coal mine]] : 7 [[Steel mill]]<br>
<br>{{!}}-
+
|fully=4 [[Coal mine]] and 1 [[Iron mine]]|fullynum=7<nowiki>}}</nowiki></code>
<br>{{!}} 1 [[Coal mine]] : 7 [[Steel mill]]
 
<br>{{!}}}
 
<br>|fully=4 [[Coal mine]] and 1 [[Iron mine]]|fullynum=7}}</nowiki>
 
 
<br>gives<br>
 
<br>gives<br>
{{Fac Ratio|Steel mill|4/7|Coal mine|1/7|Iron mine|ratio={{{!}}
+
:{{Fac Ratio|Steel mill|4/7|Coal mine|1/7|Iron mine|ratio=1 [[Iron mine]] : 1 [[Coal mine]] : 1 [[Steel mill]]<br>
{{!}} 1 [[Iron mine]] : 1 [[Coal mine]] : 1 [[Steel mill]] at minimun
+
1 [[Iron mine]] : 1.75 [[Steel mill]]<br>
{{!}}-
+
1 [[Coal mine]] : 7 [[Steel mill]]<br>
{{!}} 4 [[Iron mine]] : 7 [[Steel mill]]
 
{{!}}-
 
{{!}} 1 [[Coal mine]] : 7 [[Steel mill]]
 
{{!}}}
 
 
|fully=4 [[Coal mine]] and 1 [[Iron mine]]|fullynum=7}}
 
|fully=4 [[Coal mine]] and 1 [[Iron mine]]|fullynum=7}}

Latest revision as of 02:13, 4 July 2021

Syntax: {{Fac Ratio|fac|1stnum|1stfac|2ndnum|2ndfac|3rdnum|3rdfac|4thnum|4thfac|5thfac|5thfac|ratio={Ratios}|fully={facs}|fullynum={facnum}}}
Example: {{Fac Ratio|Steel mill|4/7|Coal mine|1/7|Iron mine|ratio=
1 Iron mine : 1 Coal mine : 1 Steel mill
1 Iron mine : 1.75 Steel mill
1 Coal mine : 7 Steel mill
|fully=4 Coal mine and 1 Iron mine|fullynum=7}}

gives

You need 4/7 of 1 Coal mine, 1/7 of 1 Iron mine to maintain this factory.
To become fewer remains and a perfect production, you will need 4 Coal mine and 1 Iron mine for 7 Steel mill but remember it may vary..

Minimum: 1 Iron mine : 1 Coal mine : 1 Steel mill
1 Iron mine : 1.75 Steel mill
1 Coal mine : 7 Steel mill

Disclaimer: The ratio above is only for calculation only. The real value may vary.