Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Tyraeis/Infobox plant: Difference between revisions

From Stationeers Community Wiki
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| child={{{child|{{{embed|}}}}}}
| name={{{name|}}}
| title={{#if:{{{child|{{{embed|}}}}}}|Plant}}
| child={{{child|}}}
| label1=Time to Maturity
| title={{{title|{{#if:{{{child|}}}|Plant}}}}}
| data1={{#if:{{{timeToMaturity|}}}|{{#expr: {{{timeToMaturity}}}/60 round 2}} min}}
 
| label2=Time to Seeding
| label1=Matures after
| data2={{#if:{{{timeToSeeding|}}}|{{#expr: {{{timeToSeeding}}}/60 round 2}} min {{#if:{{{timeToMaturity|}}}|({{#expr: ({{{timeToMaturity}}}+{{{timeToSeeding}}})/60 round 2}} min total)}}}}
| data1={{#if: {{{secondsToMaturity|}}} | {{Duration|seconds={{{secondsToMaturity}}}}} }}
| label3=Temperature
| label2=Seeds after
| data3={{User:Tyraeis/Grow Value Range
| data2={{#if: {{{secondsToSeeding|}}} | {{Plainlist|
|midPoint={{{temperatureMidPoint}}}
* {{Duration|seconds={{{secondsToSeeding}}}}}
|centerSize={{{temperatureCenterSize}}}
{{#if:{{{secondsToMaturity|}}} | * ({{Duration|seconds={{#expr: {{{secondsToMaturity}}}+{{{secondsToSeeding}}} }}}} total)}} }}}}
|lowSize={{{temperatureLowSize}}}
| label3=Yield
|highSize={{{temperatureHighSize}}}
| data3={{#if: {{{fruitQuantity|}}}{{{fruit|}}} | {{{fruitQuantity|}}} {{#ifeq: {{{fruit|}}} | {{PAGENAME}} | {{{fruit|}}} | [[{{{fruit|}}}]] }} }}
|unit=C}}
 
| label4=Pressure
| label10=Required temperature
| data4={{User:Tyraeis/Grow Value Range
| data10={{{temperatureLow}}}-{{{temperatureHigh}}} C
|midPoint={{{pressureMidPoint}}}
| label11=Ideal temperature
|centerSize={{{pressureCenterSize}}}
| data11={{{idealTemperatureLow}}}-{{{idealTemperatureHigh}}} C
|lowSize={{{pressureLowSize}}}
| label12=Required pressure
|highSize={{{pressureHighSize}}}
| data12={{{pressureLow}}}-{{{pressureHigh}}} kPa
|unit=kPa}}
| label13=Ideal pressure
| label5=Light Per Day
| data13={{{idealPressureLow}}}-{{{idealPressureHigh}}} kPa
| data5={{#expr: {{{lightPerDay|}}}/60 round 2}} min
| label14=Required light
| label6=Darkness Per Day
| data14={{#if: {{{lightSecondsPerDay|}}} | {{Duration|seconds={{{lightSecondsPerDay}}}}} per day }}
| data6={{#expr: {{{darknessPerDay|}}}/60 round 2}} min
| label15=Required darkness
| label12=Water Usage
| data15={{#if: {{{darknessSecondsPerDay|}}} | {{Duration|seconds={{{darknessSecondsPerDay}}}}} per day }}
| data12={{#if:{{waterPerTick}}|{{#expr: {{{waterPerTick}}}/120 }} mol/min}}
 
| label10=Inhaled Gases
| label21=Water usage
| data10={{{inhaled|}}}
| data21={{#if: {{{waterMolesPerTick|}}} | {{#expr: {{{waterMolesPerTick}}}*120 }} mol/min }}
| label11=Exhaled Gases
| label22=Inhales
| data11={{{exhaled|}}}
| data22={{#if: {{{inhaled|}}} | {{Plainlist|<ul>{{{inhaled}}}</ul>}} }}
| label13=Toxic Gases
| label23=Exhales
| data13={{{harmfulGases|}}}
| data23={{#if: {{{exhaled|}}} | {{Plainlist|<ul>{{{exhaled}}}</ul>}} }}
| header20=Time until damaged by:
| label24=Toxic gases
| label21=Drought
| data24={{#if: {{{harmfulGases|}}} | {{Plainlist|<ul>{{{harmfulGases}}}</ul>}} }}
| data21={{#expr: {{{timeUntilDehydrationDamage|}}}/60 round 2}} min
 
| label22=Toxic Gas
| data30={{Infobox | subbox=yes
| data22={{#expr: {{{timeUntilUndesiredGasDamage|}}}/60 round 2}} min
| header1=Time until damaged by:
| label23=High or Low Temperature
| label2=Drought
| data23={{#expr: {{{timeUntilTemperatureDamage|}}}/60 round 2}} min
| data2={{#if: {{{secondsUntilDehydrationDamage|}}} | {{Duration|seconds={{{secondsUntilDehydrationDamage}}}}} }}
| label24=High or Low Pressure
| label3=Toxic gas
| data24={{#expr: {{{timeUntilPressureDamage|}}}/60 round 2}} min
| data3={{#if: {{{secondsUntilUndesiredGasDamage|}}} | {{Duration|seconds={{{secondsUntilUndesiredGasDamage}}}}} }}
| label25=Suffocation
| label4=High or low temperature
| data25={{#expr: {{{timeUntilSuffocationDamage|}}}/60 round 2}} min
| data4={{#if: {{{secondsUntilTemperatureDamage|}}} | {{Duration|seconds={{{secondsUntilTemperatureDamage}}}}} }}
| label26=Light or Darkness
| label5=High or low pressure
| data26={{#expr: {{{timeUntilLightDamage|}}}/60 round 2}} min
| data5={{#if: {{{secondsUntilPressureDamage|}}} | {{Duration|seconds={{{secondsUntilPressureDamage}}}}} }}
| label6=Suffocation
| data6={{#if: {{{secondsUntilSuffocationDamage|}}} | {{Duration|seconds={{{secondsUntilSuffocationDamage}}}}} }}
| label7=Insufficient light or darkness
| data7={{#if: {{{secondsUntilLightDamage|}}} | {{Duration|seconds={{{secondsUntilLightDamage}}}}} }}
}}
}}</includeonly>
}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{User:Tyraeis/Infobox test
| title=Potato
| foo=Value 1
| bar=Value 2
| module={{User:Tyraeis/Infobox plant|child=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=<li>{{PlantInhaledGas|Carbon Dioxide|molesPerTick=0.0012}}</li>
| exhaled=<li>{{PlantExhaledGas|Oxygen|molesPerTick=0.0012}}</li>
| harmfulGases=<li>{{PlantHarmfulGas|Pollutant}}</li><li>{{PlantHarmfulGas|Volatiles}}</li>
| secondsUntilDehydrationDamage=1800
| secondsUntilUndesiredGasDamage=300
| secondsUntilTemperatureDamage=300
| secondsUntilPressureDamage=600
| secondsUntilSuffocationDamage=3600
| secondsUntilLightDamage=3600
}}
}}
{{User:Tyraeis/Infobox test
| title=Potato
| foo=Value 1
| bar=Value 2
| module={{User:Tyraeis/Infobox plant|child=yes
    | secondsToSeeding=120
| temperatureLow=0
| temperatureHigh=50
| idealTemperatureLow=20
| idealTemperatureHigh=30
| pressureLow=25
| pressureHigh=200
| idealPressureLow=50
| idealPressureHigh=100
}}
}}</noinclude>

Latest revision as of 03:55, 19 March 2026

Potato
Foo Value 1
Bar Value 2
Plant
Matures after 50 min
Seeds after
  • 16 min 40 s
  • (1 h 6 min 40 s total)
Yield 2 Potato
Required temperature 0-50 C
Ideal temperature 20-30 C
Required pressure 25-200 kPa
Ideal pressure 50-100 kPa
Required light 5 min per day
Required darkness 3 min 20 s per day
Water usage 0.0072 mol/min
Inhales
Exhales
Toxic gases
Time until damaged by:
Drought 30 min
Toxic gas 5 min
High or low temperature 5 min
High or low pressure 10 min
Suffocation 1 h
Insufficient light or darkness 1 h
Potato
Foo Value 1
Bar Value 2
Plant
Seeds after
  • 2 min
Required temperature 0-50 C
Ideal temperature 20-30 C
Required pressure 25-200 kPa
Ideal pressure 50-100 kPa
Time until damaged by: