Template:Doc/start
This template displays a grid of block sprites built from one or more pieces of the following sprite sheet:
Usage
Schematic uses named parameters to modify the schematic's default appearance, and unnamed parameters to define the sprites used in the schematic:
{{Schematic
| background-color = background-color
| border-color = border-color
| border-width = border-width
| float = float
| size = size
| sprite
| sprite
| …
| sprite
}}
The background-color parameter sets the background color of the entire grid. Any CSS color is permitted (defaults to white).
The border-color parameter sets the color of the border around each grid cell. Any CSS color is permitted (defaults to silver).
The border-width parameter sets the width of the border around each grid cell, expressed as a CSS length (defaults to 1px). Borders from adjacent grid cells collapse to a single border (i.e., specifying a border of 2px doesn't produce a 4px border between cells).
The float parameter sets how the schematic should float (defaults to none).
The size parameter sets the length and height of each grid sprite, expressed as a number or CSS length (defaults to 16px).
The sprite parameters specify the sprites that make up the schematic. Use a single dash to start a new row.
Examples
| 1-Wide RS Nor Latch |
|
{{Schematic|size=24
|464,128+S|rd-]|rd-]|||-
||SB|SB|rt-]w!|480,128+Q̅|-
|480,128+Q|rt-]e|SB|rd-]!|464,128+R|-
||||SB|}}
|
Template:SchematicSprite/ids Template:Doc/end