Difference between revisions of "Template:Block"

From Electrical Age
Jump to: navigation, search
Line 4: Line 4:
 
<div class="div-block">
 
<div class="div-block">
 
[[File:{{{image}}}.png|120px|center]]
 
[[File:{{{image}}}.png|120px|center]]
test item
 
</div>
 
</div>
 
<!--
 
 
{| class="wikitable" style="width:100%"
 
{| class="wikitable" style="width:100%"
 
| Block type: || {{{type|Solid Block}}}
 
| Block type: || {{{type|Solid Block}}}
Line 36: Line 32:
 
|-
 
|-
 
| Name: || {{{blockname}}}
 
| Name: || {{{blockname}}}
|} -->
+
|}
 +
test item
 +
</div>
 +
</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Revision as of 22:06, 26 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!