Difference between revisions of "Template:Block"

From Electrical Age
Jump to: navigation, search
(Undo revision 1496 by Jrddunbr (talk))
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
−
<includeonly>
+
<includeonly>[[Category:Blocks]]
−
<div class="div-header" style="padding: 5px 0px; text-align: center;">{{blockname}}}</div>
+
<div style="float: right; width: 350px; margin-left: 10px; margin-bottom: 10px;">
 +
<div class="div-header" style="padding: 3px 0px; text-align: center;">{{{blockname}}}</div>
 
<div class="div-block">
 
<div class="div-block">
−
test item
+
[[File:{{{image}}}.png|300px|center]]
−
</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: || {{catty|{{{type|Single}}}}}
−
|-
 
−
| Powered by: || {{{poweredby|Nothing}}}
 
−
|-
 
−
| Requirements*: || {{{requirements|None}}}
 
 
|-
 
|-
−
| Physics: || {{{physics|No}}}
+
| Powered by: || {{catty|{{{poweredby|Any Voltage}}}}}
 
|-
 
|-
−
| Transparency: || {{{transparency|No}}}
+
| Requirements for operation: || {{{requirements|Nothing}}}
−
|-
 
−
| Luminance: || {{{luminance|No}}}
 
−
|-
 
−
| Blast resistance: || {{{blastresist|2.5}}}
 
−
|-
 
−
| Hardness: || {{{hardness|0}}}
 
−
|-
 
−
| Tool: || [[{{{tool|Wrench}}}]]
 
 
|-
 
|-
 
| Stackable: || {{{Stackable|Yes (64)}}}
 
| Stackable: || {{{Stackable|Yes (64)}}}
−
|-
 
−
| Flammable: || {{{flammable|No}}}
 
−
|-
 
−
| Drops: || {{{drops|Itself}}}
 
−
|-
 
−
| Data value: || {{{data|dec: 00 hex: 00 bin: 00}}}
 
−
|-
 
−
| Name: || {{{blockname}}}
 
 
|}
 
|}
−
<small><small>* Environmental properties required to place this block...</small></small>
+
</div>
−
|}-->
+
</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
−
=== Usage ===
+
{{Block}}
−
<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>
 
</noinclude>

Latest revision as of 19:38, 16 May 2018

{{{blockname}}}

[[File:{{{image}}}.png|300px|center]]

Block type: Single
Powered by: Any Voltage
Requirements for operation: Nothing
Stackable: Yes (64)