Template:Block: Difference between revisions

From Vintage Story Wiki
m (i think this will fix an issue when there are missing optional params)
m (it did not)
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 38: Line 41:
|Var4={{{DropVar4|}}}
|Var4={{{DropVar4|}}}
}}
}}
}} }}{{#if: {{{Temp|}}} | {{#!:
}} }}
{{#if: {{{Temp|}}} | {{#!:
|-
|-
{{Item/Fuel
{{Item/Fuel

Revision as of 14:33, 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