|
|
| Línea 1: |
Línea 1: |
| <includeonly>{{infobox common | | <includeonly><span class="grid {{{class|}}}" {{ #if: {{{align|}}} | style="vertical-align: {{{align}}}" }}><span class="border"></span>{{ |
| | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} | | #if: {{{default|}}} | <span class="default-image">[[File:Grid {{{default}}}.png|link=]]</span> |
| | imagearea = {{
| | }}{{#if: {{#pos: {{{1}}} | , }} | <span class="animated"><!-- Animated, up to 15 frames |
| #if: {{#pos: {{{image}}} | ; }} | | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 0 }}|{{#explode: {{{2|}}} | , | 0 }}|imgclass=active|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}}<!-- 1st frame |
| | {{animate|{{{image}}}|return=[[File:{1}|150px|center]]}}
| |
| | [[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|center]]
| |
| }}{{
| |
|
| |
|
| #if: {{{image2|}}} | <div style="padding-top: 1em">{{
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 1 }}|{{#explode: {{{2|}}} | , | 1 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}}<!-- 2nd frame |
| #if: {{#pos: {{{image2}}} | ; }}
| |
| | {{animate|{{{image2}}}|return=[[File:{1}|150px|center]]}}
| |
| | [[File:{{{image2}}}|150px|center]]
| |
| }}</div>
| |
| }}{{
| |
|
| |
|
| #if: {{{image3|}}} | <div style="padding-top: 1em">{{
| | -->{{#if: {{#vardefineecho:c2|{{#pos: {{{1}}} | , | {{#expr: {{#pos: {{{1}}} | , }} + 1 }} }}}} |<!-- |
| #if: {{#pos: {{{image3}}} | ; }}
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 2 }}|{{#explode: {{{2|}}} | , | 2 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 3rd frame |
| | {{animate|{{{image3}}}|return=[[File:{1}|150px|center]]}}
| | |
| | [[File:{{{image3}}}|150px|center]]
| | -->{{#if: {{#vardefineecho:c3|{{#if: {{#var:c2}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c2}} + 1 }} }} }}}} |<!-- |
| }}</div>
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 3 }}|{{#explode: {{{2|}}} | , | 3 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 4th frame |
| }}{{ | | |
| #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: {{#vardefineecho:c4|{{#if: {{#var:c3}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c3}} + 1 }} }} }}}} |<!-- |
| }}{{
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 4 }}|{{#explode: {{{2|}}} | , | 4 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 5th frame |
| #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
| | |
| }}{{
| | -->{{#if: {{#vardefineecho:c5|{{#if: {{#var:c4}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c4}} + 1 }} }} }}}} |<!-- |
| #if: {{{invimage3|}}} | {{Grid|{{{invimage3}}}|link=none}}
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 5 }}|{{#explode: {{{2|}}} | , | 5 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 6th frame |
| }}{{
| | |
| #if: {{{invimage4|}}} | {{Grid|{{{invimage4}}}|link=none}}
| | -->{{#if: {{#vardefineecho:c6|{{#if: {{#var:c5}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c5}} + 1 }} }} }}}} |<!-- |
| }}{{
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 6 }}|{{#explode: {{{2|}}} | , | 6 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 7th frame |
| #if: {{{invimage5|}}} | {{Grid|{{{invimage5}}}|link=none}}
| | |
| }}{{
| | -->{{#if: {{#vardefineecho:c7|{{#if: {{#var:c6}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c6}} + 1 }} }} }}}} |<!-- |
| #if: {{{invimage6|}}} | {{Grid|{{{invimage6}}}|link=none}}
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 7 }}|{{#explode: {{{2|}}} | , | 7 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 8th frame |
| }}{{
| | |
| #if: {{{invimage7|}}} | {{Grid|{{{invimage7}}}|link=none}}
| | -->{{#if: {{#vardefineecho:c8|{{#if: {{#var:c7}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c7}} + 1 }} }} }}}} |<!-- |
| }}{{
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 8 }}|{{#explode: {{{2|}}} | , | 8 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 9th frame |
| #if: {{{invimage8|}}} | {{Grid|{{{invimage8}}}|link=none}}
| | |
| }}{{
| | -->{{#if: {{#vardefineecho:c9|{{#if: {{#var:c8}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c8}} + 1 }} }} }}}} |<!-- |
| #if: {{{invimage9|}}} | {{Grid|{{{invimage9}}}|link=none}}
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 9 }}|{{#explode: {{{2|}}} | , | 9 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 10th frame |
| }}{{
| | |
| #if: {{{invimage10|}}} | {{Grid|{{{invimage10}}}|link=none}}
| | -->{{#if: {{#vardefineecho:c10|{{#if: {{#var:c9}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c9}} + 1 }} }} }}}} |<!-- |
| }}{{
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 10 }}|{{#explode: {{{2|}}} | , | 10 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 11th frame |
| #if: {{{invimage11|}}} | {{Grid|{{{invimage11}}}|link=none}}
| | |
| }}{{
| | -->{{#if: {{#vardefineecho:c11|{{#if: {{#var:c10}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c10}} + 1 }} }} }}}} |<!-- |
| #if: {{{invimage12|}}} | {{Grid|{{{invimage12}}}|link=none}}
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 11 }}|{{#explode: {{{2|}}} | , | 11 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 12th frame |
| }}{{
| | |
| #if: {{{invimage13|}}} | {{Grid|{{{invimage13}}}|link=none}}
| | -->{{#if: {{#vardefineecho:c12|{{#if: {{#var:c11}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c11}} + 1 }} }} }}}} |<!-- |
| }}{{
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 12 }}|{{#explode: {{{2|}}} | , | 12 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 13th frame |
| #if: {{{invimage14|}}} | {{Grid|{{{invimage14}}}|link=none}}
| | |
| }}{{
| | -->{{#if: {{#vardefineecho:c13|{{#if: {{#var:c12}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c12}} + 1 }} }} }}}} |<!-- |
| #if: {{{invimage15|}}} | {{Grid|{{{invimage15}}}|link=none}}
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 13 }}|{{#explode: {{{2|}}} | , | 13 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 14th frame |
| }}{{
| | |
| #if: {{{invimage16|}}} | {{Grid|{{{invimage16}}}|link=none}}
| | -->{{#if: {{#vardefineecho:c14|{{#if: {{#var:c13}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c13}} + 1 }} }} }}}} |<!-- |
| }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | </div> }} }} }}
| | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 14 }}|{{#explode: {{{2|}}} | , | 14 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 15th frame |
| | rows = | | |
| {{infobox row|label=Tipo|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
| | -->{{#if: {{#vardefineecho:c15|{{#if: {{#var:c14}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c14}} + 1 }} }} }}}} |<!-- |
| {{ | | -->{{Grid/Cell|{{#explode: {{{1|}}} | , | 15 }}|{{#explode: {{{2|}}} | , | 15 }}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- 16th frame |
| #switch: {{ lc: {{{type|solid}}} }}
| | |
| | solid block | solid | block = {{infobox row|label=Requirements|field={{
| | -->{{#if: {{#if: {{#var:c15}} | {{#pos: {{{1}}} | , | {{#expr: {{#var:c15}} + 1 }} }} }} | [[Category:Too many frames]] }}<!-- More frames than supported |
| #switch: {{ lc: {{{dirt}}} }}
| | --></span><!-- |
| | Si = Luz y tierra
| | |
| | no = Ninguno
| | |
| | sand = Luz y arena
| | -->| {{Grid/Cell|{{{1|}}}|{{{2|}}}|mod={{{mod|}}}|title={{{title|}}}|link={{{link|}}}}} }}<!-- Not animated |
| | #default = {{ #if: {{{dirt|}}} | {{{dirt}}} | ? }}
| | --></span></includeonly><noinclude> |
| }} }}
| |
| }}
| |
| {{infobox row|label=Gravedad|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }}
| |
| {{infobox row|label=[[Transparencia]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }} | |
| {{infobox row|label=[[Luz]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
| |
| {{infobox row|label=Resistencia a las explosiones|field={{ #if: {{{tntres|}}} | {{{tntres}}} | ? }} }} | |
| {{infobox row|label=Herramienta{{ #if: {{{tool2|}}} | s }}|field={{
| |
| #switch: {{ lc: {{{tool|}}} }}
| |
| | pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pico|Éste bloque puede ser roto por cualquier herramienta, pero usando el pico es más rápido]]
| |
| | wooden pickaxe = [[File:Grid Wooden Pickaxe.png|32px|link=Pico|Un pico de madera o mejor es requerido para romper éste bloque]]
| |
| | stone pickaxe = [[File:Grid Stone Pickaxe.png|32px|link=Pico|Un pico de piedra o mejor es requerido para romper éste bloque]]
| |
| | iron pickaxe = [[File:Grid Iron Pickaxe.png|32px|link=Pico|Un pico de hierro o mejor es requerido para romper éste bloque]]
| |
| | diamond pickaxe = [[File:Grid Diamond Pickaxe.png|32px|link=Pico|Un pico de diamante o mejor es requerido para romper éste bloque]]
| |
| | gold pickaxe = [[File:Grid Gold Pickaxe.png|32px|link=Pico|Un pico de oro o mejor es requerido para romper éste bloque]]
| |
| | spade | shovel = [[File:Use-spade.png|32px|link=Pala|Éste bloque puede ser roto por cualquier herramienta, pero usando la pala es más rápido]]
| |
| | wooden shovel = [[File:Grid Wooden Shovel.png|32px|link=Pala|Una pala de madera o mejor es requerido para romper éste bloque]]
| |
| | axe = [[File:Use-axe.png|32px|link=Hacha|Éste bloque puede ser roto por cualquier herramienta, pero usando el hacha es más rápido]]
| |
| | hoe = [[File:Use-hoe.png|32px|link=Hoz|Éste bloque puede ser roto por cualquier herramienta, pero usando la hoz es más rápido]]
| |
| | bucket | pail = [[File:Use-bucket.png|32px|link=Cubo|Éste bloque sólo puede ser recogido usando un cubo]]
| |
| | sword = [[File:Use-sword.png|32px|link=Espada|Éste bloque puede ser roto por cualquier herramienta, pero usando la espada es más rápido; sin embargo, todavía tiene el doble de daño]]
| |
| | shears = [[File:Grid Shears.png|32px|link=Cizallas|Éste bloque puede ser roto por cualquier herramienta, pero usando las cizallas es más rápido]]
| |
| | n/a | none = Ninguno
| |
| | all | alltools | cualquiera | Cualquiera | Cualquier herramienta = Cualquiera
| |
| | #default = ?
| |
| }}{{
| |
| #if: {{{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=[[Recursos renovables|Renovable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }} | |
| {{infobox row|label=Apilable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }}
| |
| {{#ifeq: {{ lc: {{{type|fluid}}} }} | fluid | | |
| {{infobox row|label=Velocidad del liquido|field={{ #if: {{{fluidspeed|}}} | {{{fluidspeed}}} | ? }} }}
| |
| {{infobox row|label=Velocidad caminando sobre él|field={{ #if: {{{movespeed|}}} | {{{movespeed}}} | ? }} }}
| |
| }}
| |
| {{#if: {{{multiplevers|}}} | {{infobox row|label=Primeras apariciones|field= | |
| {{{multiplevers}}} }} | | |
| {{#if: {{{firstver|}}} | {{infobox row|label=Primera aparición|field={{version link|{{{firstver}}}}} }} }}
| |
| }} | |
| {{#if: {{{data|}}} | {{infobox row|label=[[Datos de valor]]|field={{data value|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }} }} | |
| | footer =
| |
| {{{notes|}}}
| |
| }}{{#if:{{NAMESPACE}}||[[Categoría:Bloques]]}}</includeonly><noinclude>
| |
| {{/doc}} | | {{/doc}} |
| [[Category:Infobox templates|B]][[fr:Modèle:Bloc]][[en:Template:Block]] | | [[Category:Image templates|G]] |
| </noinclude> | | [[de:Vorlage:Grid]] |
| | [[fr:Modèle:Grille]] |
| | [[pl:Szablon:Grid]]</noinclude> |