Template:Pfstart: Difference between revisions

From Hard Drop Tetris Wiki

Jump to: navigation, search
(check out tactical rotation, it has downward move. -Tet can't be used like this)
Line 135: Line 135:
| G || [[image:GTet.png| ]] || Gray Block (Garbage, playfield wall, ghost piece)
| G || [[image:GTet.png| ]] || Gray Block (Garbage, playfield wall, ghost piece)
|-
|-
| - || [[image:-Tet.png| ]] || [[Ghost piece]], [[Line clear]]
| - || [[image:-Tet.png| ]] || [[Ghost piece]], [[Line clear]], rotate
|-
|-
| C || [[image:CTet.png| ]] || Rotation center of a piece, a bomb in [[Bombliss]], or any other specially marked block
| C || [[image:CTet.png| ]] || Rotation center of a piece, a bomb in [[Bombliss]], or any other specially marked block
|-
|-
| P || [[image:PTet.png| ]] || small T block (lock delay, line clear)
| P || [[image:PTet.png| ]] || small T block (multi-purpose)
|-
|-
| B || [[image:BTet.png| ]] || Black, mark a cell that has to be occupied for something (like a wallkick) to happen
| B || [[image:BTet.png| ]] || Black, mark a cell that has to be occupied for something (like a wallkick) to happen
Line 197: Line 197:
| B(digit) || [[image:B1Tet.png| ]]-[[image:B0Tet.png| ]] || Black versions of the digits below
| B(digit) || [[image:B1Tet.png| ]]-[[image:B0Tet.png| ]] || Black versions of the digits below
|-
|-
| 1–0 || [[image:1Tet.png| ]]-[[image:0Tet.png| ]] || Digits (to show a number)
| 1–0 || [[image:1Tet.png| ]]-[[image:0Tet.png| ]] || Digits (multi-purpose)
|-
|-
| -P || [[image:-PTet.png| ]] || a more gray version of the small T block
| -P || [[image:-PTet.png| ]] || a more gray version of the small T block

Revision as of 18:37, 21 August 2017

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

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 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:

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:

MMZMLMOMSMIMJMTMG
M-MCM1M2M3M4M5M6M7
M8M9M0MMMMMM
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, 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 Parity (dark)
M MTet.png Move left
Q QTet.png Parity (light)
R RTet.png Move right
U UTet.png Used for a high column
W WTet.png Parity (light)
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
M- M-Tet.png 16x16 ghost/line
MC MCTet.png 16x16 center
M(digit) M1Tet.png 16x16 digits

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.
size16row2 uses them with single letters. Here is what it looks like:

MMMJMJMJMMMMM
MMMMMJMMMMM
MMMMMMMMMM
MMMMMMMMMM
MMMMMMMMMM
MJMM-M-M-MMMMIM
MJMJMJMZM-MSMLMLMIM
MOMOMZMZMTMSMSMLMIM
MOMOMZMTMTMTMSMLMIM
MGMGMGMMGMGMGMGMGMG
MGMGMGMMGMGMGMGMGMG