Template:Pfstart: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="line-heigh<nowiki></nowiki>t: 0px; font-size: 12px; border: 1px solid #999"
<noinclude>{{Ambox
| namespace = Template
| text = '''[[Template:Pfrow]] template is deprecated.''' Please use [[Help:Playfield]] instead.
| style = border: 1px solid red; border-left-width: 0.5em; margin: 0 3em; padding: 0.3em 1em 0.3em 1em
| cat = Deprecated templates}}
 
 
</noinclude><includeonly>{| style="line-height: 0; font-size: 7px; border: 1px solid #999"
|</includeonly><noinclude>Put this at the top of a variable-height playfield.
|</includeonly><noinclude>Put this at the top of a variable-height playfield.


Line 65: Line 72:
{{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|0|1|2|3|4|5|6|7|8|9| }}
{{tnetrow|X|1|2|3|4|5|6|7|8|9| | }}
{{pfend}}
{{pfend}}


Line 99: Line 106:
| X || [[image:XTet.png| ]] || Mark a cell that cannot 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
|-
|-
| 0—9 || [[image:0Tet.png| ]][[image:1Tet.png| ]][[image:2Tet.png| ]] || Mark the cells that reject a given kick position
| 1&ndash;9 || [[image:1Tet.png| ]][[image:2Tet.png| ]][[image:3Tet.png| ]] || Mark the cells that reject a given kick position
|}
|}
[[Category:Playfield templates]]
[[Category:Playfield templates]]
This list is being expanded. See [[User:PiotrGrochowski/Wiki_expansions_sandbox]].
</noinclude>
</noinclude>

Latest revision as of 16:47, 30 January 2021

Template:Pfrow template is deprecated. Please use Help:Playfield instead.


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}}. Narrower diagrams are also available, to help with load times. Currently we have {{width3row}} to {{width6row}}.

List

ZLOSIJTG-CPB
X123456789
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 piece, a bomb in Bombliss, or any other specially marked block
P Purple block for the T Tetromino, designed for use in documenting T-Spin setups
B Mark a cell that has to be occupied for something (like a wallkick) to happen
X Mark a cell that cannot be occupied for something (like a wallkick) to happen
1–9 Mark the cells that reject a given kick position