Difference between revisions of "Help:Playfield"

From TetrisWiki
Jump to navigation Jump to search
m (Reverted edits by PiotrGrochowski (talk) to last revision by Simonlc)
Tag: Rollback
(Redirected page to Template:Pfrow)
Tag: New redirect
Line 1: Line 1:
Usually, you'll have a
+
#redirect [[Template:pfrow]]
<pre>&lt;playfield&gt;
 
one or more lines of the same length
 
&lt;/playfield&gt;</pre>
 
 
 
==Example==
 
{|
 
|-
 
|<pre>
 
&lt;playfield&gt;
 
..JJJ.....
 
....J.....
 
..........
 
..........
 
..........
 
J.---...I.
 
JJJZ-SLLI.
 
OOZZTSSLI.
 
OOZTTTSLI.
 
GGG.GGGGGG
 
GGG.GGGGGG
 
&lt;/playfield&gt;
 
</pre>
 
|<playfield>
 
..JJJ.....
 
....J.....
 
..........
 
..........
 
..........
 
J.---...I.
 
JJJZ-SLLI.
 
OOZZTSSLI.
 
OOZTTTSLI.
 
GGG.GGGGGG
 
GGG.GGGGGG
 
</playfield>
 
|-
 
|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.
 
 
 
<playfield>
 
..........
 
...IIII...
 
</playfield>
 
<playfield>
 
......T...
 
.....TTT..
 
..........
 
..........
 
......-...
 
J.JJJ---I.
 
JJJZJSLLI.
 
OOZZTSSLI.
 
OOZTTTSLI.
 
GGG.GGGGGG
 
GGG.GGGGGG
 
</playfield>
 
 
 
Unlike the now-deprecated [[Template:Pfstart | pfstart]] and friends, you can use any arbitrary width you want. Just be sure every row is the same length to ensure it works properly.
 
 
 
==List==
 
<playfield>
 
ZLOSIJTG-CPB
 
X123456789 .
 
</playfield>
 
 
 
Note: Using space as an empty cell is not suggested, as it hinders readability for other editors; support for using space may or may not be unsupported in the future, as well. It is also suggested you only use purely uppercase letters, as there may be extensions in the future that interpret lowercase as something different from uppercase.
 
{|
 
! Code || Img || Description
 
|-
 
| space || [[image:Tet.png| ]]  || Empty Cell
 
|-
 
| . || [[image:Tet.png| ]]  || Empty Cell
 
|-
 
| Z || [[image:ZTet.png| ]] || Red Block (Z Tetromino)
 
|-
 
| L || [[image:LTet.png| ]] || Orange Block (L Tetromino)
 
|-
 
| O || [[image:OTet.png| ]] || Yellow Block (O 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 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
 
|-
 
| B || [[image: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
 
|-
 
| 1&ndash;9 || [[image:1Tet.png| ]][[image:2Tet.png| ]][[image:3Tet.png| ]] || Mark the cells that reject a given kick position
 
|}
 
 
 
[[Category:Help]]
 

Revision as of 08:34, 27 January 2020

Redirect to: