Template:Block: Difference between revisions
Mastergalen (talk | contribs) m (1 revision) |
Mastergalen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| | <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">{{ | ||
#if: {{#pos: {{{image2}}} | ; }} | |||
| {{animate|{{{image2}}}|150px}} | |||
| [[File:{{{image2}}}|150px]] | |||
}}</div> | |||
}}{{ | |||
|- | #if: {{{image3|}}} | <div style="padding-top: 1em">{{ | ||
{{# | #if: {{#pos: {{{image3}}} | ; }} | ||
{{ | | {{animate|{{{image3}}}|150px}} | ||
| }} | | [[File:{{{image3}}}|150px]] | ||
}}</div> | |||
| | }}{{ | ||
{{#if: {{{ | #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}} }} }} | ||
{{ | }}{{ | ||
| }} | #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}} | ||
}}{{ | |||
| | #if: {{{invimage3|}}} | {{Grid|{{{invimage3}}}|link=none}} | ||
}}{{ | |||
#if: {{{invimage4|}}} | {{Grid|{{{invimage4}}}|link=none}} | |||
}}{{ | |||
| | #if: {{{invimage5|}}} | {{Grid|{{{invimage5}}}|link=none}} | ||
}}{{ | |||
| {{{ | #if: {{{invimage6|}}} | {{Grid|{{{invimage6}}}|link=none}} | ||
}}{{ | |||
| | #if: {{{invimage7|}}} | {{Grid|{{{invimage7}}}|link=none}} | ||
}}{{ | |||
#if: {{{invimage8|}}} | {{Grid|{{{invimage8}}}|link=none}} | |||
}}{{ | |||
| | #if: {{{invimage9|}}} | {{Grid|{{{invimage9}}}|link=none}} | ||
}}{{ | |||
| {{{ | #if: {{{invimage10|}}} | {{Grid|{{{invimage10}}}|link=none}} | ||
}}{{ | |||
| | #if: {{{invimage11|}}} | {{Grid|{{{invimage11}}}|link=none}} | ||
{{#if: {{{ | }}{{ | ||
#if: {{{invimage12|}}} | {{Grid|{{{invimage12}}}|link=none}} | |||
{{ | }}{{ | ||
| }} | #if: {{{invimage13|}}} | {{Grid|{{{invimage13}}}|link=none}} | ||
}}{{ | |||
| | #if: {{{invimage14|}}} | {{Grid|{{{invimage14}}}|link=none}} | ||
{{#if: {{{ | }}{{ | ||
#if: {{{invimage15|}}} | {{Grid|{{{invimage15}}}|link=none}} | |||
{{ | }}{{ | ||
| }} | #if: {{{invimage16|}}} | {{Grid|{{{invimage16}}}|link=none}} | ||
}}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | </div> }} }} }} | |||
| | | rows = | ||
{{#if: {{{ | {{infobox row|label=Added by|field={{ #if: {{{addedby|}}} | [[{{{addedby}}}]] | ? }} }} | ||
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | |||
{{ | {{ | ||
| }} | #switch: {{ lc: {{{type|solid}}} }} | ||
| solid block | solid | block = {{infobox row|label=Requirements|field={{ | |||
| | #switch: {{ lc: {{{dirt}}} }} | ||
{{#if: {{{ | | yes = Sunlight and dirt | ||
| no = None | |||
{{ | | sand = Sunlight and sand | ||
| }} | | #default = {{ #if: {{{dirt|}}} | {{{dirt}}} | ? }} | ||
}} }} | |||
}} | |||
{{#if: {{{ | {{infobox row|label=Physics|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }} | ||
{{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }} | |||
{{ | {{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: {{{ | | pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe|This block can be broken with any tool, but a pickaxe is the quickest]] | ||
| wooden pickaxe = [[File:Grid Wooden Pickaxe.png|32px|link=Pickaxe|A wooden pickaxe or better is required to mine this block]] | |||
{{ | | 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: {{{ | | spade | shovel = [[File:Use-spade.png|32px|link=Shovel|This block can be broken with any tool, but a shovel is the quickest]] | ||
| wooden shovel = [[File:Grid Wooden Shovel.png|32px|link=Shovel|A wooden shovel or better is required to mine this block]] | |||
{{ | | 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]] | ||
{{# | | shears = [[File:Grid Shears.png|32px|link=Shears|This block can be broken with any tool, but shears are the quickest]] | ||
| n/a | none = None | |||
{{ | | all | alltools | any | anytool = Any tool | ||
| }} | | #default = ? | ||
}}{{ | |||
| | #if: {{{tool2|}}} | {{ | ||
{{#if: {{{ | #switch: {{ lc: {{{tool2}}} }} | ||
| pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe]] | |||
{{ | | 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: {{{ | | gold pickaxe = [[File:Grid Gold Pickaxe.png|32px|link=Pickaxe]] | ||
| spade | shovel = [[File:Use-spade.png|32px|link=Shovel]] | |||
{{ | | axe = [[File:Use-axe.png|32px|link=Axe]] | ||
| }} | | hoe = [[File:Use-hoe.png|32px|link=Hoe]] | ||
| shears = [[File:Grid Shears.png|32px|link=Shears]] | |||
|- | }} | ||
}} }} | |||
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }} | |||
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }} | |||
|}{{#if: {{{ | {{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.