Template:Schematic/doc

This template displays a grid of block sprites to symbolically represent a Minecraft structure (primarily redstone circuits and mechanisms).

Usage
Schematic uses unnamed parameters to define the sprites used in the schematic, and named parameters to modify the schematic's default appearance:

{{Schematic
 * caption=
 * captionstyle=
 * clear=
 * float=
 * size=
 * style=
 * tablestyle= ). This parameter has no effect if caption and float are not specified.


 * clear
 * The optional clear parameter may be added to force the schematic to drop below other floated elements. Its value may be  (to drop below only left-floated elements),   (to drop below only right-floated elements),   (to drop below  all floated elements), or   (the default).


 * float
 * The optional float parameter may be added to change the side to which the schematic floats if a caption is added. The only value recognized is  -- anything else defaults back to floating to the right.


 * A schematic with no caption or float parameters acts like any other wiki table, ending the previous line and pushing subsequent text to a new line.


 * size
 * The optional size parameter may be added to specify the width and height of the sprite cells in pixels. Its value should be a simple number with no units added (e.g., ). If omitted, size defaults to 32.


 * style
 * The optional style parameter may be added to change the appearance of the schematic's surrounding box. Its value should be a css declaration or declaration group with no surrounding braces or quotes (e.g., ). This parameter has no effect if caption and float are not specified.


 * tablestyle
 * The optional tablestyle parameter may be added to change the appearance of the schematic table. Its value should be a css declaration or declaration group with no surrounding braces or quotes (e.g., ).


 * param
 * The param parameters specify the content of the schematic. When multiple params are defined, the resulting sprites or text are displayed in individual table cells, one after the other, unless a plus sign is used to stack them in the same cell.


 * A sprite identifier (see list below) displays a sprite from the image on the right.
 * A hyphen 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  for the pipe character: ,   for an equals sign,   for a plus sign (to be displayed as text rather than stacking the next param), or   for a dash.    after a letter will provide a "combining overline" over the letter (used to indicate an inverse signal such as Q&#x305;).


 * 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 LoadBox or LoadPage to offload some or all schematics into user-requested subpages.

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

Identifiers use the following syntax:
 * 1) A case-sensitive abbreviation of the name of the block, usually two or three letters long. Many blocks also have IDs that are the full name of the block.
 * 2) A hyphen  if the ID has any modifiers.
 * 3)   indicates a side view sprite.
 * 4) Directions are indicated by   (north),   (south),   (east),   (west),   (up), and   (down). Directions are relative to the schematic, not necessarily the Minecraft world.
 * 5) A number is used for some blocks with multiple states. (e.g. repeaters, composters)
 * 6)   usually indicates a powered/activated component.