Template:Pfstart: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
Add list
*>Tepples
→‎List: other uses for C
Line 67: Line 67:
{{pfend}}
{{pfend}}


*' ' : Empty Cell
{|
*'Z' : Red Block (Z Tetromino)
! Code || Img || Description
*'L' : Orange Block (L Tetromino)
|-
*'O' : Yellow Block (O Tetromino)
| space || [[image:Tet.png| ]]  || Empty Cell
*'S' : Green Block (S Tetromino)
|-
*'I' : Cyan Block (I Tetromino)
| Z || [[image:ZTet.png| ]] || Red Block (Z Tetromino)
*'J' : Blue Block (J Tetromino)
|-
*'T' : Purple Block (T Tetromino)
| L || [[image:LTet.png| ]] || Orange Block (L Tetromino)
*'G' : Gray Block (Garbage or playfield wall)
|-
*'-' : [[Ghost piece]] or [[Line clear]]
| O || [[image:OTet.png| ]] || Yellow Block (O Tetromino)
*'C' : Rotation center of a tetromino
|-
 
| S || [[image:STet.png| ]] || Green Block (S Tetromino)
|-
| I || [[image:ITet.png| ]] || Cyan Block (I Tetromino)
|-
| J || [[image:JTet.png| ]] || Blue Block (J Tetromino)
|-
| T || [[image:TTet.png| ]] || Purple Block (T Tetromino)
|-
| G || [[image:GTet.png| ]] || Gray Block (Garbage or playfield wall)
|-
| - || [[image:-Tet.png| ]] || [[Ghost piece]] or [[Line clear]]
|-
| C || [[image:CTet.png| ]] || Rotation center of a tetromino, a bomb in [[Bombliss]], or any other specially marked block
|}
</noinclude>
</noinclude>

Revision as of 23:31, 22 December 2006

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}}
JJJ
J
J---i
JJJZ-SLLi
OOZZTSSLi
OOZTTTSLi
GGGGGGGGG
GGGGGGGGG
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.

iiii
T
TTT
-
JJJJ---i
JJJZJSLLi
OOZZTSSLi
OOZTTTSLi
GGGGGGGGG
GGGGGGGGG

For a 12-block-wide playfield as seen in Tetrinet, use {{tnetrow}} in place of {{pfrow}}.

List

ZLOSIJTG-C
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 or playfield wall)
- Ghost piece or Line clear
C Rotation center of a tetromino, a bomb in Bombliss, or any other specially marked block