Template:Block: Difference between revisions

From Vintage Story Wiki
No edit summary
m (it did not)
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|border="1" cellpadding="2" cellspacing="0" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;"
<includeonly>
{|border="1" cellpadding="2" cellspacing="0"style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;"
|-
|-
|bgcolor="#000000" colspan="2" class="TC" style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|bgcolor="#000000" colspan="2"style="border-top-right-radius:7px; border-top-left-radius:7px; text-align:center; font-size:13.5px;"|<font color="white">'''{{{Name}}}'''</font>
|-
|-
|bgcolor="#ffffff" colspan=2 style="text-align: center"| {{{Image}}}
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|-
|-
{{#if: {{{Material|}}} | <tr><td>Material</td><td>{{{Material}}} | }}
|'''Stackable'''
{{#if: {{{Fertility|}}} | {{#!:|- class{{{Fertility}}}
|{{{Stackable|64}}}
|class="TC"|'''Fertility'''
{{#if: {{{Material|}}} | {{#!:
|class="TC"|{{{Fertility}}}}}|}}
|-
{{#if: {{{LightLevel|}}} | {{#!:|- class{{{LightLevel}}}
|'''Material'''
|class="TC"|'''Light Level'''
|{{{Material}}}
|class="TC"|{{{LightLevel}}}}}}}
}} }}
{{#if: {{{Tool|}}} | {{#!:|- class{{{Tool}}}
|-
|class="TC"|'''Tool'''
|'''Drops'''
|class="TC"|{{{Tool}}}}}}}
|{{{Drops|None}}}
{{#if: {{{Stackable|}}} | {{#!:|- class{{{Stackable}}}
{{#if: {{{Fertility|}}} |{{#!:
|class="TC"|'''Stackable'''
|-
|class="TC"|{{{Stackable}}}}}}}
|'''Fertility'''
{{#if: {{{Flammable|}}} | {{#!:|- class{{{Flammable}}}
|{{{Fertility}}}
|class="TC"|'''Flammable'''
[[Category:Fertile Blocks]]
|class="TC"|{{{Flammable}}}}}}}
}} }}
{{#if: {{{BurnTime|}}} | {{#!:|- class{{{BurnTime}}}
{{#if: {{{LightLevel|}}} | {{#!:
|class="TC"|'''Burn Time'''
|-
|class="TC"|{{{BurnTime}}}}}}}
|'''Light Level'''
{{#if: {{{Drops|}}} | {{#!:|- class{{{Drops}}}
|{{{LightLevel}}}
|class="TC"|'''Drops'''
[[Category:Light Emitters]]
|class="TC"|{{{Drops}}}}}}}
}} }}
{{#if: {{{Temp|}}} | {{#!:
|-
{{Item/Fuel
|Temp={{{Temp}}}
|Duration={{{Duration}}}
}}
}} }}
|-
|-
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Blocks|<font color="white">'''Blocks'''</font>]]
|bgcolor="#000000" colspan="2" class="Bloba" style="text-align:center; font-size:13.5px; border-bottom-right-radius:7px; border-bottom-left-radius:7px;"|[[Blocks|<font color="white">'''Blocks'''</font>]]
|}
|}
[[Category:Blocks]]
</includeonly>
<noinclude>
{{Block
|Name=Dirt
|Image=<nowiki>Grid Dirt Block.png</nowiki>
|Stackable=64
|Material=Soil
|Drops=Dirt
|Fertility=65%
|LightLevel=5
|Temp=100
|Duration=20
}}
{| class="wikitable"
|-
! Parameter !! Required or Optional, default if applicable !! Example
|-
| ''Name'' || Required || Dirt
|-
| ''Image'' || Required || <nowiki>File:Grid Dirt Block.png</nowiki>
|-
| ''Stackable'' || Optional, 64 || 64
|-
| ''Material'' || Optional || Soil
|-
| ''Drops'' || Optional, None || Dirt
|-
| ''Fertility'' || Optional || 65%
|-
| ''LightLevel'' || Optional || 5
|-
| ''Temp'' || Optional || 100
|-
| ''Duration'' || Optional || 20
|}
[[Category:Infoboxes]]
</noinclude>

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