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
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| child={{{child|{{{embed|}}}}}}
| name={{{name|}}}
| decat={{{child|{{{embed|}}}}}}
| child={{{child|}}}
| title={{{title|{{#if:{{{child|{{{embed|}}}}}}|Plant}}}}}
| title={{{title|{{#if:{{{child|}}}|Plant}}}}}


| label1=Time to Maturity
| label1=Matures after
| data1={{#if:{{{timeToMaturity|}}}|{{#expr: {{{timeToMaturity}}}/60 round 2}} min}}
| data1={{#if: {{{secondsToMaturity|}}} | {{Duration|seconds={{{secondsToMaturity}}}}} }}
| label2=Time to Seeding
| label2=Seeds after
| data2={{#if:{{{timeToSeeding|}}}|{{#expr: {{{timeToSeeding}}}/60 round 2}} min {{#if:{{{timeToMaturity|}}}|<br/>({{#expr: ({{{timeToMaturity}}}+{{{timeToSeeding}}})/60 round 2}} min total)}}}}
| data2={{#if: {{{secondsToSeeding|}}} | {{Plainlist|
* {{Duration|seconds={{{secondsToSeeding}}}}}
{{#if:{{{secondsToMaturity|}}} | * ({{Duration|seconds={{#expr: {{{secondsToMaturity}}}+{{{secondsToSeeding}}} }}}} total)}} }}}}
| label3=Yield
| label3=Yield
| data3={{{yield|}}}
| data3={{#if: {{{fruitQuantity|}}}{{{fruit|}}} | {{{fruitQuantity|}}} {{#ifeq: {{{fruit|}}} | {{PAGENAME}} | {{{fruit|}}} | [[{{{fruit|}}}]] }} }}


| label10=Temperature
| label10=Required temperature
| data10={{User:Tyraeis/Grow Value Range
| data10={{{temperatureLow}}}-{{{temperatureHigh}}} C
|midPoint={{{temperatureMidPoint}}}
| label11=Ideal temperature
|centerSize={{{temperatureCenterSize}}}
| data11={{{idealTemperatureLow}}}-{{{idealTemperatureHigh}}} C
|lowSize={{{temperatureLowSize}}}
| label12=Required pressure
|highSize={{{temperatureHighSize}}}
| data12={{{pressureLow}}}-{{{pressureHigh}}} kPa
|unit=C}}
| label13=Ideal pressure
| label11=Pressure
| data13={{{idealPressureLow}}}-{{{idealPressureHigh}}} kPa
| data11={{User:Tyraeis/Grow Value Range
| label14=Required light
|midPoint={{{pressureMidPoint}}}
| data14={{#if: {{{lightSecondsPerDay|}}} | {{Duration|seconds={{{lightSecondsPerDay}}}}} per day }}
|centerSize={{{pressureCenterSize}}}
| label15=Required darkness
|lowSize={{{pressureLowSize}}}
| data15={{#if: {{{darknessSecondsPerDay|}}} | {{Duration|seconds={{{darknessSecondsPerDay}}}}} per day }}
|highSize={{{pressureHighSize}}}
|unit=kPa}}
| label12=Light Per Day
| data12={{#if:{{{lightPerDay|}}}|{{#expr: {{{lightPerDay}}}/60 round 2}} min}}
| label13=Darkness Per Day
| data13={{#if:{{{darknessPerDay|}}}|{{#expr: {{{darknessPerDay}}}/60 round 2}} min}}


| label21=Water Usage
| label21=Water usage
| data21={{#if:{{waterPerTick}}|{{#expr: {{{waterPerTick}}}*120 }} mol/min}}
| data21={{#if: {{{waterMolesPerTick|}}} | {{#expr: {{{waterMolesPerTick}}}*120 }} mol/min }}
| label22=Inhaled Gases
| label22=Inhales
| data22={{{inhaled|}}}
| data22={{#if: {{{inhaled|}}} | {{Plainlist|<ul>{{{inhaled}}}</ul>}} }}
| label23=Exhaled Gases
| label23=Exhales
| data23={{{exhaled|}}}
| data23={{#if: {{{exhaled|}}} | {{Plainlist|<ul>{{{exhaled}}}</ul>}} }}
| label24=Toxic Gases
| label24=Toxic gases
| data24={{{harmfulGases|}}}
| data24={{#if: {{{harmfulGases|}}} | {{Plainlist|<ul>{{{harmfulGases}}}</ul>}} }}


| header30=Time until damaged by:
| data30={{Infobox | subbox=yes
| label31=Drought
| header1=Time until damaged by:
| data31={{#expr: {{{timeUntilDehydrationDamage|}}}/60 round 2}} min
| label2=Drought
| label32=Toxic Gas
| data2={{#if: {{{secondsUntilDehydrationDamage|}}} | {{Duration|seconds={{{secondsUntilDehydrationDamage}}}}} }}
| data32={{#expr: {{{timeUntilUndesiredGasDamage|}}}/60 round 2}} min
| label3=Toxic gas
| label33=High or Low Temperature
| data3={{#if: {{{secondsUntilUndesiredGasDamage|}}} | {{Duration|seconds={{{secondsUntilUndesiredGasDamage}}}}} }}
| data33={{#expr: {{{timeUntilTemperatureDamage|}}}/60 round 2}} min
| label4=High or low temperature
| label34=High or Low Pressure
| data4={{#if: {{{secondsUntilTemperatureDamage|}}} | {{Duration|seconds={{{secondsUntilTemperatureDamage}}}}} }}
| data34={{#expr: {{{timeUntilPressureDamage|}}}/60 round 2}} min
| label5=High or low pressure
| label35=Suffocation
| data5={{#if: {{{secondsUntilPressureDamage|}}} | {{Duration|seconds={{{secondsUntilPressureDamage}}}}} }}
| data35={{#expr: {{{timeUntilSuffocationDamage|}}}/60 round 2}} min
| label6=Suffocation
| label36=Light or Darkness
| data6={{#if: {{{secondsUntilSuffocationDamage|}}} | {{Duration|seconds={{{secondsUntilSuffocationDamage}}}}} }}
| data36={{#expr: {{{timeUntilLightDamage|}}}/60 round 2}} min
| 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: