Difference between revisions of "Template:Block"
Jump to navigation
Jump to search
(Bring back newid property as we are now official) |
(This was never meant to be "Data Tables". Whoops.) |
||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" id="blockInfobox" style="float:right; margin-left: 100px;" | <includeonly>{|class="wikitable" id="blockInfobox" style="float:right; margin-left: 100px;" | ||
!colspan="2"|{{{name| {{BASEPAGENAME}} }}} | !colspan="2" style="font-size: 1.4em;"|{{{name| {{BASEPAGENAME}} }}} | ||
|- | |- | ||
|colspan="2" style="background-color: #222" |{{{image|}}} | |colspan="2" style="background-color: #222; padding: 30px;"|[[File:{{{image|Unknown.png}}}|center|128px]] | ||
|- | |- | ||
!Transparency | !Transparency | ||
|{{{transparent| | |{{{transparent|None}}} | ||
|- | |- | ||
!Luminance | !Luminance | ||
|{{{luminance|None}}} | |{{{luminance|None}}} | ||
|- | |||
!Hardness | |||
|{{{hardness|}}} | |||
|- | |- | ||
Line 19: | Line 23: | ||
|- | |- | ||
!Tool | !Tool | ||
|{{{tool|}}} | |{{{tool|Unknown}}} [[File:{{{tool|Unknown}}}.png|link=|32px]] | ||
|- | |- | ||
Line 31: | Line 35: | ||
|- | |- | ||
!Flammable | !Flammable | ||
|{{{flammable| | |{{{flammable|No}}} | ||
|- | |- | ||
!ID | !ID | ||
|{{{id|}} | |{{{id|[[{{BASEPAGENAME}}#Data_Values|Data Values]] }}} | ||
|}</includeonly><noinclude> | |||
This template is used to make a nice table for anything relating to Blocks and their related pages.<br> | |||
Here is a general breakdown of how to use this template: | |||
|}<noinclude> | |||
<pre> | <pre> | ||
{{Block | {{Block | ||
|name= ( | |name= <!-- The Name of this Block (Optional) --> | ||
|image= | |image= <!-- The Image File of this Block --> | ||
|transparent= | |transparent= <!-- Is this Block Transparent? Yes/No --> | ||
|luminance= | |luminance= <!-- The Amount of Light Emitted --> | ||
| | |hardness= <!-- The Block Hardness Value --> | ||
| | |blastres= <!-- The Blast Resistance Value --> | ||
| | |stackable= <!-- Is this Block Stackable? How many? --> | ||
| | |renewable= <!-- Is this Block Renewable? Yes/No --> | ||
|flammable= | |flammable= <!-- Is this Block Flammable? Yes/No --> | ||
|id= | |id= <!-- The ID of the Block --> | ||
}} | }} | ||
</pre> | </pre> | ||
{{Block | |||
|name=Block of Fiery Metal | |||
|image=Block of Fiery Metal.png | |||
|hardness=5 | |||
|blastres=6 | |||
|tool=Iron Pickaxe | |||
|renewable=No | |||
|stackable=Yes (64) | |||
|id= twilightforest:fiery_block | |||
}} | |||
==Style Guide== | |||
* '''Do''' use isometric renders of blocks. Images should be no more than 480px with a transparent background. | |||
* '''Do''' use the correct tool name for the <code>tool</code> parameter. An incorrect name will lead to display errors. | |||
* '''Do''' use the correct image name for the <code>image</code> parameter. An incorrect name will lead to display errors. | |||
* '''Do''' use correct grammar for parameter input. All words not pertaining to <code>id</code> should be capitalized. | |||
* '''Do not''' insert incorrect data. Before submitting a change, consult with appropriate parties to verify values. Intentional disruption of data will result in a block. | |||
* '''Do not''' assume values for parameters. Values should be used from in-game data or code. | |||
* '''Do not''' use screenshots or large images for the <code>image</code> parameter. | |||
* '''Do not''' use HTML markdown to alter the template. Changes must be approved for the template. | |||
* '''Do not''' insert more information than what the infobox is capable of holding. Additional information must be input in text description. | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:17, 21 August 2024
This template is used to make a nice table for anything relating to Blocks and their related pages.
Here is a general breakdown of how to use this template:
{{Block |name= <!-- The Name of this Block (Optional) --> |image= <!-- The Image File of this Block --> |transparent= <!-- Is this Block Transparent? Yes/No --> |luminance= <!-- The Amount of Light Emitted --> |hardness= <!-- The Block Hardness Value --> |blastres= <!-- The Blast Resistance Value --> |stackable= <!-- Is this Block Stackable? How many? --> |renewable= <!-- Is this Block Renewable? Yes/No --> |flammable= <!-- Is this Block Flammable? Yes/No --> |id= <!-- The ID of the Block --> }}
Block of Fiery Metal | |
---|---|
Transparency | None |
Luminance | None |
Hardness | 5 |
Blast Resistance | 6 |
Tool | Iron Pickaxe |
Renewable | No |
Stackable | Yes (64) |
Flammable | No |
ID | twilightforest:fiery_block |
Style Guide[edit]
- Do use isometric renders of blocks. Images should be no more than 480px with a transparent background.
- Do use the correct tool name for the
tool
parameter. An incorrect name will lead to display errors. - Do use the correct image name for the
image
parameter. An incorrect name will lead to display errors. - Do use correct grammar for parameter input. All words not pertaining to
id
should be capitalized. - Do not insert incorrect data. Before submitting a change, consult with appropriate parties to verify values. Intentional disruption of data will result in a block.
- Do not assume values for parameters. Values should be used from in-game data or code.
- Do not use screenshots or large images for the
image
parameter. - Do not use HTML markdown to alter the template. Changes must be approved for the template.
- Do not insert more information than what the infobox is capable of holding. Additional information must be input in text description.