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
 
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| child={{{child|{{{embed|}}}}}}
| name={{{name|}}}
| title={{{title|{{#if:{{{child|{{{embed|}}}}}}|Plant}}}}}
| child={{{child|}}}
| title={{{title|{{#if:{{{child|}}}|Plant}}}}}


| label1=Time to Maturity
| label1=Matures after
| data1={{#if:{{{secondsToMaturity|}}}|{{#expr: {{{secondsToMaturity}}}/60 round 2}} min}}
| data1={{#if: {{{secondsToMaturity|}}} | {{Duration|seconds={{{secondsToMaturity}}}}} }}
| label2=Time to Seeding
| label2=Seeds after
| data2={{#if:{{{secondsToSeeding|}}}|{{#expr: {{{secondsToSeeding}}}/60 round 2}} min {{#if:{{{secondsToMaturity|}}}|<br/>({{#expr: ({{{secondsToMaturity}}}+{{{secondsToSeeding}}})/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={{{fruitQuantity|}}} [[{{{fruit|}}}]]
| data3={{#if: {{{fruitQuantity|}}}{{{fruit|}}} | {{{fruitQuantity|}}} {{#ifeq: {{{fruit|}}} | {{PAGENAME}} | {{{fruit|}}} | [[{{{fruit|}}}]] }} }}


| label10=Required Temperature
| label10=Required temperature
| data10={{{temperatureLow|}}}-{{{temperatureHigh|}}} C
| data10={{{temperatureLow}}}-{{{temperatureHigh}}} C
| label11=Ideal Temperature
| label11=Ideal temperature
| data11={{{idealTemperatureLow|}}}-{{{idealTemperatureHigh|}}} C
| data11={{{idealTemperatureLow}}}-{{{idealTemperatureHigh}}} C
| label12=Required Pressure
| label12=Required pressure
| data12={{{pressureLow|}}}-{{{pressureHigh|}}} kPa
| data12={{{pressureLow}}}-{{{pressureHigh}}} kPa
| label13=Ideal Pressure
| label13=Ideal pressure
| data13={{{idealPressureLow|}}}-{{{idealPressureHigh|}}} kPa
| data13={{{idealPressureLow}}}-{{{idealPressureHigh}}} kPa
| label14=Light Per Day
| label14=Required light
| data14={{#if:{{{lightSecondsPerDay|}}}|{{#expr: {{{lightSecondsPerDay}}}/60 round 2}} min}}
| data14={{#if: {{{lightSecondsPerDay|}}} | {{Duration|seconds={{{lightSecondsPerDay}}}}} per day }}
| label15=Darkness Per Day
| label15=Required darkness
| data15={{#if:{{{darknessSecondsPerDay|}}}|{{#expr: {{{darknessSecondsPerDay}}}/60 round 2}} min}}
| data15={{#if: {{{darknessSecondsPerDay|}}} | {{Duration|seconds={{{darknessSecondsPerDay}}}}} per day }}


| label21=Water Usage
| label21=Water usage
| data21={{#if:{{{waterMolesPerTick|}}}|{{#expr: {{{waterMolesPerTick}}}*120 }} mol/min}}
| data21={{#if: {{{waterMolesPerTick|}}} | {{#expr: {{{waterMolesPerTick}}}*120 }} mol/min }}
| label22=Inhaled Gases
| label22=Inhales
| data22={{Plainlist|<ul>{{{inhaled|}}}</ul>}}
| data22={{#if: {{{inhaled|}}} | {{Plainlist|<ul>{{{inhaled}}}</ul>}} }}
| label23=Exhaled Gases
| label23=Exhales
| data23={{Plainlist|<ul>{{{exhaled|}}}</ul>}}
| data23={{#if: {{{exhaled|}}} | {{Plainlist|<ul>{{{exhaled}}}</ul>}} }}
| label24=Toxic Gases
| label24=Toxic gases
| data24={{Plainlist|<ul>{{{harmfulGases|}}}</ul>}}
| data24={{#if: {{{harmfulGases|}}} | {{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={{#if:{{{secondsUntilDehydrationDamage|}}}|{{#expr: {{{secondsUntilDehydrationDamage}}}/60 round 2}} min}}
| data2={{#if: {{{secondsUntilDehydrationDamage|}}} | {{Duration|seconds={{{secondsUntilDehydrationDamage}}}}} }}
| label3=Toxic Gas
| label3=Toxic gas
| data3={{#if:{{{secondsUntilUndesiredGasDamage|}}}|{{#expr: {{{secondsUntilUndesiredGasDamage}}}/60 round 2}} min}}
| data3={{#if: {{{secondsUntilUndesiredGasDamage|}}} | {{Duration|seconds={{{secondsUntilUndesiredGasDamage}}}}} }}
| label4=High or Low Temperature
| label4=High or low temperature
| data4={{#if:{{{secondsUntilTemperatureDamage|}}}|{{#expr: {{{secondsUntilTemperatureDamage}}}/60 round 2}} min}}
| data4={{#if: {{{secondsUntilTemperatureDamage|}}} | {{Duration|seconds={{{secondsUntilTemperatureDamage}}}}} }}
| label5=High or Low Pressure
| label5=High or low pressure
| data5={{#if:{{{secondsUntilPressureDamage|}}}|{{#expr: {{{secondsUntilPressureDamage}}}/60 round 2}} min}}
| data5={{#if: {{{secondsUntilPressureDamage|}}} | {{Duration|seconds={{{secondsUntilPressureDamage}}}}} }}
| label6=Suffocation
| label6=Suffocation
| data6={{#if:{{{secondsUntilSuffocationDamage|}}}|{{#expr: {{{secondsUntilSuffocationDamage}}}/60 round 2}} min}}
| data6={{#if: {{{secondsUntilSuffocationDamage|}}} | {{Duration|seconds={{{secondsUntilSuffocationDamage}}}}} }}
| label7=Insufficient Light or Darkness
| label7=Insufficient light or darkness
| data7={{#if:{{{secondsUntilLightDamage|}}}|{{#expr: {{{secondsUntilLightDamage}}}/60 round 2}} min}}
| data7={{#if: {{{secondsUntilLightDamage|}}} | {{Duration|seconds={{{secondsUntilLightDamage}}}}} }}
}}
}}
}}</includeonly>
}}</includeonly>
Line 52: Line 55:
| foo=Value 1
| foo=Value 1
| bar=Value 2
| bar=Value 2
| module={{User:Tyraeis/Infobox plant|embed=yes
| module={{User:Tyraeis/Infobox plant|child=yes
| secondsToMaturity=3000
| secondsToMaturity=3000
| secondsToSeeding=1000
| secondsToSeeding=1000
Line 68: Line 71:
| darknessSecondsPerDay=200
| darknessSecondsPerDay=200
| waterMolesPerTick=0.00006
| waterMolesPerTick=0.00006
| inhaled={{PlantInhaledGas|Carbon Dioxide|molesPerTick=0.0012}}
| inhaled=<li>{{PlantInhaledGas|Carbon Dioxide|molesPerTick=0.0012}}</li>
| exhaled={{PlantExhaledGas|Oxygen|molesPerTick=0.0012}}
| exhaled=<li>{{PlantExhaledGas|Oxygen|molesPerTick=0.0012}}</li>
| harmfulGases={{PlantHarmfulGas|Pollutant}}{{PlantHarmfulGas|Volatiles}}
| harmfulGases=<li>{{PlantHarmfulGas|Pollutant}}</li><li>{{PlantHarmfulGas|Volatiles}}</li>
| secondsUntilDehydrationDamage=1800
| secondsUntilDehydrationDamage=1800
| secondsUntilUndesiredGasDamage=300
| secondsUntilUndesiredGasDamage=300
Line 78: Line 81:
| secondsUntilLightDamage=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>
}}</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: