Template:Block: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (i think this will fix an issue when there are missing optional params) |
VeryGoodDog (talk | contribs) m (it did not) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|'''Material''' | |'''Material''' | ||
|{{{Material}}} | |{{{Material}}} | ||
}} }}{{#if: {{{Fertility|}}} | {{#!: | }} }} | ||
|- | |||
|'''Drops''' | |||
|{{{Drops|None}}} | |||
{{#if: {{{Fertility|}}} |{{#!: | |||
|- | |- | ||
|'''Fertility''' | |'''Fertility''' | ||
|{{{Fertility}}} | |{{{Fertility}}} | ||
[[Category:Fertile Blocks]] | [[Category:Fertile Blocks]] | ||
}} }}{{#if: {{{LightLevel|}}} | {{#!: | }} }} | ||
{{#if: {{{LightLevel|}}} | {{#!: | |||
|- | |- | ||
|'''Light Level''' | |'''Light Level''' | ||
|{{{LightLevel}}} | |{{{LightLevel}}} | ||
[[Category:Light Emitters]] | [[Category:Light Emitters]] | ||
}} }} | }} }} | ||
{{#if: {{{Temp|}}} | {{#!: | |||
|- | |- | ||
{{Item/Fuel | {{Item/Fuel | ||
Line 57: | Line 47: | ||
|Stackable=64 | |Stackable=64 | ||
|Material=Soil | |Material=Soil | ||
| | |Drops=Dirt | ||
|Fertility=65% | |Fertility=65% | ||
|LightLevel=5 | |LightLevel=5 | ||
Line 73: | Line 62: | ||
| ''Image'' || Required || <nowiki>File:Grid Dirt Block.png</nowiki> | | ''Image'' || Required || <nowiki>File:Grid Dirt Block.png</nowiki> | ||
|- | |- | ||
| ''Stackable'' || Optional, 64 || | | ''Stackable'' || Optional, 64 || 64 | ||
|- | |- | ||
| ''Material'' || Optional || Soil | | ''Material'' || Optional || Soil | ||
|- | |||
| ''Drops'' || Optional, None || Dirt | |||
|- | |- | ||
| ''Fertility'' || Optional || 65% | | ''Fertility'' || Optional || 65% | ||
|- | |- | ||
| ''LightLevel'' || Optional || 5 | | ''LightLevel'' || Optional || 5 | ||
|- | |- | ||
| ''Temp'' || Optional || 100 | | ''Temp'' || Optional || 100 |
Revision as of 16:20, 6 August 2020
Dirt | |
[[Grid Dirt Block.png|100px]] | |
Material | Soil |
Stackable | 64 |
Drops | Dirt |
Fertility | 65% |
Light Level | 5 |
Fuel | |
Temperature | 100°C |
Duration | 20 s |
Blocks |
Parameter | Required or Optional, default if applicable | Example |
---|---|---|
Name | Required | Dirt |
Image | Required | File:Grid Dirt Block.png |
Stackable | Optional, 64 | 64 |
Material | Optional | Soil |
Drops | Optional, None | Dirt |
Fertility | Optional | 65% |
LightLevel | Optional | 5 |
Temp | Optional | 100 |
Duration | Optional | 20 |