Template:Block/doc: Difference between revisions

From Vintage Story Wiki
no edit summary
m (width style for pre section)
No edit summary
Line 12: Line 12:
{{Block
{{Block
|Name= Name of the block
|Name= Name of the block
|Image= File:Image name.png
|Image= Full image name with File: prefix and file extension i.e. File:Imageexample.png
|Stackable= Maximum stack size
|Material= The block's material type
|Material= The block's material type
|Stackable= Maximum stack size, defaults to 64
|Drops= What the block drops on breaking
|Drops= What the block drops on breaking
|Fertility= Fertility of the block for farming
|Fertility= Fertility of the block for farming
|LightLevel= Light level that the block generates
|LightLevel= Light level that the block generates
|Temp= Burning temperature
|Temp= Burning temperature
|Duration= Burning time in seconds
|Duration= Burning duration in seconds
|SmeltTemp= Smelting temperature
|SmeltTemp= Smelting temperature
|SmeltDuration= Smelting duration in seconds
|RequiresContainer= Whether or not smelting requires a container
|SmeltRatio= (unclear)
|OutputLink=Link to the container's (e.g. a mold) wiki page in your prefered language (you do not need to write Special:MyLanguage/)
|RequiresContainer= (unclear)
|OutputName=Container name to be displayed (or its translation)
|Output= Smelting output
|OutputAmount=Number of items obtained after emptying the container
|OutputAmount= Smelting output amount
}}</pre>
}}</pre>


Line 39: Line 38:
| Name || Name of the block || string || yes
| Name || Name of the block || string || yes
|-
|-
| Image || Image name, including "File:" prefix || file || yes
| Image || Filename of an image, including "File:" prefix and ".png" suffix || file || yes
|-
| Material || The block's material type || string || suggested
|-
|-
| Stackable || Maximum stack size, defaults to 64 || number || suggested
| Stackable || Maximum stack size, defaults to 64 || number || suggested
|-
| Material || The block's material type || string || suggested
|-
|-
| Drops || What the block drops on breaking || wikitext || suggested
| Drops || What the block drops on breaking || wikitext || suggested
Line 53: Line 52:
| SmeltTemp || Smelting temperature || number || yes for Item/Smeltable
| SmeltTemp || Smelting temperature || number || yes for Item/Smeltable
|-
|-
| SmeltDuration || Smelt duration in seconds || number || yes for Item/Smeltable
| RequiresContainer || Whether or not smelting requires a container || string || no
|-
| SmeltRatio || (Unsure) || float || unsure
|-
|-
| RequiresContainer || Whether or not smelting requires a container || string || no
|OutputLink || Smelting output container page link || string || yes if RequiresContainer is present
|-
|-
| Output || Smelting output || string || no
|OutputName || Smelting output container name || string || yes if RequiresContainer is present
|-
|-
| OutputAmount || Smelting output amount || number || no
|OutputAmount || Amount of items obtained after emptying the container || number || yes if OutputName is present
|}
|}


Line 72: Line 69:
| <pre>
| <pre>
{{Block
{{Block
|Name=Low fertility soil
|Name=Forest soil
|Image=File:Soil-low-normal.png
|Image=File:Forestfloor-0.png
|Material=Soil
|Stackable=64
|Stackable=64
|Material=Soil
|Fertility=25%
|Fertility=25%
|Drops=Low fertility soil
|Drops=Low fertility soil
Line 81: Line 78:
</pre>  
</pre>  
|| {{Block
|| {{Block
|Name=Low fertility soil
|Name=Forest soil
|Image=File:Soil-low-normal.png
|Image=File:Forestfloor-0.png
|Material=Soil
|Stackable=64
|Stackable=64
|Material=Soil
|Fertility=25%
|Fertility=25%
|Drops=Low fertility soil
|Drops=Low fertility soil
Line 90: Line 87:
|-
|-
| <pre>
| <pre>
&lt;/translate>
{{Block
{{Block
|Name=&lt;translate>Blue clay&lt;/translate>
|Name=&lt;translate>Blue clay&lt;/translate>
Line 96: Line 94:
|Material= &lt;translate>Soil&lt;/translate>
|Material= &lt;translate>Soil&lt;/translate>
|Drops= &lt;translate>4-5 Blue clay&lt;/translate>
|Drops= &lt;translate>4-5 Blue clay&lt;/translate>
}}</pre> <translate><!--T:7--> n.b. The translate tags will be properly parsed and "disappear" once a page is marked for translation.</translate>
}}
&lt;translate></pre> <translate><!--T:7--> n.b. The translate tags will be properly parsed and "disappear" once a page is marked for translation.</translate>
||
||
{{Block
{{Block
Confirmedusers, editor
37,785

edits