User:Tyraeis/Infobox plant: Difference between revisions
From Stationeers Community Wiki
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| | | name={{{name|}}} | ||
| title={{{title|{{#if:{{{child| | | child={{{child|}}} | ||
| title={{{title|{{#if:{{{child|}}}|Plant}}}}} | |||
| label1= | | label1=Matures after | ||
| data1={{#if:{{{secondsToMaturity|}}}|{{ | | data1={{#if: {{{secondsToMaturity|}}} | {{Duration|seconds={{{secondsToMaturity}}}}} }} | ||
| label2= | | label2=Seeds after | ||
| data2={{#if:{{{secondsToSeeding|}}}|{{ | | 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 | | label10=Required temperature | ||
| data10={{{temperatureLow | | data10={{{temperatureLow}}}-{{{temperatureHigh}}} C | ||
| label11=Ideal | | label11=Ideal temperature | ||
| data11={{{idealTemperatureLow | | data11={{{idealTemperatureLow}}}-{{{idealTemperatureHigh}}} C | ||
| label12=Required | | label12=Required pressure | ||
| data12={{{pressureLow | | data12={{{pressureLow}}}-{{{pressureHigh}}} kPa | ||
| label13=Ideal | | label13=Ideal pressure | ||
| data13={{{idealPressureLow | | data13={{{idealPressureLow}}}-{{{idealPressureHigh}}} kPa | ||
| label14= | | label14=Required light | ||
| data14={{#if:{{{lightSecondsPerDay|}}}|{{ | | data14={{#if: {{{lightSecondsPerDay|}}} | {{Duration|seconds={{{lightSecondsPerDay}}}}} per day }} | ||
| label15= | | label15=Required darkness | ||
| data15={{#if:{{{darknessSecondsPerDay|}}}|{{ | | data15={{#if: {{{darknessSecondsPerDay|}}} | {{Duration|seconds={{{darknessSecondsPerDay}}}}} per day }} | ||
| label21=Water | | label21=Water usage | ||
| data21={{#if:{{{waterMolesPerTick|}}}|{{#expr: {{{waterMolesPerTick}}}*120 }} mol/min}} | | data21={{#if: {{{waterMolesPerTick|}}} | {{#expr: {{{waterMolesPerTick}}}*120 }} mol/min }} | ||
| label22= | | label22=Inhales | ||
| data22={{Plainlist|<ul>{{{inhaled | | data22={{#if: {{{inhaled|}}} | {{Plainlist|<ul>{{{inhaled}}}</ul>}} }} | ||
| label23= | | label23=Exhales | ||
| data23={{Plainlist|<ul>{{{exhaled | | data23={{#if: {{{exhaled|}}} | {{Plainlist|<ul>{{{exhaled}}}</ul>}} }} | ||
| label24=Toxic | | label24=Toxic gases | ||
| data24={{Plainlist|<ul>{{{harmfulGases | | 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|}}}|{{ | | data2={{#if: {{{secondsUntilDehydrationDamage|}}} | {{Duration|seconds={{{secondsUntilDehydrationDamage}}}}} }} | ||
| label3=Toxic | | label3=Toxic gas | ||
| data3={{#if:{{{secondsUntilUndesiredGasDamage|}}}|{{ | | data3={{#if: {{{secondsUntilUndesiredGasDamage|}}} | {{Duration|seconds={{{secondsUntilUndesiredGasDamage}}}}} }} | ||
| label4=High or | | label4=High or low temperature | ||
| data4={{#if:{{{secondsUntilTemperatureDamage|}}}|{{ | | data4={{#if: {{{secondsUntilTemperatureDamage|}}} | {{Duration|seconds={{{secondsUntilTemperatureDamage}}}}} }} | ||
| label5=High or | | label5=High or low pressure | ||
| data5={{#if:{{{secondsUntilPressureDamage|}}}|{{ | | data5={{#if: {{{secondsUntilPressureDamage|}}} | {{Duration|seconds={{{secondsUntilPressureDamage}}}}} }} | ||
| label6=Suffocation | | label6=Suffocation | ||
| data6={{#if:{{{secondsUntilSuffocationDamage|}}}|{{ | | data6={{#if: {{{secondsUntilSuffocationDamage|}}} | {{Duration|seconds={{{secondsUntilSuffocationDamage}}}}} }} | ||
| label7=Insufficient | | label7=Insufficient light or darkness | ||
| data7={{#if:{{{secondsUntilLightDamage|}}}|{{ | | 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| | | 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
| Foo | Value 1 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bar | Value 2 | ||||||||||||||
| Plant | |||||||||||||||
| Matures after | 50 min | ||||||||||||||
| Seeds after |
| ||||||||||||||
| 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 | |||||||||||||||
| |||||||||||||||
| Foo | Value 1 | ||
|---|---|---|---|
| Bar | Value 2 | ||
| Plant | |||
| Seeds after |
| ||
| Required temperature | 0-50 C | ||
| Ideal temperature | 20-30 C | ||
| Required pressure | 25-200 kPa | ||
| Ideal pressure | 50-100 kPa | ||
| |||