Diferencia entre revisiones de «Plantilla:Crafting/doc»

De WikiMinecraft
Saltar a: navegación, buscar
(Página creada con «{{doc/start}} {{lua}} Using this template, you can create tables like those commonly used in the “Crafting” and “As a crafting ingredient” sections of articles abou...»)
 
Línea 11: Línea 11:
 
{{Crafting
 
{{Crafting
 
   |head=1
 
   |head=1
   |B2=Coal
+
   |B2=Carbón
   |B3=Stick
+
   |B3=Palo
   |Output=Torch,4
+
   |Output=Antorcha,4
 
}}
 
}}
 
{{Crafting
 
{{Crafting
   |Blaze Powder
+
   |Bara Llameante
   |Gunpowder
+
   |Pólvora
   |Coal
+
   |Carbñon
 
   |Output=Fire Charge,3
 
   |Output=Fire Charge,3
 
   }}
 
   }}
 
{{Crafting
 
{{Crafting
   |A1= Coal |B1= Coal |C1= Coal
+
   |A1= Carbón |B1= Carbón |C1= Carbón
   |A2= Coal |B2= Coal |C2= Coal
+
   |A2= Carbón |B2= Carbón |C2= Carbón
   |A3= Coal |B3= Coal |C3= Coal
+
   |A3= Carbón |B3= Carbón |C3= Carbón
   |Output=Block of Coal
+
   |Output=Bloque de Carbón
 
   |upcoming=1.6
 
   |upcoming=1.6
 
}}
 
}}
Línea 31: Línea 31:
 
   |name=[[Pickaxe]]
 
   |name=[[Pickaxe]]
 
   |ingredients=[[Stick]]s +<br>[[Wood Planks]] or<br> [[Cobblestone]] or<br>[[Iron Ingot]]s or<br>[[Gold Ingot]]s or<br>[[Diamond]]s
 
   |ingredients=[[Stick]]s +<br>[[Wood Planks]] or<br> [[Cobblestone]] or<br>[[Iron Ingot]]s or<br>[[Gold Ingot]]s or<br>[[Diamond]]s
   |A1=Wooden Plank; Cobblestone; Iron Ingot; Gold Ingot; Diamond
+
   |A1=Tablas de Madera; Hierro; Oro; Diamante; Roca
   |B1=Wooden Plank; Cobblestone; Iron Ingot; Gold Ingot; Diamond
+
   |B1=Tablas de Madera; Hierro; Oro; Diamante; Roca
   |C1=Wooden Plank; Cobblestone; Iron Ingot; Gold Ingot; Diamond
+
   |C1=Tablas de Madera; Hierro; Oro; Diamante; Roca
   |B2=Stick
+
   |B2=Palo
   |B3=Stick
+
   |B3=Palo
   |Output=Wooden Pickaxe; Stone Pickaxe; Iron Pickaxe; Gold Pickaxe; Diamond Pickaxe
+
   |Output=Pico de Madera; Pico de Hierro: Pico de Oro; Pico de Diamante; Pico de Piedra
 
   |foot=1
 
   |foot=1
}}
 
</pre>
 
produces:
 
  
{{Crafting
 
  |head=1
 
  |B2=Coal
 
  |B3=Stick
 
  |Output=Torch,4
 
}}
 
{{Crafting
 
  |Blaze Powder
 
  |Gunpowder
 
  |Coal
 
  |Output=Fire Charge,3
 
  }}
 
{{Crafting
 
  |A1= Coal |B1= Coal |C1= Coal
 
  |A2= Coal |B2= Coal |C2= Coal
 
  |A3= Coal |B3= Coal |C3= Coal
 
  |Output=Block of Coal
 
  |upcoming=1.6
 
}}
 
{{Crafting
 
  |name=[[Pickaxe]]
 
  |ingredients=[[Stick]]s +<br>[[Wood Planks]] or<br> [[Cobblestone]] or<br>[[Iron Ingot]]s or<br>[[Gold Ingot]]s or<br>[[Diamond]]s
 
  |A1=Wooden Plank; Cobblestone; Iron Ingot; Gold Ingot; Diamond
 
  |B1=Wooden Plank; Cobblestone; Iron Ingot; Gold Ingot; Diamond
 
  |C1=Wooden Plank; Cobblestone; Iron Ingot; Gold Ingot; Diamond
 
  |B2=Stick
 
  |B3=Stick
 
  |Output=Wooden Pickaxe; Stone Pickaxe; Iron Pickaxe; Gold Pickaxe; Diamond Pickaxe
 
  |foot=1
 
}}
 
  
 
{{doc/end}}
 
{{doc/end}}

Revisión del 22:42 10 jul 2014

Template-info.png Documentación
Lua logo.png
Esta plantilla usa Módulo:Crafting, un script escrito en el lenguaje de programación Lua. Por favor lea mw:Lua y mw:Extension:Scribunto para saber más del lenguaje Lua.

Using this template, you can create tables like those commonly used in the “Crafting” and “As a crafting ingredient” sections of articles about blocks and items. It can be used similarly to {{Grid/Crafting Table}}, except it creates the table for you.

By default, the table generates with 3 columns: Name, Ingredients, and the main column containing {{Grid/Crafting Table}}. You can set the parameter {{{showname=1}}} or {{{showname=0}}} in the first template of the table to show or hide the Name column. To group multiple crafting templates into one table, you also need to set {{{head=1}}} in the first template of the table, and {{{foot=1}}} in the last.

Displaying a shapeless recipe can be accomplished by simply leaving out the grid positions for all ingredients. If the recipe is shapeless and uses less than 5 slots, the template will automatically arrange the items into the bottom-left square, indicating that the recipe can be used in the inventory crafting area.

Example usage:



{{Crafting
Nombre Ingredientes Receta de fabricación

Antorcha

Palo +
Carbón




Grid layout Arrow (small).png Antorcha4

Carbón

Palo

Fire Charge

Bara Llameante +
Pólvora +
Carbñon




Grid layout Arrow (small).png 32x32px3
32x32px Pólvora

32x32px
Grid layout Shapeless.png

Bloque de Carbón
(1.6)

Carbón

Carbón Carbón Carbón Grid layout Arrow (small).png Bloque de Carbón
Carbón Carbón Carbón
Carbón Carbón Carbón
name=Pickaxe ingredients=Sticks +
Wood Planks or
Cobblestone or
Iron Ingots or
Gold Ingots or
Diamonds
A1=Tablas de Madera; Hierro; Oro; Diamante; Roca B1=Tablas de Madera; Hierro; Oro; Diamante; Roca C1=Tablas de Madera; Hierro; Oro; Diamante; Roca B2=Palo B3=Palo Output=Pico de Madera; Pico de Hierro: Pico de Oro; Pico de Diamante; Pico de Piedra foot=1


Ésta es la página de documentación, debe situarse en la página de la plantilla principal. Véase Plantilla:Doc para más información.

nl:Sjabloon:Verwerking/doc

Menú de navegación