Minecraft Wiki
Advertisement
Se necesita traducir el contenido de esta plantilla. 
El texto se encuentra en otro idioma, así que puedes colaborar traduciéndolo.
Esta es la página de documentación. Esta debería ser transcluida en la página principal de esta plantilla. Véase Plantilla:Documentación para más información.
Lua logo
Esta plantilla utiliza el Módulo:Schematic, un script escrito en Lua.

Error de Lua en Módulo:Sprite en la línea 54: attempt to concatenate a nil value. Esta plantilla muestra una cuadrícula de sprites de bloque para representar simbólicamente una estructura de "Minecraft" (principalmente circuitos y mecanismos de redstone).

Uso

Schematic usa parámetros sin nombre para definir los sprites usados en el esquema y parámetros con nombre para modificar la apariencia predeterminada del esquema:

{{Esquemática
|caption=<caption>
|captionstyle=<captionstyle>
|clear=<clear>
|float=<float>
|size=<size>
|style=<style>
|tablestyle=<tablestyle>
|<param1>|<param2>|…
}}
subtítulo
El parámetro opcional título se puede agregar para crear un título debajo del esquema. Agregar un título automáticamente también crea un cuadro que rodea el esquema y el título, y hace flotar el cuadro a la derecha de la página. Un vínculo de icono a la página de ayuda del esquema se agrega automáticamente a todos los subtítulos.
estilo de título
El parámetro opcional captionstyle se puede agregar para cambiar la apariencia del área de título y el contenido. Su valor debe ser una declaración css o un grupo de declaraciones sin llaves ni comillas (por ejemplo, captionstyle=color: red; text-align: center;). Este parámetro no tiene efecto si no se especifican caption y float.
claro
El parámetro opcional borrar se puede agregar para forzar que el esquema caiga debajo de otros elementos flotantes. Su valor puede ser left (para colocar debajo solo los elementos flotantes a la izquierda), right (para colocar debajo solo los elementos flotantes a la derecha), both (para colocar debajo de todos los elementos flotantes), o none (el valor predeterminado).
flotador
El parámetro opcional flotante se puede agregar para cambiar el lado en el que flota el esquema si se agrega una leyenda. El único valor reconocido es left -- cualquier otra cosa por defecto vuelve a flotar a la derecha.
Un esquema sin parámetros de título o flotante actúa como cualquier otra tabla wiki, terminando la línea anterior y empujando el texto subsiguiente a una nueva línea.
Talla
El parámetro opcional tamaño se puede agregar para especificar el ancho y alto de las celdas de sprite en píxeles. Su valor debe ser un número simple sin unidades añadidas (por ejemplo, size=16). Si se omite, el tamaño predeterminado es 32.
estilo
Se puede agregar el parámetro opcional estilo para cambiar la apariencia del cuadro que rodea el esquema. Su valor debe ser una declaración css o un grupo de declaraciones sin llaves ni comillas (por ejemplo, style=background-color: yellow;). Este parámetro no tiene efecto si no se especifican caption y float.
estilo de mesa
Se puede agregar el parámetro opcional tablestyle para cambiar la apariencia de la tabla esquemática. Su valor debe ser una declaración css o un grupo de declaraciones sin llaves ni comillas (por ejemplo, tablestyle=background-color: green;).
parámetro
Los parámetros param especifican el contenido del esquema. Cuando se definen varios parámetros, los sprites o el texto resultantes se muestran en celdas individuales de la tabla, uno tras otro, a menos que se use un signo más para apilarlos en la misma celda.
SchematicSprite

Sprite sheet for Schematic

  • A sprite identifier (see list below) displays a sprite from the image on the right.
  • A dash (-) starts a new row.
  • Anything else is simply displayed as center-aligned text within the cell's bounding box (empty parameters or whitespace parameters are displayed as empty cells).
    • Overflow text is not displayed, so this is primarily intended to be used to display one or two characters in a schematic (such as input and output locations, feature markers to be referenced in text, numbers representing light levels or distance, etc.).
    • HTML character entity references may be needed for some characters, such as &#124; for the pipe character: |, &#61; for an equals sign, &#43; for a plus sign (to be displayed as text rather than stacking the next param), or &#45; for a dash (to be displayed as text rather than starting a new row). &#x305; after a letter will provide a "combining overline" over the letter (used to indicate an inverse signal such as Q̅).
Multiple sprites and text may be stacked in the same cell by separating them with a plus sign (+), lower layers before upper layers.

Considerations

Overuse of the schematic template can create a high server load, resulting in long page generation times or even a time-out failure. This server load is proportional to the number of schematic cells on a page (for example, one 100-cell schematic and ten 10-cell schematics produce roughly the same server load). When the number of schematic cells on a page start to exceed a few hundred (or fewer, with other high-load templates), consider using Plantilla:Tl or Plantilla:Tl to offload some or all schematics into user-requested subpages.

Examples

Artículo principal: Template:Schematic/examples [editar]

List of identifiers

A sprite identifier is a string of characters that specify which sprite to display.

Some conventions to remember:

  • Directions are indicated by n (north), s (south), e (east), w (west), u (up), and d (down). Directions are relative to the schematic, not the Minecraft world.
  • $ indicates a side view sprite.
  • ! indicates a powered/activated component.

Basic identifiers

Redstone identifiers

See also

Help:Schematic
Guide to reading wiki schematics
Redstone style guide
Guide to writing wiki articles about redstone structures, including tips for authoring schematics


Advertisement