Difference between revisions of "Template:Block"
From Electrical Age
Line 23: | Line 23: | ||
| Hardness: || {{{hardness|0}}} | | Hardness: || {{{hardness|0}}} | ||
|- | |- | ||
− | | Tool: || {{{tool| | + | | Tool: || [[{{{tool|Wrench}}}]] |
|- | |- | ||
| Stackable: || {{{Stackable|Yes (64)}}} | | Stackable: || {{{Stackable|Yes (64)}}} | ||
Line 39: | Line 39: | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
+ | <noinclude> | ||
+ | === Usage === | ||
+ | <br /> | ||
+ | {{Block | ||
+ | | blockname=Signal Cable | ||
+ | | type=Solid Block | ||
+ | | poweredby=Electrical Source | ||
+ | | requirements=Water nearby | ||
+ | | physics=No | ||
+ | | transparency=No | ||
+ | | Luminance=Yes | ||
+ | | blastresist=2.5 | ||
+ | | hardness=1 | ||
+ | | tool=Wrench | ||
+ | | stackable=Yes (64) | ||
+ | | flammable=No | ||
+ | | drops=Coal | ||
+ | | data=dec: 00 hex: 00 bin: 00 | ||
+ | }} | ||
+ | When creating a page about a block, use this template to quickly list all of the block's important information. This can be also called "infobox". The syntax may look like this: | ||
+ | <code> | ||
+ | {{Block<br /> | ||
+ | | blockname=Signal Cable<br /> | ||
+ | | type=Solid Block<br /> | ||
+ | | poweredby=Electrical Source<br /> | ||
+ | | requirements=Water nearby<br /> | ||
+ | | physics=No<br /> | ||
+ | | transparency=No<br /> | ||
+ | | Luminance=Yes<br /> | ||
+ | | blastresist=2.5<br /> | ||
+ | | hardness=1<br /> | ||
+ | | tool=Wrench<br /> | ||
+ | | stackable=Yes (64)<br /> | ||
+ | | flammable=No<br /> | ||
+ | | drops=Coal<br /> | ||
+ | | data=dec: 00 hex: 00 bin: 00<br /> | ||
+ | | blockname=Cable<br /> | ||
+ | }} | ||
+ | </code> | ||
+ | and will produce infobox similar to the one on the right of this page. Note, that the data on this page are fake, and are not similar to official ones! | ||
+ | </noinclude> |
Revision as of 21:30, 1 July 2014
Usage
Signal Cable
[[File:{{{image}}}.png|300px|center]]
Block type: | Solid Block |
Powered by: | Electrical Source |
Requirements for operation: | Water nearby |
Stackable: | Yes (64) |
When creating a page about a block, use this template to quickly list all of the block's important information. This can be also called "infobox". The syntax may look like this:
{{Block
| blockname=Signal Cable
| type=Solid Block
| poweredby=Electrical Source
| requirements=Water nearby
| physics=No
| transparency=No
| Luminance=Yes
| blastresist=2.5
| hardness=1
| tool=Wrench
| stackable=Yes (64)
| flammable=No
| drops=Coal
| data=dec: 00 hex: 00 bin: 00
| blockname=Cable
}}
and will produce infobox similar to the one on the right of this page. Note, that the data on this page are fake, and are not similar to official ones!