Diferencia entre revisiones de «Plantilla:Crafting/doc»

CVP97 (discusión | contribs.)
Sin resumen de edición
CVP97 (discusión | contribs.)
Sin resumen de edición
Línea 38: Línea 38:
   |Output=Pico de Madera; Pico de Hierro: Pico de Oro; Pico de Diamante; Pico de Piedra
   |Output=Pico de Madera; Pico de Hierro: Pico de Oro; Pico de Diamante; Pico de Piedra
   |foot=1
   |foot=1
 
}}


{{doc/end}}
{{doc/end}}

Revisión del 20:42 10 jul 2014

Documentación
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:

Error de Lua: callParserFunction: function "#dplvar" was not found.
Error de Lua: callParserFunction: function "#dplvar" was not found.
Error de Lua: callParserFunction: function "#dplvar" was not found.
Error de Lua: callParserFunction: function "#dplvar" was not found.

É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