Template:Pfstart: Difference between revisions

From Hard Drop Tetris Wiki

Jump to: navigation, search
(SRS also has its own block style, just like the new tetris and ARS.)
m (Text replacement - "{{pfrow| | | | | | | | | | }}" to "{{pfrowblank}}")
 
(142 intermediate revisions by 29 users not shown)
Line 3: Line 3:


Usually, you'll have a
Usually, you'll have a
  {{tl|pfstart}}
  {{tl|pfstart}}<br>
  one or more {{tl|pfrow}} lines
  one or more {{tl|pfrow}} lines<br>
  {{tl|pfend}}
  {{tl|pfend}}


Line 14: Line 14:
{{pfrow| | |J|J|J| | | | | }}
{{pfrow| | |J|J|J| | | | | }}
{{pfrow| | | | |J| | | | | }}
{{pfrow| | | | |J| | | | | }}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow|J| |-|-|-| | | |i| }}
{{pfrow|J| |-|-|-| | | |i| }}
{{pfrow|J|J|J|Z|-|S|L|L|i| }}
{{pfrow|J|J|J|Z|-|S|L|L|i| }}
Line 28: Line 28:
{{pfrow| | |J|J|J| | | | | }}
{{pfrow| | |J|J|J| | | | | }}
{{pfrow| | | | |J| | | | | }}
{{pfrow| | | | |J| | | | | }}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow|J| |-|-|-| | | |i| }}
{{pfrow|J| |-|-|-| | | |i| }}
{{pfrow|J|J|J|Z|-|S|L|L|i| }}
{{pfrow|J|J|J|Z|-|S|L|L|i| }}
Line 44: Line 44:


{{pfstart}}
{{pfstart}}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow| | | |i|i|i|i| | | }}
{{pfrow| | | |i|i|i|i| | | }}
{{pfend}}{{pfstart}}
{{pfend}}{{pfstart}}
{{pfrow| | | | | | |T| | | }}
{{pfrow| | | | | | |T| | | }}
{{pfrow| | | | | |T|T|T| | }}
{{pfrow| | | | | |T|T|T| | }}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow| | | | | | | | | | }}
{{pfrowblank}}
{{pfrow| | | | | | |-| | | }}
{{pfrow| | | | | | |-| | | }}
{{pfrow|J| |J|J|J|-|-|-|I| }}
{{pfrow|J| |J|J|J|-|-|-|I| }}
Line 65: Line 65:
{{pfstart}}
{{pfstart}}
{{tnetrow| Z| L| O| S| I| J| T| G| -| C| P| B}}
{{tnetrow| Z| L| O| S| I| J| T| G| -| C| P| B}}
{{tnetrow| X| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0|  }}
{{tnetrow| X|1|2|3|4|5|6|7|8|9|0|  }}
{{tnetrow| A| D| E| H| K| M| Q| R| U| W|SZ|SL}}
{{tnetrow|SO|SZ|SI|SJ|ST|SG|LZ|LS|LJ|GZ|GL|GO}}
{{tnetrow|GS|GI|GJ|GT|GG|NZ|NS|NL|NO|NT|NI|NJ}}
{{tnetrow|NG|-Z|-L|-O|-S|-I|-J|-T|!Z|!L|!S|!T}}
{{tnetrow|!J|+W|O1|O2|O3|O4|01|02|03|04|I1|I2}}
{{tnetrow|I3|I4|!1|!2|!3|!4|W1|W2|W3|W4|G1|G2}}
{{tnetrow|G3|G4|AZ|AL|AO|AS|AI|AJ|AT|B-|B |--}}
{{tnetrow|GP|SP|NP|B1|B2|B3|B4|B5|B6|B7|B8|B9}}
{{tnetrow|B0|+O|+I|AP|  |  |  |  |  |  |  |  }}
{{pfend}}
{{pfend}}


Line 80: Line 71:
! Code || Img || Description
! Code || Img || Description
|-
|-
| space || [[image:Tet.png| ]]  || Empty Cell
| space || [[File:Tet.png| ]]  || Empty Cell
|-
|-
| Z || [[image:ZTet.png| ]] || Red Block (Z Tetromino)
| Z || [[File:ZTet.png| ]] || Red Block (Z Tetromino)
|-
|-
| L || [[image:LTet.png| ]] || Orange Block (L Tetromino)
| L || [[File:LTet.png| ]] || Orange Block (L Tetromino)
|-
|-
| O || [[image:OTet.png| ]] || Yellow Block (O Tetromino)
| O || [[File:OTet.png| ]] || Yellow Block (O Tetromino)
|-
|-
| S || [[image:STet.png| ]] || Green Block (S Tetromino)
| S || [[File:STet.png| ]] || Green Block (S Tetromino)
|-
|-
| I || [[image:ITet.png| ]] || Cyan Block (I Tetromino)
| I || [[File:ITet.png| ]] || Cyan Block (I Tetromino)
|-
|-
| J || [[image:JTet.png| ]] || Blue Block (J Tetromino)
| J || [[File:JTet.png| ]] || Blue Block (J Tetromino)
|-
|-
| T || [[image:TTet.png| ]] || Purple Block (T Tetromino)
| T || [[File:TTet.png| ]] || Purple Block (T Tetromino)
|-
|-
| G || [[image:GTet.png| ]] || Gray Block (Garbage or playfield wall)
| G || [[File:GTet.png| ]] || Gray Block (Garbage or playfield wall)
|-
|-
| - || [[image:-Tet.png| ]] || [[Ghost piece]] or [[Line clear]]
| - || [[File:-Tet.png| ]] || [[Ghost piece]] or [[Line clear]]
|-
|-
| C || [[image:CTet.png| ]] || Rotation center of a piece, a bomb in [[Bombliss]], or any other specially marked block
| C || [[File:CTet.png| ]] || Rotation center of a piece, a bomb in [[Bombliss]], or any other specially marked block
|-
|-
| P || [[image:PTet.png| ]] || T-spins
| P || [[File:PTet.png| ]] || Purple block for the T Tetromino, designed for use in documenting T-Spin setups
|-
|-
| B || [[image:BTet.png| ]] || Black, mark a cell that has to be occupied for something (like a wallkick) to happen
| B || [[File:BTet.png| ]] || Mark a cell that has to be occupied for something (like a wallkick) to happen
|-
|-
| X || [[image:XTet.png| ]] || Mark a cell that cannot be occupied for something (like a wallkick) to happen
| X || [[File:XTet.png| ]] || Mark a cell that cannot be occupied for something (like a wallkick) to happen
|-
|-
| A || [[image:ATet.png| ]] || 90° rotation
| 1&ndash;0 || [[File:1Tet.png| ]][[File:2Tet.png| ]][[File:3Tet.png| ]] || Mark the cells that reject a given kick position
|-
| D || [[image:DTet.png| ]] || Soft drop
|-
| E || [[image:ETet.png| ]] || -90° rotation
|-
| H || [[image:HTet.png| ]] || Hard drop
|-
| K || [[image:KTet.png| ]] || Parity
|-
| M || [[image:MTet.png| ]] || Move left
|-
| Q || [[image:QTet.png| ]] || Parity
|-
| R || [[image:RTet.png| ]] || Move right
|-
| U || [[image:UTet.png| ]] || Used for a high column
|-
| W || [[image:WTet.png| ]] || Parity
|-
| S(block) || [[image:SZTet.png| ]] || SRS
|-
| LZ/J/S || [[image:LZTet.png| ]] || lighter block (multi-use)
|-
| G(block) || [[image:GZTet.png| ]] || Game Boy
|-
| N(block) || [[image:NZTet.png| ]] || The New Tetris
|-
| -(block) || [[image:-ZTet.png| ]] || darker block
|-
| !(block) || [[image:!ZTet.png| ]] || centers of tetriminoes
|-
| +W || [[image:+WTet.png]] || yet another center
|-
| O(digit), 0(digit) || [[image:O1Tet.png| ]] || Center of the o-tetrimino
|-
| I(digit), !(digit) || [[image:I1Tet.png| ]] || Center of the i-tetrimino
|-
| W(digit), G(digit) || [[image:W1Tet.png| ]] || blank space centers.
|-
| A(block) || [[image:AITet.png| ]] || ARS
|-
| B-, --, B  || [[image:B-Tet.png| ]] || other blocks (B- shown)
|-
| SP, NP, GP, AP || [[image:SPTet.png| ]] || T-spins in SRS, the new Tetris, Game Boy, and ARS
|-
| B(digit) || [[image:B1Tet.png| ]] || Black versions of the digits below
|-
| 1&ndash;0 || [[image:1Tet.png| ]]-[[image:0Tet.png| ]] || Mark the cells that reject a given kick position
|}
|}
[[Category:Playfield templates]]
</noinclude>
</noinclude>

Latest revision as of 22:48, 1 November 2023

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| | | | | }}
{{pfrowblank}}
{{pfrowblank}}
{{pfrowblank}}
{{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

For a 12-block-wide playfield as seen in Tetrinet, use {{tnetrow}} in place of {{pfrow}}. Narrower diagrams are also available, to help with load times. Currently we have {{width3row}} to {{width6row}}.

List

ZLOSIJTG-CPB
X1234567890Tet.png
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 or playfield wall)
- -Tet.png Ghost piece or Line clear
C CTet.png Rotation center of a piece, a bomb in Bombliss, or any other specially marked block
P PTet.png Purple block for the T Tetromino, designed for use in documenting T-Spin setups
B BTet.png 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
1–0 1Tet.png2Tet.png3Tet.png Mark the cells that reject a given kick position