Template:Block: Difference between revisions

From Vintage Story Wiki
no edit summary
mNo edit summary
No edit summary
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude><languages /></noinclude>
{|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; margin-left:5px; margin-bottom: 5px;"
|-
|-
|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="#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="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|bgcolor="#d3ab92" colspan=2 style="text-align: center"| [[{{{Image}}}|100px]]
|-
|'''Stackable'''
|{{{Stackable|64}}}
{{#if: {{{Material|}}} | {{#!:
{{#if: {{{Material|}}} | {{#!:
|-
|-
|'''Material'''
|'''<translate><!--T:1--> Material</translate>'''
|{{{Material}}}
|{{{Material}}}
}} }}
}} }}
|-
|-
|'''Drops'''
|'''<translate><!--T:2--> Stackable</translate>'''
|{{{Stackable|64}}}
|-
|'''<translate><!--T:3--> Drops</translate>'''
|{{{Drops|None}}}
|{{{Drops|None}}}
|-
{{#if: {{{Fertility|}}} |{{#!:
{{#if: {{{Fertility|}}} |{{#!:
|-
|'''<translate><!--T:4--> Fertility</translate>'''
|'''Fertility'''
|{{{Fertility}}}
|{{{Fertility}}}
[[Category:Fertile Blocks]]
[[Category:Fertile Blocks{{#translation:}}]]
}} }}
}} }}
|-
{{#if: {{{LightLevel|}}} | {{#!:
{{#if: {{{LightLevel|}}} | {{#!:
|-
|'''<translate><!--T:5--> Light Level</translate>'''
|'''Light Level'''
|{{{LightLevel}}}
|{{{LightLevel}}}
[[Category:Light Emitters]]
[[Category:Light Emitters{{#translation:}}]]
}} }}
}} }}
|-
{{#if: {{{Temp|}}} | {{#!:
{{#if: {{{Temp|}}} | {{#!:
|-
{{Item/Fuel
{{Item/Fuel
|Temp={{{Temp}}}
|Temp={{{Temp}}}
Line 39: Line 39:
{{Item/Smeltable
{{Item/Smeltable
|SmeltTemp={{{SmeltTemp}}}
|SmeltTemp={{{SmeltTemp}}}
|SmeltDuration={{{SmeltDuration}}}
<!--|SmeltDuration={{{SmeltDuration}}} -->    <!-- Removed because this information is unavailable -->
|SmeltRatio={{{SmeltRatio|1}}}
<!--|SmeltRatio={{{SmeltRatio|1}}} -->        <!-- Removed because this information is unavailable -->
|RequiresContainer={{{RequiresContainer|No}}}
|RequiresContainer={{{RequiresContainer|}}}
|OutputLink={{{OutputLink|}}}
|OutputName={{{OutputName|}}}
|OutputAmount={{{OutputAmount|1}}}
}}
}}
}} }}
}} }}
|-
|-
|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">'''<translate><!--T:6--> Blocks</translate>'''</font>]]
|}
|}{{#if:{{{NoBreak|}}}||{{-}} }}
[[Category:Blocks]]
[[Category:Blocks{{#translation:}}]]</includeonly>
</includeonly>
<noinclude>{{doc}}</noinclude>
 
<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
|SmeltTemp={{{SmeltTemp}}}
|SmeltDuration={{{SmeltDuration}}}
|SmeltRatio={{{SmeltRatio}}}
|RequiresContainer={{{RequiresContainer}}}
}}
 
{| 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
|-
| ''SmeltTemp'' || Optional || 1000
|-
| ''SmeltDuration'' || Required with ''SmeltTemp'' || 30
|-
| ''SmeltRatio'' || Optional, 1 || 0.5
|-
| ''RequiresContainer'' || Optional, No || Yes
|}
[[Category:Infoboxes]]
</noinclude>
Confirmedusers, editor
37,784

edits