Innen: Minecraft Wiki
[megtekintés | edit | laptörténet | purge]Dokumentáció
This template is still in development and should not be used in production articles yet.

This template produces mark-up which will not display properly unless you have the following code in your common.css (when development is complete, this css will be moved to the wiki's style sheet so that it will work for everyone):

.schematic img { image-rendering: crisp-edges; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; -ms-interpolation-mode: nearest-neighbor; }
table.schematic { background-color: white; border-collapse: collapse; line-height: 0; }
table.schematic td, span.schematic { border: 1px solid #AAAAAA; padding: 0; }
table.schematic span, span.schematic { display: inline-block; overflow: hidden; position: relative; }
table.schematic span span, span.schematic span { color: black; font-weight: bold; left: 0; line-height: 1.5em; position: absolute; text-align: center; text-shadow: 0 0 4px #FFF; top: 0; }

This template displays a grid of block sprites built from File:SchematicSprite.png.


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


The 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., size=16). If omitted, size defaults to 32.

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.

Sprite sheet for Schematic
  • A sprite identifier (see list below) displays a sprite from the image on the right.
  • A plus sign (+) indicates that the next parameter should be stacked on top of the previous parameter, rather than starting a new cell.
  • 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).


1-Wide RS Nor Latch
(support layer not shown)
Hopper Clock
[megtekintés | edit | laptörténet | purge]Ez a dokumentáció a(z) Sablon:Schematic/doc oldalról van.