Template:Pfstart: Difference between revisions

From Hard Drop Tetris Wiki

Jump to: navigation, search
m (Text replacement - "{{pfrow| | | | | | | | | | }}" to "{{pfrowblank}}")
 
(105 intermediate revisions by 23 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 60: Line 60:
{{pfend}}
{{pfend}}


Or alternatively, with hold:
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}}.
{{pfstart}}
{{pfrow| | | | |g|g|i|i|i|i}}
{{pfrow| | | | |g|g| | | | }}
{{pfrow|g|g|g|g|g|g|g|g|g|g}}
{{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}}. For 14 blocks, use {{tl|qprow}}. These can be used to show something on the sides (border, next piece) or for games that have a wider playfield. For 21, use {{tl|mrow21}}. This is used to show something on the sides, or rotation stages.
 
For narrower diagrams with normal size blocks, use {{tl|mrow1}} to {{tl|mrow9}}.
 
For larger blocks, use {{tl|size16row}}. {{tl|size16row2}} is specifically designed to use special large images when single letters are used.
 
For narrower diagrams with larger blocks, use {{tl|width1row}} to {{tl|width9row}}.


==List==
==List==
Normal blocks:
{{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| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0|  }}
{{tnetrow| X|1|2|3|4|5|6|7|8|9|0|  }}
{{tnetrow| A| D| E| H| K| M| Q| R| U| W|SZ|SL}}
{{tnetrow|SO|SS|SI|SJ|ST|SG|LZ|LS|LJ|GZ|GL|GO}}
{{tnetrow|GS|GI|GJ|GT|GG|NZ|NS|NL|NO|NT|NI|NJ}}
{{tnetrow|NG|-Z|-L|-O|-S|-I|-J|-T|!Z|!L|!S|!T}}
{{tnetrow|!J|+W|O1|O2|O3|O4|01|02|03|04|I1|I2}}
{{tnetrow|I3|I4|!1|!2|!3|!4|W1|W2|W3|W4|G1|G2}}
{{tnetrow|G3|G4|AZ|AL|AO|AS|AI|AJ|AT|B-|B |--}}
{{tnetrow|GP|SP|NP|B1|B2|B3|B4|B5|B6|B7|B8|B9}}
{{tnetrow|B0|+O|+I|AP|+J|+L|+S|+T|+Z|LI|LL|LO}}
{{tnetrow|LT|-P|!O|!I|J1|J2|J3|J4|L1|L2|L3|L4}}
{{tnetrow|S1|S2|S3|S4|T1|T2|T3|T4|Z1|Z2|Z3|Z4}}
{{tnetrow|+G| '| +| V| Y| F| N|11|12|13|14|71}}
{{tnetrow|72|73|74|51|52|53|54|31|32|33|34|21}}
{{tnetrow|22|23|24|-'|-+|-V|-Y|-F|-N|-G|  |  }}
{{pfend}}
 
Large blocks:
{{pfstart}}
{{width9row|M |MZ|ML|MO|MS|MI|MJ|MT|MG}}
{{width9row|M-|MC|M1|M2|M3|M4|M5|M6|M7}}
{{width9row|M8|M9|M0|M |M |M |M |M |M }}
{{pfend}}
{{pfend}}


Line 117: 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)
|-
| 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)
| Z || [[File:ZTet.png| ]] || Red Block (Z Tetromino)
|-
|-
| J || [[image:JTet.png| ]] || Blue Block (J Tetromino)
| L || [[File:LTet.png| ]] || Orange Block (L Tetromino)
|-
|-
| T || [[image:TTet.png| ]] || Purple Block (T Tetromino)
| O || [[File:OTet.png| ]] || Yellow Block (O Tetromino)
|-
|-
| G || [[image:GTet.png| ]] || Gray Block (Garbage, playfield wall, ghost piece)
| S || [[File:STet.png| ]] || Green Block (S Tetromino)
|-
|-
| - || [[image:-Tet.png| ]] || [[Ghost piece]], [[Line clear]], rotate
| I || [[File:ITet.png| ]] || Cyan Block (I Tetromino)
|-
|-
| C || [[image:CTet.png| ]] || Rotation center of a piece, a bomb in [[Bombliss]], or any other specially marked block
| J || [[File:JTet.png| ]] || Blue Block (J Tetromino)
|-
|-
| P || [[image:PTet.png| ]] || small T block (multi-purpose)
| T || [[File:TTet.png| ]] || Purple Block (T Tetromino)
|-
|-
| B || [[image:BTet.png| ]] || Black, mark a cell that has to be occupied for something (like a wallkick) to happen
| G || [[File:GTet.png| ]] || Gray Block (Garbage or playfield wall)
|-
|-
| X || [[image:XTet.png| ]] || Mark a cell that cannot be occupied for something (like a wallkick) to happen, or reject a given position
| - || [[File:-Tet.png| ]] || [[Ghost piece]] or [[Line clear]]
|-
|-
| A || [[image:ATet.png| ]] || 90° rotation
| C || [[File:CTet.png| ]] || Rotation center of a piece, a bomb in [[Bombliss]], or any other specially marked block
|-
|-
| D || [[image:DTet.png| ]] || Soft drop
| P || [[File:PTet.png| ]] || Purple block for the T Tetromino, designed for use in documenting T-Spin setups
|-
|-
| E || [[image:ETet.png| ]] || -90° rotation
| B || [[File:BTet.png| ]] || Mark a cell that has to be occupied for something (like a wallkick) to happen
|-
|-
| H || [[image:HTet.png| ]] || Hard drop
| X || [[File:XTet.png| ]] || Mark a cell that cannot be occupied for something (like a wallkick) to happen
|-
|-
| K || [[image:KTet.png| ]] || Parity (dark)
| 1&ndash;0 || [[File:1Tet.png| ]][[File:2Tet.png| ]][[File:3Tet.png| ]] || Mark the cells that reject a given kick position
|-
| M || [[image:MTet.png| ]] || Move left
|-
| Q || [[image:QTet.png| ]] || Parity (light)
|-
| R || [[image:RTet.png| ]] || Move right
|-
| U || [[image:UTet.png| ]] || Used for a high column
|-
| W || [[image:WTet.png| ]] || Parity (light)
|-
| S(block) || [[image:SZTet.png| ]] || SRS block
|-
| L(block) || [[image:LZTet.png| ]] || lighter block (line clear, ghost piece, move)
|-
| G(block) || [[image:GZTet.png| ]] || Game Boy block
|-
| N(block) || [[image:NZTet.png| ]] || The New Tetris block
|-
| -(block) || [[image:-ZTet.png| ]] || darker block
|-
| ! or +(block) || [[image:!ZTet.png| ]][[image:+ZTet.png| ]] || centers of tetriminoes
|-
| +W || [[image:+WTet.png]] || blank center
|-
| (block)(digit) || [[image:Z1Tet.png| ]] || intersection center of tetriminoes
|-
| (2705!13)(digit) || [[image:21Tet.png| ]] || intersection center of gray tetriminoes
|-
| W(digit), G(digit) || [[image:W1Tet.png| ]] || blank space centers.
|-
| A(block) || [[image:AITet.png| ]] || TGM block
|-
| -- || [[image:--Tet.png| ]] || Another ghost piece
|-
| B(space) || [[image:B Tet.png| ]] || Black background
|-
| B- || [[image:B-Tet.png| ]] || Ghost piece on black background
|-
| SP, NP, GP, AP || [[image:SPTet.png| ]] || other styles of the small T block
|-
| B(digit) || [[image:B1Tet.png| ]]-[[image:B0Tet.png| ]] || Black versions of the digits below
|-
| 1&ndash;0 || [[image:1Tet.png| ]]-[[image:0Tet.png| ]] || Digits (multi-purpose)
|-
| -P || [[image:-PTet.png| ]] || a more gray version of the small T block
|-
| ', +, V, Y, F, N || [[image:'Tet.png| ]] || other multi-purpose small blocks
|-
| -(small block) || [[image:-'Tet.png| ]] || grayed small blocks (including -G for gray)
|-
| M(space) || [[image:M Tet.png| ]] || 16x16 empty
|-
| M(block) || [[image:MZTet.png| ]] || 16x16 blocks
|-
| M- || [[image:M-Tet.png| ]] || 16x16 ghost/line
|-
| MC || [[image:MCTet.png| ]] || 16x16 center
|-
| M(digit) || [[image:M1Tet.png| ]] || 16x16 digits
|}
|}
 
[[Category:Playfield templates]]
== Larger blocks ==
 
size16row template sets size to 16x16.
 
{{pfstart}}
{{size16row| | |J|J|J| | | | | }}
{{size16row| | | | |J| | | | | }}
{{size16row| | | | | | | | | | }}
{{size16row| | | | | | | | | | }}
{{size16row| | | | | | | | | | }}
{{size16row|J| |-|-|-| | | |i| }}
{{size16row|J|J|J|Z|-|S|L|L|i| }}
{{size16row|O|O|Z|Z|T|S|S|L|i| }}
{{size16row|O|O|Z|T|T|T|S|L|i| }}
{{size16row|G|G|G| |G|G|G|G|G|G}}
{{size16row|G|G|G| |G|G|G|G|G|G}}
{{pfend}}
 
There are M(block) images specifically designed for 16x16.<br>
size16row2 uses them with single letters. Here is what it looks like:
 
{{pfstart}}
{{size16row2| | |J|J|J| | | | | }}
{{size16row2| | | | |J| | | | | }}
{{size16row2| | | | | | | | | | }}
{{size16row2| | | | | | | | | | }}
{{size16row2| | | | | | | | | | }}
{{size16row2|J| |-|-|-| | | |I| }}
{{size16row2|J|J|J|Z|-|S|L|L|I| }}
{{size16row2|O|O|Z|Z|T|S|S|L|I| }}
{{size16row2|O|O|Z|T|T|T|S|L|I| }}
{{size16row2|G|G|G| |G|G|G|G|G|G}}
{{size16row2|G|G|G| |G|G|G|G|G|G}}
{{pfend}}
</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