Template:BlockInfo: Difference between revisions

From NodeCore Wiki
Jump to navigation Jump to search
m (Removing excess stuff that is unneccesary.)
m (Update stack_max)
 
(25 intermediate revisions by 2 users not shown)
Line 3: Line 3:
! colspan="2" style="font-size:120%; padding:0.5em; background-color: #2e9b96; color: #FFFFFF; border: 3px solid #83efe3; -khtml-border-radius: .7em; -icab-border-radius: .7em; -o-border-radius: .7em; -moz-border-radius:.7em"  class="color1" | {{{name|{{BASEPAGENAME}}}}}<!--border-radius: .7em; -webkit-border-radius: .7em; -->
! colspan="2" style="font-size:120%; padding:0.5em; background-color: #2e9b96; color: #FFFFFF; border: 3px solid #83efe3; -khtml-border-radius: .7em; -icab-border-radius: .7em; -o-border-radius: .7em; -moz-border-radius:.7em"  class="color1" | {{{name|{{BASEPAGENAME}}}}}<!--border-radius: .7em; -webkit-border-radius: .7em; -->
|-
|-
| colspan="2" style="padding:0.5em; text-align:center;" | [[File:{{#if: {{{image|}}} | {{{image|}}} | {{#ifexist: File:{{BASEPAGENAME}}.png | {{BASEPAGENAME}}.png | {{{name}}}.png }}}} | {{#if: {{{imgsize|}}} | | frameless}} | {{#if: {{{imgsize|}}}|{{{imgsize|}}}|150px}}]]
| colspan="2" style="padding:0.5em; text-align:center;" | [[File:{{{image|{{BASEPAGENAME}}.jpg}}}|200px|alt="A picture of {{{image|{{BASEPAGENAME}}}}}"]]
|-
|-
! colspan="2" style="font-size:120%; padding:0.1em; background-color: #2e9b96; color: #FFFFFF; border: 3px solid #83efe3; -khtml-border-radius: .7em; -icab-border-radius: .7em; -o-border-radius: .7em; -moz-border-radius:.7em"  class="color1" | Statistics
! colspan="2" style="font-size:120%; padding:0.1em; background-color: #2e9b96; color: #FFFFFF; border: 3px solid #83efe3; -khtml-border-radius: .7em; -icab-border-radius: .7em; -o-border-radius: .7em; -moz-border-radius:.7em"  class="color1" | Statistics
|-
| '''[[mcw:Breaking#Speed|Hardness]]'''
| {{#if: {{{hardness|}}}
| {{{hardness}}}
| ? {{#if: {{NAMESPACE}} | | [[Category:Pages missing hardness stat]]}}
}}
|-
| '''[[mcw:Explosion#Effect|Blast resistance]]'''
| {{#if: {{{blastresistance|}}}
| {{{blastresistance}}}
| ? {{#if: {{NAMESPACE}} | | [[Category:Pages missing blast resistance stat]]}}
}}
|-


{{#if: {{{transparent|}}}{{{transparency|}}}|
{{!}} '''[[mcw:Opacity|Transparent]]'''
{{!}} {{{transparent|}}}{{{transparency|}}}
}}
|-
|-
{{!}}'''Flammable'''
{{!}}{{{flammable|No}}}


{{#if: {{{luminance|}}}|
{{!}} '''[[mcw:Light|Luminance]]'''
{{!}} {{{luminance}}}
}}
|-
|-
{{!}}'''Stackable?'''
{{!}}{{{stackable|Yes (100)}}}


{{#if: {{{flammable|}}}{{{flamability|}}}|
{{!}} '''Flammable'''
{{!}} {{{flammable|}}}{{{flamability|}}}
}}
|-
|-
{{!}}'''Affected by gravity?'''
{{!}}{{{gravity|Yes}}}


{{#if: {{{renewable|}}}|
{{!}} '''Renewable'''
{{!}} {{{renewable}}}
}}
|-
|-


{{#if: {{{stackable|}}}|
{{!}} '''Stackable'''
{{!}} {{{stackable}}}
}}
|-


{{#if: {{{tool|}}}|
</includeonly>
{{!}} '''Tool'''
{{!}} {{{tool}}}
}}
|-
 
{{#if: {{{drops|}}}|
{{!}} '''Drops'''
{{!}} {{{drops}}}
}}
|-


{{#if: {{{id|}}}|
<noinclude>
{{!}} '''ID'''
This is the template page for defining the properties and information of a node. To include this in your page, please paste this into your page: <br>
{{!}} {{{id}}}
<pre>
{{BlockInfo
|name (optional, title of the block)
|image (optional, filename of image to use)
|flammable
|stackable
|gravity
}}
}}
|-
</pre>
 
{{#if: {{{versionadded|}}}|
{{!}} '''Version added'''
{{!}} {{{versionadded}}}
}}
 
|-
|}
{{#switch: {{lc: {{{renewable}}} }}
|yes = [[Category:Renewable resources]]
|no = [[Category:Nonrenewable resources]]
}}
[[Category:Blocks]]</includeonly><noinclude>
 
</noinclude>
</noinclude>

Latest revision as of 21:04, 11 August 2022


This is the template page for defining the properties and information of a node. To include this in your page, please paste this into your page:

{{BlockInfo
|name (optional, title of the block)
|image (optional, filename of image to use)
|flammable
|stackable
|gravity
}}