Template:Infobox Plant: Difference between revisions
Template page
More actions
Define Plant cargo table |
Do not insert rows into the plant table if we are on a non-main-namespace page (e.g. the documentation for this template) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 56: | Line 56: | ||
| data7={{#if: {{{secondsUntilLightDamage|}}} | {{Duration|seconds={{{secondsUntilLightDamage}}}}} }} | | data7={{#if: {{{secondsUntilLightDamage|}}} | {{Duration|seconds={{{secondsUntilLightDamage}}}}} }} | ||
}} | }} | ||
}}{{#cargo_store:_table=Plant | }}{{#if:{{NAMESPACE}}|<!-- do not insert data -->|{{#cargo_store:_table=Plant | ||
| | | plantName={{{plantName|{{PAGENAME}}}}} | ||
| secondsToMaturity={{{secondsToMaturity|}}} | | secondsToMaturity={{{secondsToMaturity|}}} | ||
| secondsToSeeding={{{secondsToSeeding|}}} | | secondsToSeeding={{{secondsToSeeding|}}} | ||
| Line 81: | Line 80: | ||
| secondsUntilSuffocationDamage={{{secondsUntilSuffocationDamage|}}} | | secondsUntilSuffocationDamage={{{secondsUntilSuffocationDamage|}}} | ||
| secondsUntilLightDamage={{{secondsUntilLightDamage|}}} | | secondsUntilLightDamage={{{secondsUntilLightDamage|}}} | ||
}}</includeonly><noinclude>{{Documentation}}{{#cargo_declare:_table=Plant | }}}}</includeonly><noinclude>{{Documentation}}{{#cargo_declare:_table=Plant | ||
| | | plantName=String | ||
| secondsToMaturity=Integer | | secondsToMaturity=Integer | ||
| secondsToSeeding=Integer | | secondsToSeeding=Integer | ||
Latest revision as of 18:21, 4 April 2026
Usage
Blank template
{{Infobox Plant
| name=
| title=
| child=
| secondsToMaturity=
| secondsToSeeding=
| fruit=
| fruitQuantity=
| seed=
| temperatureLow=
| temperatureHigh=
| idealTemperatureLow=
| idealTemperatureHigh=
| pressureLow=
| pressureHigh=
| idealPressureLow=
| idealPressureHigh=
| lightSecondsPerDay=
| darknessSecondsPerDay=
| waterMolesPerTick=
| inhaled=
| exhaled=
| harmfulGases=
| secondsUntilDehydrationDamage=
| secondsUntilUndesiredGasDamage=
| secondsUntilTemperatureDamage=
| secondsUntilPressureDamage=
| secondsUntilSuffocationDamage=
| secondsUntilLightDamage=
}}
Examples
| Yield | 2 Potato | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Seed | Potato Seeds | ||||||||||||||
| Matures after | 50 min | ||||||||||||||
| Seeds after |
| ||||||||||||||
| Growth Requirements | |||||||||||||||
| Temperature |
| ||||||||||||||
| Pressure |
| ||||||||||||||
| Light per day | 5 min | ||||||||||||||
| Darkness per day | 3 min 20 s | ||||||||||||||
| Water usage | 0.0072 mol/min | ||||||||||||||
| Inhales |
| ||||||||||||||
| Exhales |
| ||||||||||||||
| Toxic gases | |||||||||||||||
| |||||||||||||||
{{Infobox Plant
| name=Potato
| title=Potato
| secondsToMaturity=3000
| secondsToSeeding=1000
| fruit=Potato
| fruitQuantity=2
| seed=Potato Seeds
| 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|1}}{{PlantHarmfulGas|Volatiles|1}}
| secondsUntilDehydrationDamage=1800
| secondsUntilUndesiredGasDamage=300
| secondsUntilTemperatureDamage=300
| secondsUntilPressureDamage=600
| secondsUntilSuffocationDamage=3600
| secondsUntilLightDamage=3600
}}
| Properties | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Stacks | Yes (20) | ||||||||||||||
| Plant | |||||||||||||||
| Yield | 2 Potato | ||||||||||||||
| Seed | Potato Seeds | ||||||||||||||
| Matures after | 50 min | ||||||||||||||
| Seeds after |
| ||||||||||||||
| Growth Requirements | |||||||||||||||
| Temperature |
| ||||||||||||||
| Pressure |
| ||||||||||||||
| Light per day | 5 min | ||||||||||||||
| Darkness per day | 3 min 20 s | ||||||||||||||
| Water usage | 0.0072 mol/min | ||||||||||||||
| Inhales |
| ||||||||||||||
| Exhales |
| ||||||||||||||
| Toxic gases | |||||||||||||||
| |||||||||||||||
{{Itembox
| name=Potato
| stacks=20
| module={{Infobox Plant|child=yes
| secondsToMaturity=3000
| secondsToSeeding=1000
| fruit=Potato
| fruitQuantity=2
| seed=Potato Seeds
| 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|1}}{{PlantHarmfulGas|Volatiles|1}}
| secondsUntilDehydrationDamage=1800
| secondsUntilUndesiredGasDamage=300
| secondsUntilTemperatureDamage=300
| secondsUntilPressureDamage=600
| secondsUntilSuffocationDamage=3600
| secondsUntilLightDamage=3600
}}
}}
| The above documentation is transcluded from Template:Infobox Plant/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
This template defines the table "Plant". View table.