Template:Pfstart

From Hard Drop Tetris Wiki

Revision as of 15:59, 22 August 2017 by 108.71.120.233 (talk)
Jump to: navigation, search

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}}
Tet.pngTet.pngJJJTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngJTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
JTet.png---Tet.pngTet.pngTet.pngiTet.png
JJJZ-SLLiTet.png
OOZZTSSLiTet.png
OOZTTTSLiTet.png
GGGTet.pngGGGGGG
GGGTet.pngGGGGGG
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.

Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngiiiiTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTTTTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.png-Tet.pngTet.pngTet.png
JTet.pngJJJ---ITet.png
JJJZJSLLITet.png
OOZZTSSLITet.png
OOZTTTSLITet.png
GGGTet.pngGGGGGG
GGGTet.pngGGGGGG

Or alternatively, with hold:

Tet.pngTet.pngTet.pngTet.pngggiiii
Tet.pngTet.pngTet.pngTet.pngggTet.pngTet.pngTet.pngTet.png
gggggggggg
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTTTTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.png-Tet.pngTet.pngTet.png
JTet.pngJJJ---ITet.png
JJJZJSLLITet.png
OOZZTSSLITet.png
OOZTTTSLITet.png
GGGTet.pngGGGGGG
GGGTet.pngGGGGGG

Or like this...

Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngiiii
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTTTTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.pngTet.png
Tet.pngTet.pngTet.pngTet.pngTet.pngTet.png-Tet.pngTet.pngTet.png
JTet.pngJJJ---ITet.png
JJJZJSLLITet.png
OOZZTSSLITet.png
OOZTTTSLITet.png
GGGTet.pngGGGGGG
GGGTet.pngGGGGGG

For a 12-block-wide playfield as seen in Tetrinet, use {{tnetrow}} in place of {{pfrow}}. For 14 blocks, use {{qprow}}. For 17, use {{mrow17}}. For 20, use {{mrow20}}. For 21, use {{mrow21}}. For 25, use {{mrow25}}. For 26, use {{mrow26}}. These can be used to show something on the sides (border, next piece) or for games that have a wider playfield, or rotation states.

For narrower diagrams with normal size blocks, use {{mrow1}} to {{mrow9}}.

For larger blocks, use {{size16row}}. {{size16row2}} and {{width5row2}} are specifically designed to use special large images (that start with M) when single letters are used.

For narrower diagrams with larger blocks, use {{width1row}} to {{width9row}}.

Finally, smaller 8x8 block diagrams can be done with {{srow}}.

List

Normal blocks (12x12):

ZLOSIJTG-CPB
X1234567890Tet.png
ADEHKMQRUWSZSL
SOSSSISJSTSGLZLSLJGZGLGO
GSGIGJGTGGNZNSNLNONTNINJ
NG-Z-L-O-S-I-J-T!Z!L!S!T
!J+WO1O2O3O401020304I1I2
I3I4!1!2!3!4W1W2W3W4G1G2
GPSPNPB1B2B3B4B5B6B7B8B9
B0+O+IAP+J+L+S+T+ZLILLLO
LT-P!O!IJ1J2J3J4L1L2L3L4
S1S2S3S4T1T2T3T4Z1Z2Z3Z4
+G'+VYFN1112131471
727374515253543132333421
222324-'-+-V-Y-F-N-GTet.pngTet.png

Large blocks (16x16):

MMZMLMOMSMIMJMTMGM-
MCM1M2M3M4M5M6M7M8M9
M0MPMBMXMMMRMAMEMDMH
MUMMMMMMMMM

Small blocks (10x10):

DDZDLDODSDIDJDTDGD-
DCDDDDDDDDD
Code Img Description
space Tet.png Empty Cell
Z ZTet.png Red Block (Z Tetromino)
L LTet.png Orange Block (L Tetromino)
O OTet.png Yellow Block (O Tetromino)
S STet.png Green Block (S Tetromino)
I ITet.png Cyan Block (I Tetromino)
J JTet.png Blue Block (J Tetromino)
T TTet.png Purple Block (T Tetromino)
G GTet.png Gray Block (Garbage, playfield wall, ghost piece)
- -Tet.png Ghost piece, Line clear, rotate
C CTet.png Rotation center of a piece, a bomb in Bombliss, or any other specially marked block
P PTet.png small T block (multi-purpose)
B BTet.png Black block, mark a cell that has to be occupied for something (like a wallkick) to happen
X XTet.png Mark a cell that cannot be occupied for something (like a wallkick) to happen, or reject a given position
A ATet.png 90° rotation
D DTet.png Soft drop
E ETet.png -90° rotation
H HTet.png Hard drop
K KTet.png Active piece - black block (parity)
M MTet.png Move left
Q QTet.png Active piece - white block (parity)
R RTet.png Move right
U UTet.png Used for a high column
W WTet.png White block
S(block) SZTet.png SRS block
L(block) LZTet.png lighter block (line clear, ghost piece, move)
G(block) GZTet.png Game Boy block
N(block) NZTet.png The New Tetris block
-(block) -ZTet.png darker block
! or +(block) !ZTet.png+ZTet.png centers of tetriminoes
+W +WTet.png blank center
(block)(digit) Z1Tet.png intersection center of tetriminoes
(2705!13)(digit) 21Tet.png intersection center of gray tetriminoes
W(digit), G(digit) W1Tet.png blank space centers.
A(block) AITet.png TGM block
-- --Tet.png Another ghost piece
B(space) File:B Tet.png Black background
B- B-Tet.png Ghost piece on black background
SP, NP, GP, AP SPTet.png other styles of the small T block
B(digit) B1Tet.png-B0Tet.png Black versions of the digits below
1–0 1Tet.png-0Tet.png Digits (multi-purpose)
-P -PTet.png a more gray version of the small T block
', +, V, Y, F, N 'Tet.png other multi-purpose small blocks
-(small block) -'Tet.png grayed small blocks (including -G for gray)
M(space) M Tet.png 16x16 empty
M(block) MZTet.png 16x16 blocks (gray, normal, small T, black, X)
M- M-Tet.png 16x16 ghost/line
MC MCTet.png 16x16 center
M(digit) M1Tet.png 16x16 digits

For M(letter), both uppercase and lowercase are supported.

Larger blocks

size16row template sets size to 16x16.

Template:Size16row Template:Size16row Template:Size16row Template:Size16row Template:Size16row Template:Size16row Template:Size16row Template:Size16row Template:Size16row Template:Size16row Template:Size16row

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:

MMMJMJMJMMMMPM
MMMMMJMMMM1M
MMMMMMMMMCM
MMMMMMMMMXM
MMMMMMMMMM
MJMM-M-M-MMMMIM
MJMJMJMZM-MSMLMLMIM
MOMOMZMZMTMSMSMLMIM
MOMOMZMTMTMTMSMLMIM
MGMGMGMMGMGMGMGMGMG
MGMGMGMMGMGMGMGMGMG


Small blocks

For those who prefer 10x10 instead, all the single-character blocks can be used with 10x10.