Template:Pfstart: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Tepples
(This goes at the top)
 
No edit summary
 
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly><div style="border:solid #cccccc 1px;margin:0;padding:0;line-height:0;font-size:0;display:block;"></includeonly><noinclude>Put this at the top of a variable-height playfield.
<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.


Usually, you'll have a
Usually, you'll have a
<pre>
{{tl|pfstart}}
one or more {{tl|pfrow}} lines
{{tl|pfend}}
 
==Example==
{|
|-
|<pre>
{{pfstart}}
{{pfstart}}
one or more {{pfrow}} lines
{{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}}
{{pfend}}
</pre>
</pre>
|{{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}}
|-
|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.
{{pfstart}}
{{pfrow| | | | | | | | | | }}
{{pfrow| | | |i|i|i|i| | | }}
{{pfend}}{{pfstart}}
{{pfrow| | | | | | |T| | | }}
{{pfrow| | | | | |T|T|T| | }}
{{pfrow| | | | | | | | | | }}
{{pfrow| | | | | | | | | | }}
{{pfrow| | | | | | |-| | | }}
{{pfrow|J| |J|J|J|-|-|-|i| }}
{{pfrow|J|J|J|Z|J|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}}
For a 12-block-wide playfield as seen in [[Tetrinet]], use {{tl|tnetrow}} in place of {{tl|pfrow}}. Narrower diagrams are also available, to help with load times. Currently we have {{tl|width3row}} to {{tl|width6row}}.
==List==
{{pfstart}}
{{tnetrow|Z|L|O|S|I|J|T|G|-|C|P|B}}
{{tnetrow|X|1|2|3|4|5|6|7|8|9| | }}
{{pfend}}


{|
! Code || Img || Description
|-
| space || [[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:Playfield templates]]
</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}}
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
X123456789Tet.pngTet.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–9 1Tet.png2Tet.png3Tet.png Mark the cells that reject a given kick position