From Hard Drop Tetris Wiki
Put this at the top of a variable-height playfield.
Usually, you'll have a
{{pfstart}}
one or more{{pfrow}}
lines{{pfend}}
Example
{{pfstart}} {{pfrow| | |J|J|J| | | | | }} {{pfrow| | | | |J| | | | | }} {{pfrow| | | | | | | | | | }} {{pfrow| | | | | | | | | | }} {{pfrow| | | | | | | | | | }} {{pfrow|J| |-|-|-| | | |i| }} {{pfrow|J|J|J|Z|-|S|L|L|i| }} {{pfrow|O|O|Z|Z|T|S|S|L|i| }} {{pfrow|O|O|Z|T|T|T|S|L|i| }} {{pfrow|G|G|G| |G|G|G|G|G|G}} {{pfrow|G|G|G| |G|G|G|G|G|G}} {{pfend}} |
| |
Code | Output |
It is possible to show one preview by putting the next piece all alone in a 2-row-high playfield above the main playfield.
Or alternatively, with hold:
Or like this...
For a 12-block-wide playfield as seen in Tetrinet, use {{tnetrow}}
in place of {{pfrow}}
. For 14 blocks, use {{qprow}}
. These can be used to show something on the sides (border, next piece) or for games that have a wider playfield. For 21, use {{mrow21}}
. This is used to show something on the sides, or rotation stages. For 25, use {{mrow25}}
. This is for the true rotation in SRS for the i-tetrimino, or to show the hold/next on the sides.
For narrower diagrams with normal size blocks, use {{mrow1}}
to {{mrow9}}
.
For larger blocks, use {{size16row}}
. {{size16row2}}
is specifically designed to use special large images when single letters are used.
For narrower diagrams with larger blocks, use {{width1row}}
to {{width9row}}
.
List
Normal blocks:
Large blocks:
Template:Width9row Template:Width9row Template:Width9row Template:Width9row |
Code | Img | Description |
---|---|---|
space | Empty Cell | |
Z | Red Block (Z Tetromino) | |
L | Orange Block (L Tetromino) | |
O | Yellow Block (O Tetromino) | |
S | Green Block (S Tetromino) | |
I | Cyan Block (I Tetromino) | |
J | Blue Block (J Tetromino) | |
T | Purple Block (T Tetromino) | |
G | Gray Block (Garbage, playfield wall, ghost piece) | |
- | Ghost piece, Line clear, rotate | |
C | Rotation center of a piece, a bomb in Bombliss, or any other specially marked block | |
P | small T block (multi-purpose) | |
B | Black block, mark a cell that has to be occupied for something (like a wallkick) to happen | |
X | Mark a cell that cannot be occupied for something (like a wallkick) to happen, or reject a given position | |
A | 90° rotation | |
D | Soft drop | |
E | -90° rotation | |
H | Hard drop | |
K | Active piece - black block (parity) | |
M | Move left | |
Q | Active piece - white block (parity) | |
R | Move right | |
U | Used for a high column | |
W | White block | |
S(block) | SRS block | |
L(block) | lighter block (line clear, ghost piece, move) | |
G(block) | Game Boy block | |
N(block) | The New Tetris block | |
-(block) | darker block | |
! or +(block) | centers of tetriminoes | |
+W | blank center | |
(block)(digit) | intersection center of tetriminoes | |
(2705!13)(digit) | intersection center of gray tetriminoes | |
W(digit), G(digit) | blank space centers. | |
A(block) | TGM block | |
-- | Another ghost piece | |
B(space) | File:B Tet.png | Black background |
B- | Ghost piece on black background | |
SP, NP, GP, AP | other styles of the small T block | |
B(digit) | - | Black versions of the digits below |
1–0 | - | Digits (multi-purpose) |
-P | a more gray version of the small T block | |
', +, V, Y, F, N | other multi-purpose small blocks | |
-(small block) | grayed small blocks (including -G for gray) | |
M(space) | 16x16 empty | |
M(block) | 16x16 blocks (gray, normal, small T, black, X) | |
M- | 16x16 ghost/line | |
MC | 16x16 center | |
M(digit) | 16x16 digits |
For M(letter), both uppercase and lowercase are supported.
Larger blocks
size16row template sets size to 16x16.
There are M(block) images specifically designed for 16x16, so that it won't be blurry.
With size16row2 template, you can use them with single letters. Here is what it looks like: