Jump to content

Wikipedia:WikiProject Chess/PGN Chess Viewer/Template:PGN-CV/T13

From Wikipedia, the free encyclopedia

Notepad

[edit]
  • I'm going to try and build this as a wikitable, if that doesn't work then I'll resort to a standard HTML <table>...</table> instead.
  • Would look cleaner if I could use variables... I'll have to look and see if there is a variables Module.
  • Need to check if Template:Chess diagram is case-sensitive. May be better to recreate what that template does here and "tweak" it for this purpose (add class names and such).


CODING

[edit]
Player #1
abcdefgh
8
a8 black rook
b8 black knight
c8 black bishop
d8 black queen
e8 black king
f8 black bishop
g8 black knight
h8 black rook
a7 black pawn
b7 black pawn
c7 black pawn
d7 black pawn
e7 black pawn
f7 black pawn
g7 black pawn
h7 black pawn
a2 white pawn
b2 white pawn
c2 white pawn
d2 white pawn
e2 white pawn
f2 white pawn
g2 white pawn
h2 white pawn
a1 white rook
b1 white knight
c1 white bishop
d1 white queen
e1 white king
f1 white bishop
g1 white knight
h1 white rook
8
77
66
55
44
33
22
11
abcdefgh
Player #2
≪ ⇐ — ⇒ ≫