Template:Block: Difference between revisions
Jump to navigation
Jump to search
m (Grouped numericals and booleans.) |
(Made the Template much more straightforward.) |
||
Line 15: | Line 15: | ||
|- | |- | ||
!Blast Resistance | !Blast Resistance | ||
|{{{blastres|}}} | |{{{blastres|0}}} | ||
|- | |- | ||
Line 32: | Line 32: | ||
!Renewable | !Renewable | ||
|{{{renewable|No}}} | |{{{renewable|No}}} | ||
|- | |- | ||
Line 47: | Line 43: | ||
<pre> | <pre> | ||
{{Block | {{Block | ||
|name= ( | |name= Optional (Defaults to the Page Title) | ||
|image= | |image= [[image:FileLink.png]] | ||
|tool= | |tool= Best tool for harvesting (Defaults to N/A) | ||
|hardness= ( | |hardness= In-Code Block Hardness (Defaults to -1. Proper negative values break WikiTables) | ||
|blastres= ( | |blastres= In-Code Blast Resistance (Defaults to 0) | ||
|luminance= ( | |luminance= In-Code Illumination (Defaults to 0) | ||
|stackable= ( | |stackable= Is the block stackable? (Yes/No) | ||
|transparent= ( | |transparent= Can you see through the block? (Yes/Partially/No) | ||
|renewable= ( | |renewable= Can the block be obtained infinitely? (Yes/No) | ||
| | |id= In-Game ID (Use F3 + H for In-Game Tooltips)(See also: Template:Modid) | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:16, 13 November 2023
Block | |
---|---|
Tool | N/A |
Hardness | –1 |
Blast Resistance | 0 |
Luminance | 0 |
Stackable | No |
Transparency | No |
Renewable | No |
ID |
Template for creating pages on Items. By definition, a Block is an object that may be placed or broken in the world.
Usage:
{{Block |name= Optional (Defaults to the Page Title) |image= [[image:FileLink.png]] |tool= Best tool for harvesting (Defaults to N/A) |hardness= In-Code Block Hardness (Defaults to -1. Proper negative values break WikiTables) |blastres= In-Code Blast Resistance (Defaults to 0) |luminance= In-Code Illumination (Defaults to 0) |stackable= Is the block stackable? (Yes/No) |transparent= Can you see through the block? (Yes/Partially/No) |renewable= Can the block be obtained infinitely? (Yes/No) |id= In-Game ID (Use F3 + H for In-Game Tooltips)(See also: Template:Modid) }}