Template:Block/doc: Difference between revisions

From Vintage Story Wiki
Marked this version for translation
(Created page with "<languages /> <translate> This template creates an infobox that is designed for blocks in Vintage Story. It has the subcategories {{tl|Item/Fuel}} and {{tl|Item/Smeltable}} but it is currently unclear why it uses the Item prefix for smeltable blocks. == Usage == Unused parameters can be safely deleted. <pre> {{Block |Name= Name of the block |Image= File:Image name.png |Stackable= Maximum stack size |Material= The block's material type |Drops= What the block drops on b...")
 
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
This template creates an infobox that is designed for blocks in Vintage Story. It has the subcategories {{tl|Item/Fuel}} and {{tl|Item/Smeltable}} but it is currently unclear why it uses the Item prefix for smeltable blocks.
This template creates an infobox that is designed for blocks in Vintage Story. It has the subcategories {{tl|Item/Fuel}} and {{tl|Item/Smeltable}} but it is currently unclear why it uses the Item prefix for smeltable blocks.


== Usage ==
== Usage == <!--T:2-->


<!--T:3-->
Unused parameters can be safely deleted.
Unused parameters can be safely deleted.
<pre>
<pre>
Line 26: Line 28:
}}</pre>
}}</pre>


=== Parameters ===
=== Parameters === <!--T:4-->


<!--T:5-->
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 61: Line 64:
|}
|}


=== Examples ===
=== Examples === <!--T:6-->
</translate>
</translate>
{| class="wikitable" style="width: 75%"
{| class="wikitable" style="width: 75%"
Line 93: Line 96:
|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>n.b. The translate tags will be properly parsed and "disappear" once a page is marked for translation.</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
|Name=<translate>Blue clay in soil</translate>
|Name=<translate><!--T:8--> Blue clay in soil</translate>
|Image=File:Rawclay blue.png
|Image=File:Rawclay blue.png
|Stackable=64
|Stackable=64
|Material= <translate>Soil</translate>
|Material= <translate><!--T:9--> Soil</translate>
|Drops= <translate>4-5 Blue clay</translate>
|Drops= <translate><!--T:10--> 4-5 Blue clay</translate>
}}
}}
|}
|}
Confirmedusers, editor
2,857

edits