Template:Pfstart: Difference between revisions

From Hard Drop Tetris Wiki

Jump to: navigation, search
m (First of many edits to this page this weekend)
m (Text replacement - "{{pfrow| | | | | | | | | | }}" to "{{pfrowblank}}")
 
(159 intermediate revisions by 34 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|B1|B2|B3|B4|B5|B6|B7|B8|B9|B0|  }}
{{tnetrow| X|1|2|3|4|5|6|7|8|9|0|  }}
{{pfend}}
{{pfend}}


Line 71: 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| ]] || Purple block for the T Tetromino, designed for use in documenting T-Spin setups
| P || [[File:PTet.png| ]] || Purple block for the T Tetromino, designed for use in documenting T-Spin setups
|-
|-
| B || [[image:BTet.png| ]] || 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
|-
|-
| 1&ndash;0 || [[image:1Tet.png| ]][[image:2Tet.png| ]][[image:3Tet.png| ]] || Mark the cells that reject a given kick position
| 1&ndash;0 || [[File:1Tet.png| ]][[File:2Tet.png| ]][[File:3Tet.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