Template:Block: Difference between revisions

From Vintage Story Wiki
m (change how drops are done- will need global fixing)
m (oops, fixed names of vars)
Line 13: Line 13:
|{{{Material}}}
|{{{Material}}}
}} }}
}} }}
{{#if: {{{Fertility|}}} |{{#!:
|-
|'''Fertility'''
|{{{Fertility}}}
[[Category:Fertile Blocks]]
}} }}
{{#if: {{{LightLevel|}}} | {{#!:
|-
|-
|'''Light Level'''
|{{{LightLevel}}}
[[Category:Light Emitters]]
}} }}
{{#if: {{{DropCode1|}}} | {{#!:
{{#if: {{{DropCode1|}}} | {{#!:
|-
{{Drops
{{Drops
|Code1={{{DropCode1|}}}
|Code1={{{DropCode1|}}}
Line 29: Line 41:
|Var4={{{DropVar4|}}}
|Var4={{{DropVar4|}}}
}}
}}
}} }}
{{#if: {{{Fertility|}}} |{{#!:
|-
|'''Fertility'''
|{{{Fertility}}}
[[Category:Fertile Blocks]]
}} }}
{{#if: {{{LightLevel|}}} | {{#!:
|-
|'''Light Level'''
|{{{LightLevel}}}
[[Category:Light Emitters]]
}} }}
}} }}
{{#if: {{{Temp|}}} | {{#!:
{{#if: {{{Temp|}}} | {{#!:
Line 61: Line 61:
|Stackable=64
|Stackable=64
|Material=Soil
|Material=Soil
|DropsCode1=Dirt
|DropCode1=Dirt
|DropsAvg1=1
|DropAvg1=1
|Fertility=65%
|Fertility=65%
|LightLevel=5
|LightLevel=5
Line 80: Line 80:
|-
|-
| ''Material'' || Optional || Soil
| ''Material'' || Optional || Soil
|-
| Drops || Optional || See [[Template:Drops]]
|-
|-
| ''Fertility'' || Optional || 65%
| ''Fertility'' || Optional || 65%
|-
|-
| ''LightLevel'' || Optional || 5
| ''LightLevel'' || Optional || 5
|-
| Drops || Optional || See [[Template:Drops]]
|-
|-
| ''Temp'' || Optional || 100
| ''Temp'' || Optional || 100

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