User:Tyraeis/Infobox plant: Difference between revisions
From Stationeers Community Wiki
More actions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
| label1=Time to Maturity | | label1=Time to Maturity | ||
| data1={{#if:{{{ | | data1={{#if:{{{secondsToMaturity|}}}|{{#expr: {{{secondsToMaturity}}}/60 round 2}} min}} | ||
| label2=Time to Seeding | | label2=Time to Seeding | ||
| data2={{#if:{{{ | | data2={{#if:{{{secondsToSeeding|}}}|{{#expr: {{{secondsToSeeding}}}/60 round 2}} min {{#if:{{{secondsToMaturity|}}}|<br/>({{#expr: ({{{secondsToMaturity}}}+{{{secondsToSeeding}}})/60 round 2}} min total)}}}} | ||
| label3=Yield | | label3=Yield | ||
| data3={{{ | | data3={{{fruitQuantity|}}} [[{{{fruit|}}}]] | ||
| label10=Temperature | | label10=Required Temperature | ||
| data10={{ | | data10={{{temperatureLow|}}}-{{{temperatureHigh|}}} C | ||
| label11=Ideal Temperature | |||
| data11={{{idealTemperatureLow|}}}-{{{idealTemperatureHigh|}}} C | |||
| label12=Required Pressure | |||
| data12={{{pressureLow|}}}-{{{pressureHigh|}}} kPa | |||
| label13=Ideal Pressure | |||
| | | data13={{{idealPressureLow|}}}-{{{idealPressureHigh|}}} kPa | ||
| | | label14=Light Per Day | ||
| data14={{#if:{{{lightSecondsPerDay|}}}|{{#expr: {{{lightSecondsPerDay}}}/60 round 2}} min}} | |||
| label15=Darkness Per Day | |||
| data15={{#if:{{{darknessSecondsPerDay|}}}|{{#expr: {{{darknessSecondsPerDay}}}/60 round 2}} min}} | |||
| | |||
| | |||
| | |||
| | |||
| label21=Water Usage | | label21=Water Usage | ||
| data21={{#if:{{ | | data21={{#if:{{{waterMolesPerTick|}}}|{{#expr: {{{waterMolesPerTick}}}*120 }} mol/min}} | ||
| label22=Inhaled Gases | | label22=Inhaled Gases | ||
| data22={{{inhaled|}}} | | data22={{Plainlist|<ul>{{{inhaled|}}}</ul>}} | ||
| label23=Exhaled Gases | | label23=Exhaled Gases | ||
| data23={{{exhaled|}}} | | data23={{Plainlist|<ul>{{{exhaled|}}}</ul>}} | ||
| label24=Toxic Gases | | label24=Toxic Gases | ||
| data24={{{harmfulGases|}}} | | data24={{Plainlist|<ul>{{{harmfulGases|}}}</ul>}} | ||
| data30={{Infobox | subbox=yes | | data30={{Infobox | subbox=yes | ||
| header1=Time until damaged by: | | header1=Time until damaged by: | ||
| label2=Drought | | label2=Drought | ||
| data2={{#expr: {{{ | | data2={{#if:{{{secondsUntilDehydrationDamage|}}}|{{#expr: {{{secondsUntilDehydrationDamage}}}/60 round 2}} min}} | ||
| label3=Toxic Gas | | label3=Toxic Gas | ||
| data3={{#expr: {{{ | | data3={{#if:{{{secondsUntilUndesiredGasDamage|}}}|{{#expr: {{{secondsUntilUndesiredGasDamage}}}/60 round 2}} min}} | ||
| label4=High or Low Temperature | | label4=High or Low Temperature | ||
| data4={{#expr: {{{ | | data4={{#if:{{{secondsUntilTemperatureDamage|}}}|{{#expr: {{{secondsUntilTemperatureDamage}}}/60 round 2}} min}} | ||
| label5=High or Low Pressure | | label5=High or Low Pressure | ||
| data5={{#expr: {{{ | | data5={{#if:{{{secondsUntilPressureDamage|}}}|{{#expr: {{{secondsUntilPressureDamage}}}/60 round 2}} min}} | ||
| label6=Suffocation | | label6=Suffocation | ||
| data6={{#expr: {{{ | | data6={{#if:{{{secondsUntilSuffocationDamage|}}}|{{#expr: {{{secondsUntilSuffocationDamage}}}/60 round 2}} min}} | ||
| label7=Light or Darkness | | label7=Insufficient Light or Darkness | ||
| data7={{#expr: {{{ | | data7={{#if:{{{secondsUntilLightDamage|}}}|{{#expr: {{{secondsUntilLightDamage}}}/60 round 2}} min}} | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude>{{ | <noinclude>{{User:Tyraeis/Infobox test | ||
| title=Potato | |||
| foo=Value 1 | |||
| bar=Value 2 | |||
| module={{User:Tyraeis/Infobox plant|embed=yes | |||
| secondsToMaturity=3000 | |||
| secondsToSeeding=1000 | |||
| fruit=Potato | |||
| fruitQuantity=2 | |||
| temperatureLow=0 | |||
| temperatureHigh=50 | |||
| idealTemperatureLow=20 | |||
| idealTemperatureHigh=30 | |||
| pressureLow=25 | |||
| pressureHigh=200 | |||
| idealPressureLow=50 | |||
| idealPressureHigh=100 | |||
| lightSecondsPerDay=300 | |||
| darknessSecondsPerDay=200 | |||
| waterMolesPerTick=0.00006 | |||
| inhaled={{PlantInhaledGas|Carbon Dioxide|molesPerTick=0.0012}} | |||
| exhaled={{PlantExhaledGas|Oxygen|molesPerTick=0.0012}} | |||
| harmfulGases={{PlantHarmfulGas|Pollutant}}{{PlantHarmfulGas|Volatiles}} | |||
| secondsUntilDehydrationDamage=1800 | |||
| secondsUntilUndesiredGasDamage=300 | |||
| secondsUntilTemperatureDamage=300 | |||
| secondsUntilPressureDamage=600 | |||
| secondsUntilSuffocationDamage=3600 | |||
| secondsUntilLightDamage=3600 | |||
}} | |||
}}</noinclude> | |||
Revision as of 23:48, 18 March 2026
| Foo | Value 1 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bar | Value 2 | ||||||||||||||
| Plant | |||||||||||||||
| Time to Maturity | 50 min | ||||||||||||||
| Time to Seeding |
16.67 min (66.67 min total) | ||||||||||||||
| Yield | 2 Potato | ||||||||||||||
| Required Temperature | 0-50 C | ||||||||||||||
| Ideal Temperature | 20-30 C | ||||||||||||||
| Required Pressure | 25-200 kPa | ||||||||||||||
| Ideal Pressure | 50-100 kPa | ||||||||||||||
| Light Per Day | 5 min | ||||||||||||||
| Darkness Per Day | 3.33 min | ||||||||||||||
| Water Usage | 0.0072 mol/min | ||||||||||||||
| Inhaled Gases |
| ||||||||||||||
| Exhaled Gases |
| ||||||||||||||
| Toxic Gases | |||||||||||||||
| |||||||||||||||