Template:Block: Difference between revisions

From Vintage Story Wiki
no edit summary
m (it did not)
No edit summary
 
(33 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}}}
}} }}
}} }}
{{#if: {{{Fertility|}}} | {{#!:
|-
|-
|'''Fertility'''
|'''<translate><!--T:2--> Stackable</translate>'''
|{{{Stackable|64}}}
|-
|'''<translate><!--T:3--> Drops</translate>'''
|{{{Drops|None}}}
|-
{{#if: {{{Fertility|}}} |{{#!:
|'''<translate><!--T:4--> Fertility</translate>'''
|{{{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: {{{DropCode1|}}} | {{#!:
|-
|-
{{Drops
|Code1={{{DropCode1|}}}
|Avg1={{{DropAvg1|}}}
|Var1={{{DropVar1|}}}
|Code2={{{DropCode2|}}}
|Avg2={{{DropAvg2|}}}
|Var2={{{DropVar2|}}}
|Code3={{{DropCode3|}}}
|Avg3={{{DropAvg3|}}}
|Var3={{{DropVar3|}}}
|Code4={{{DropCode4|}}}
|Avg4={{{DropAvg4|}}}
|Var4={{{DropVar4|}}}
}}
}} }}
{{#if: {{{Temp|}}} | {{#!:
{{#if: {{{Temp|}}} | {{#!:
|-
{{Item/Fuel
{{Item/Fuel
|Temp={{{Temp}}}
|Temp={{{Temp}}}
Line 50: Line 36:
}} }}
}} }}
|-
|-
|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>]]
{{#if: {{{SmeltTemp|}}} | {{#!:
|}
{{Item/Smeltable
[[Category:Blocks]]
|SmeltTemp={{{SmeltTemp}}}
</includeonly>
<!--|SmeltDuration={{{SmeltDuration}}} -->    <!-- Removed because this information is unavailable -->
 
<!--|SmeltRatio={{{SmeltRatio|1}}} -->         <!-- Removed because this information is unavailable -->
<noinclude>
|RequiresContainer={{{RequiresContainer|}}}
{{Block
|OutputLink={{{OutputLink|}}}
|Name=Dirt
|OutputName={{{OutputName|}}}
|Image=<nowiki>Grid Dirt Block.png</nowiki>
|OutputAmount={{{OutputAmount|1}}}
|Stackable=64
|Material=Soil
|DropCode1=Dirt
|DropAvg1=1
|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 || 16
|-
| ''Material'' || Optional || Soil
|-
| ''Fertility'' || Optional || 65%
|-
| ''LightLevel'' || Optional || 5
|-
| Drops || Optional || See [[Template:Drops]]
|-
| ''Temp'' || Optional || 100
|-
|-
| ''Duration'' || Optional || 20
|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:Infoboxes]]
[[Category:Blocks{{#translation:}}]]</includeonly>
</noinclude>
<noinclude>{{doc}}</noinclude>
Confirmedusers, editor
37,784

edits