Template:Block: Difference between revisions

m (1 revision)
 
No edit summary
 
Line 1: Line 1:
<includeonly>{| class="wikia-infobox"
<includeonly>{{infobox common
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = {{
  #if: {{#pos: {{{image}}} | ; }}
  | {{animate|{{{image}}}|150px}}
  | [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No block image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150px]]
}}{{


|-
  #if: {{{image2|}}} | <div style="padding-top: 1em">{{
! class="wikia-infobox-header" colspan="2" | {{{title|{{PAGENAME}}}}}
    #if: {{#pos: {{{image2}}} | ; }}
    | {{animate|{{{image2}}}|150px}}
    | [[File:{{{image2}}}|150px]]
  }}</div>
}}{{


|-
  #if: {{{image3|}}} | <div style="padding-top: 1em">{{
{{#if: {{{image|}}} |
    #if: {{#pos: {{{image3}}} | ; }}
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image|}}}|{{{imagesize|175}}}px|{{{imagecaption|}}}]]
    | {{animate|{{{image3}}}|150px}}
| }}
    | [[File:{{{image3}}}|150px]]
 
  }}</div>
|-
}}{{
{{#if: {{{imagecaption|}}} |
  #ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{{invimage}}}|link=none}} | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}|link=none}} }} }}
{{!}} class="wikia-infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
  }}{{
| }}
  #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
 
  }}{{
|-
  #if: {{{invimage3|}}} | {{Grid|{{{invimage3}}}|link=none}}
! ID
  }}{{
| {{{id|''Unknown''}}}
  #if: {{{invimage4|}}} | {{Grid|{{{invimage4}}}|link=none}}
 
  }}{{
|-
  #if: {{{invimage5|}}} | {{Grid|{{{invimage5}}}|link=none}}
! Stackable
  }}{{
| {{{stackable|''Unknown''}}}
  #if: {{{invimage6|}}} | {{Grid|{{{invimage6}}}|link=none}}
 
  }}{{
|-
  #if: {{{invimage7|}}} | {{Grid|{{{invimage7}}}|link=none}}
! Type
  }}{{
| {{{type|''Unknown''}}}
  #if: {{{invimage8|}}} | {{Grid|{{{invimage8}}}|link=none}}
 
  }}{{
|-
  #if: {{{invimage9|}}} | {{Grid|{{{invimage9}}}|link=none}}
! Craftable
  }}{{
| {{{craftable|''Unknown''}}}
  #if: {{{invimage10|}}} | {{Grid|{{{invimage10}}}|link=none}}
 
  }}{{
|-
  #if: {{{invimage11|}}} | {{Grid|{{{invimage11}}}|link=none}}
{{#if: {{{isloot|}}} |
  }}{{
! Is Loot
  #if: {{{invimage12|}}} | {{Grid|{{{invimage12}}}|link=none}}
{{!}} {{{isloot}}}
  }}{{
| }}
  #if: {{{invimage13|}}} | {{Grid|{{{invimage13}}}|link=none}}
 
  }}{{
|-
  #if: {{{invimage14|}}} | {{Grid|{{{invimage14}}}|link=none}}
{{#if: {{{tool|}}} |
  }}{{
! Tool
  #if: {{{invimage15|}}} | {{Grid|{{{invimage15}}}|link=none}}
{{!}} {{{tool}}}
  }}{{
| }}
  #if: {{{invimage16|}}} | {{Grid|{{{invimage16}}}|link=none}}
 
  }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | </div> }} }} }}
|-
| rows =
{{#if: {{{light|}}} |
{{infobox row|label=Added by|field={{ #if: {{{addedby|}}} | [[{{{addedby}}}]] | ? }} }}
! Light Emitted
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{!}} {{{light}}}
{{
| }}
  #switch: {{ lc: {{{type|solid}}} }}
 
  | solid block | solid | block = {{infobox row|label=Requirements|field={{
|-
    #switch: {{ lc: {{{dirt}}} }}
{{#if: {{{blastresist|}}} |
    | yes = Sunlight and dirt
! Blast Resistance
    | no = None
{{!}} {{{blastresist}}}
    | sand = Sunlight and sand
| }}
    | #default = {{ #if: {{{dirt|}}} | {{{dirt}}} | ? }}
 
  }} }}
|-
}}
{{#if: {{{opacity|}}} |
{{infobox row|label=Physics|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }}
! Opacity
{{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }}
{{!}} {{{opacity}}}
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
| }}
{{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | {{{tntres}}} | {{Blast resistance values | {{ #titleparts: {{PAGENAME}} | 1 | 1 }} }} }} }}
 
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
|-
  #switch: {{ lc: {{{tool|}}} }}
{{#if: {{{smeltable|}}} |
  | pick  | pickaxe  = [[File:Use-pickaxe.png|32px|link=Pickaxe|This block can be broken with any tool, but a pickaxe is the quickest]]
! Smeltable
  | wooden pickaxe    = [[File:Grid Wooden Pickaxe.png|32px|link=Pickaxe|A wooden pickaxe or better is required to mine this block]]
{{!}} {{{smeltable}}}
  | stone pickaxe    = [[File:Grid Stone Pickaxe.png|32px|link=Pickaxe|A stone pickaxe or better is required to mine this block]]
| }}
  | iron pickaxe      = [[File:Grid Iron Pickaxe.png|32px|link=Pickaxe|An iron pickaxe or better is required to mine this block]]
 
  | diamond pickaxe  = [[File:Grid Diamond Pickaxe.png|32px|link=Pickaxe|A diamond pickaxe or better is required to mine this block]]
|-
  | gold pickaxe      = [[File:Grid Gold Pickaxe.png|32px|link=Pickaxe|A gold pickaxe or better is required to mine this block]]
{{#if: {{{smelttime|}}} |
  | spade  | shovel  = [[File:Use-spade.png|32px|link=Shovel|This block can be broken with any tool, but a shovel is the quickest]]
! Smelting Time
  | wooden shovel    = [[File:Grid Wooden Shovel.png|32px|link=Shovel|A wooden shovel or better is required to mine this block]]
{{!}} {{{smelttime}}}
  | axe              = [[File:Use-axe.png|32px|link=Axe|This block can be broken with any tool, but a axe is the quickest]]
| }}
  | hoe              = [[File:Use-hoe.png|32px|link=Hoe|This block can be broken with any tool, but a hoe is the quickest]]
 
  | bucket | pail    = [[File:Use-bucket.png|32px|link=Bucket|This block can only be picked up using a bucket]]
|-
  | sword            = [[File:Use-sword.png|32px|link=Sword|This block can be broken with any tool, but a sword is the quickest; however it still takes double damage]]
{{#if: {{{isfuel|}}} |
  | shears            = [[File:Grid Shears.png|32px|link=Shears|This block can be broken with any tool, but shears are the quickest]]
! Is Fuel
  | n/a    | none    = None
{{!}} {{{isfuel}}}
  | all    | alltools | any | anytool = Any tool
| }}
  | #default          = ?
 
}}{{
|-
  #if: {{{tool2|}}} | {{
{{#if: {{{burnable|}}} |
    #switch: {{ lc: {{{tool2}}} }}
! Burnable
    | pick  | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe]]
{{!}} {{{burnable}}}
    | wooden pickaxe  = [[File:Grid Wooden Pickaxe.png|32px|link=Pickaxe]]
| }}
    | stone pickaxe  = [[File:Grid Stone Pickaxe.png|32px|link=Pickaxe]]
 
    | iron pickaxe    = [[File:Grid Iron Pickaxe.png|32px|link=Pickaxe]]
|-
    | diamond pickaxe = [[File:Grid Diamond Pickaxe.png|32px|link=Pickaxe]]
{{#if: {{{addedby|}}} |
    | gold pickaxe    = [[File:Grid Gold Pickaxe.png|32px|link=Pickaxe]]
! Added By
    | spade | shovel  = [[File:Use-spade.png|32px|link=Shovel]]
{{!}} {{#if: {{{nomodlink|}}} | {{{addedby}}} | [[{{{addedby}}}]] }}
    | axe            = [[File:Use-axe.png|32px|link=Axe]]
| }}
    | hoe            = [[File:Use-hoe.png|32px|link=Hoe]]
 
    | shears          = [[File:Grid Shears.png|32px|link=Shears]]
|- style="font-size:0; line-height:0;"
  }}
! style="width:50%; padding:0" |
}} }}
! style="width:50%; padding:0" |
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}
 
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }}
|}{{#if: {{{clear|}}} | <div style="clear: {{{clear}}};"></div> | }}{{#if: {{{notypecat|}}} | | {{#if: {{{typecat|}}} | [[Category:{{{typecat}}}]] | {{#if: {{{type|}}} | [[Category:{{{type}}}]] | }} }} }}{{#if: {{{noaddedbycat|}}} | | {{#if: {{{addedbycat|}}} | [[Category:{{{addedbycat}}}]] | {{#if: {{{addedby|}}} | [[Category:{{{addedby}}}]] | }} }} }}{{#if: {{{noblockcat|}}} | | [[Category:Blocks]]}}{{#ifexpr: {{#if: {{{id|}}} | 0 | 1}} or {{#if: {{{stackable|}}} | 0 | 1}} or {{#if: {{{type|}}} | 0 | 1}} or {{#if: {{{craftable|}}} | 0 | 1}} | [[Category:Incomplete Templates]] | }}</includeonly><noinclude><br style="clear:both;"/>
{{infobox row|label=Flammable|field={{ #if: {{{flammable|}}} | {{{flammable}}} | No }} }}
{{/doc}}</noinclude>
{{infobox row|label=Availability|field={{ #if: {{{availability|}}} | {{{availability}}} | ? }} }}
{{#ifeq: {{ lc: {{{type|solid}}} }} | fluid |
  {{infobox row|label=Flow speed|field={{ #if: {{{fluidspeed|}}} | {{{fluidspeed}}} | ? }} }}
  {{infobox row|label=Player movement speed|field={{ #if: {{{movespeed|}}} | {{{movespeed}}} | ? }} }}
}}
{{#if: {{{multiplevers|}}}
| {{infobox row|label=First appearances|field={{{multiplevers}}} }}
| {{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
    #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})
    }}}}
  }}
}}
{{#if: {{{experience|}}} | {{infobox row | label= [[Experience]] | field= {{{experience}}} }} }}
{{infobox row | label= [[Drops]] | field= {{{drops|Itself}}} }}
{{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }} }}
| footer =
{{{notes|}}}
}}{{#if:{{NAMESPACE}}||[[Category:Blocks]]}}</includeonly><noinclude>
{{/doc}}
[[Category:Infobox templates|B]]
</noinclude>

Latest revision as of 15:41, 5 October 2013

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis