Template:Block: Difference between revisions

From Vintage Story Wiki
m
minor changes
m (add infobox cat)
m (minor changes)
Line 1: Line 1:
<includeonly>
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" style="position:relative; border-radius:7px; font-size:90%; width:200px; float:right;"
{|border="1" cellpadding="2" cellspacing="0" class="screwTemplatesMan" 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" 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="#ffffff" colspan=2 style="text-align: center"| {{{Image}}}
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| {{{Image}}}
|-
|-
|class="TC"|'''Stackable'''
|'''Stackable'''
|class="TC"|{{{Stackable}}}
|{{{Stackable}}}
{{#if: {{{Material|}}} | {{#!:|- class{{{Material}}}
{{#if: {{{Material|}}} | {{#!:
|-
|-
|class="TC"|'''Material'''
|'''Material'''
|class="TC"|{{{Material}}}
|{{{Material}}}
}} }}
}} }}
|-
|-
|class="TC"|'''Drops'''
|'''Drops'''
|class="TC"|{{#if: {{{Drops|}}} | {{{Drops}}} | None
|{{{Drops|None}}}
}}
{{#if: {{{Fertility|}}} |{{#!:
{{#if: {{{Fertility|}}} | {{#!:|- class{{{Fertility}}}
|-
|-
|class="TC"|'''Fertility'''
|'''Fertility'''
|class="TC"|{{{Fertility}}}
|{{{Fertility}}}
[[Category:Fertile Blocks]]
[[Category:Fertile Blocks]]
}} }}
}} }}
{{#if: {{{LightLevel|}}} | {{#!:|- class{{{LightLevel}}}
{{#if: {{{LightLevel|}}} | {{#!:
|-
|-
|class="TC"|'''Light Level'''
|'''Light Level'''
|class="TC"|{{{LightLevel}}}
|{{{LightLevel}}}
[[Category:Light Emitters]]
[[Category:Light Emitters]]
}} }}
{{#if: {{{Tool|}}} | {{#!:|- class{{{Tool}}}
|-
|class="TC"|'''Tool'''
|class="TC"|{{{Tool}}}
}} }}
}} }}
{{#if: {{{Temp|}}} | {{#!:
{{#if: {{{Temp|}}} | {{#!:
Line 43: Line 38:
|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]]
[[Category:Blocks]]
</includeonly>


<noinclude>
<noinclude>
{{Block
|Name=Dirt
|Image=<nowiki>[[File:File: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:File:Grid Dirt Block.png]]</nowiki>
|-
| ''Stackable'' || Required || 64
|-
| ''Material'' || Optional || Soil
|-
| ''Drops'' || Optional, None || Dirt
|-
| ''Fertility'' || Optional || 65%
|-
| ''LightLevel'' || Optional || 5
|-
| ''Temp'' || Optional || 100
|-
| ''Duration'' || Optional || 20
|}
[[Category:Infoboxes]]
[[Category:Infoboxes]]
</noinclude>
</noinclude>
Confirmedusers, Bureaucrats, editor, Administrators
1,522

edits