Diferencia entre revisiones de «Plantilla:Block»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 1: | Línea 1: | ||
<includeonly> | <includeonly>{{#invoke:infobox|infobox | ||
| rows = | | rows = | ||
{{infobox row|label= | {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | ||
{{ | {{ | ||
#switch: {{ lc: {{{ | #switch: {{ lc: {{{type|solid}}} }} | ||
| solid block | solid | block = {{infobox row|label= | | solid block | solid | block = {{infobox row|label=Requirements|field={{ | ||
#switch: {{ lc: {{{dirt}}} }} | #switch: {{ lc: {{{dirt}}} }} | ||
| | | yes = Sunlight and dirt | ||
| | | no = None | ||
| sand = | | sand = Sunlight and sand | ||
| #default = {{ #if: {{{dirt|}}} | {{{dirt}}} | ? }} | | #default = {{ #if: {{{dirt|}}} | {{{dirt}}} | ? }} | ||
}} }} | }} }} | ||
}} | }} | ||
{{infobox row|label= | {{infobox row|label=Physics|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }} | ||
{{infobox row|label=[[ | {{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }} | ||
{{infobox row|label=[[ | {{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }} | ||
{{infobox row|label= | {{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | {{{tntres}}} | {{Blast resistance values | {{ #titleparts: {{PAGENAME}} | 1 | 1 }} }} }} }} | ||
{{infobox row|label= | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{ | ||
#switch: {{ lc: {{{tool|}}} }} | #switch: {{ lc: {{{tool|}}} }} | ||
| | | 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]] | ||
| | | 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 = | | n/a | none = None | ||
| all | alltools | | | all | alltools | any | anytool = Any tool | ||
| #default = ? | | #default = ? | ||
}}{{ | }}{{ | ||
#if: {{{tool2|}}} | {{ | #if: {{{tool2|}}} | {{ | ||
#switch: {{ lc: {{{tool2}}} }} | #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]] | ||
| | | 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=[[ | {{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }} | ||
{{infobox row|label= | {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }} | ||
{{#ifeq: {{ lc: {{{type| | {{infobox row|label=Flammable|field={{ #if: {{{flammable|}}} | {{{flammable}}} | No }} }} | ||
{{infobox row|label= | {{infobox row|label=Availability|field={{ #if: {{{availability|}}} | {{{availability}}} | ? }} }} | ||
{{infobox row|label= | {{#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= | {{#if: {{{multiplevers|}}} | ||
{{{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}}} }} }} | |||
{{#if: {{NAMESPACE}} | |||
| | |||
| {{#ifeq: {{lc: {{{nameid}}} }} | none | |||
| | |||
| {{infobox row|label=[[Data values|Name]]|field={{ | |||
#if: {{{nameid|}}} | |||
| {{{nameid}}} | |||
| {{lc: {{#replace: {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} || _ }} }} | |||
}}}} | |||
}} | |||
}} | }} | ||
| footer = | | footer = | ||
{{{notes|}}} | {{{notes|}}} | ||
}}{{ | }}</includeonly><noinclude> | ||
{{/doc}} | |||
[[Category:Infobox templates|B]] | |||
[[de:Vorlage:Block]] | |||
[[fr:Modèle:Bloc]] | |||
[[nl:Sjabloon:Blok]] | |||
</noinclude> | |||