Difference between revisions of "Template:Block"

From Electrical Age
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="div-header" style="padding: 2px 0px; text-align: center;">{{{blockname}}}</div>
+
<div class="div-header" style="padding: 3px 0px; text-align: center;">{{{blockname}}}</div>
 
<div class="div-block">
 
<div class="div-block">
 +
[[File:{{{blockname}}}.png|239px]]
 
  test item
 
  test item
 
</div>
 
</div>
 
<!--
 
<!--
{|colspan="2" style="background: #EBEBEB" |
 
[[File:{{{blockname}}}.png|239px]]
 
 
{| class="wikitable" style="width:100%"
 
{| class="wikitable" style="width:100%"
 
| Block type: || {{{type|Solid Block}}}
 
| Block type: || {{{type|Solid Block}}}
Line 35: Line 34:
 
|-
 
|-
 
| Name: || {{{blockname}}}
 
| Name: || {{{blockname}}}
|}
+
|} -->
<small><small>* Environmental properties required to place this block...</small></small>
 
|}-->
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

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