Template:Block: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (oops, fixed names of vars) |
VeryGoodDog (talk | contribs) m (i think this will fix an issue when there are missing optional params) |
||
Line 12: | Line 12: | ||
|'''Material''' | |'''Material''' | ||
|{{{Material}}} | |{{{Material}}} | ||
}} }} | }} }}{{#if: {{{Fertility|}}} | {{#!: | ||
{{#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: {{{DropCode1|}}} | {{#!: | ||
{{#if: {{{DropCode1|}}} | {{#!: | |||
|- | |- | ||
{{Drops | {{Drops | ||
Line 41: | Line 38: | ||
|Var4={{{DropVar4|}}} | |Var4={{{DropVar4|}}} | ||
}} | }} | ||
}} }} | }} }}{{#if: {{{Temp|}}} | {{#!: | ||
{{#if: {{{Temp|}}} | {{#!: | |||
|- | |- | ||
{{Item/Fuel | {{Item/Fuel |
Revision as of 14:32, 22 June 2020
Dirt | |
[[Grid Dirt Block.png|100px]] | |
Material | Soil |
Stackable | 64 |
Drops | None |
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 | 16 |
Material | Optional | Soil |
Fertility | Optional | 65% |
LightLevel | Optional | 5 |
Drops | Optional | See Template:Drops |
Temp | Optional | 100 |
Duration | Optional | 20 |