Template:Pfstart: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Tepples
(Bigger example; how to show the next piece)
*>Tepples
(fix noinclude)
Line 37: Line 37:
{{pfrow|G|G|G| |G|G|G|G|G|G}}
{{pfrow|G|G|G| |G|G|G|G|G|G}}
{{pfrow|G|G|G| |G|G|G|G|G|G}}
{{pfrow|G|G|G| |G|G|G|G|G|G}}
{{pfend}}</noinclude>
{{pfend}}
|-
|-
|Code || Output
|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.
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}}
</noinclude>

Revision as of 02:36, 15 July 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}}
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