משתמש:קיפודנחש/ארגח 1

מתוך ויקיפדיה, האנציקלופדיה החופשית
קפיצה אל: ניווט, חיפוש
מה ההבדל בין כדור פורח לראש קרח
אם תרצו - יהיה יצוא!

זהו שיר מאד עצוב, על נושא כזה כאוב - את תשים תחבושת לא יעזור לך חודשיים.



This is a demo page for Template:pgn for English speakers.

The pgn template uses one script in hewiki: Mediawiki:common.js/pgn.js. it can show a single chess game or a set of games. when there is a set, a drop-down-combo-box appears at the top of the template, to let the user select one of the games.

Each game is displayed at the final board, There is a button (it shows as "הצגה" here, but since it uses mw.message for the text, it will show the appropriate text in each wiki). Pressing the button will expose the PGN notation of of the game below the board, and some more controls.

The reader can press any one of the moves in the PGN notaion to show the board at this stage. if the selected move is one or two moves ahead of the current move (marked by yellow background), this will be animated. otherwise, the selected board state will be displayed.

There is a "Play" control that plays the game with animation from the currently selected move (if you press "Play" when the board state is on the last move, it will rewind to the beginning and then play). There is "Advance one step" button, and a "Transpose board" or "Flip black/white viewpoint" button.

The last control is the least useful one. It's a slider that resizes the board and pieces. this last control is only available in sane browsers, but not in IE (the limitation has to do mainly with the limitation in IE WRT displaying svg files).

The template itself (i.e., Template:pgn) is mainly a wrapper (with some sugar) around Template:pgn/Games, which in itself is a list or a series of Template:pgn/Onegame. Adopting those templates to another wiki should not be difficult. The only meaningful dependency is the script mentioned above.

Here is the code of the template (it will be easier to view it by pressing "הצגה" on the collapsed table below then to view the code in "edit" mode, because the natural direction of hewiki is RTL, though, of course, you can view the source also).

כדי לראות את המשחקים, יש לאפשר בדפדפן שלכם ג'אווהסקריפט.

עזרה

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "14"] [White "Capablanca, Jose Raul"] [Black "Keres, Paul"] [Result "1/2-1/2"] [ECO "D18"] 1. c4 {not a real comment, just something to demonstrate how comments in PGN appear in the viewer} 1... c6 2. d4 d5 3. Nf3 Nf6 4. Nc3 dxc4 5. a4 Bf5 6. e3 e6 7. Bxc4 Nbd7 8. Qe2 {another junk, demo comment } 8... Bb4 9. O-O Ne4 10. Nxe4 Bxe4 11. Bd3 Nc5 12. Bxe4 Nxe4 13. Qc2 Qd5 14. Ne5 O-O 15. f3 Nc5 16. Nc4 b5 17. axb5 cxb5 18. Bd2 Bxd2 19. Nxd2 Na4 20. Rfe1 h6 21. b3 Nb6 1/2-1/2

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "12"] [White "Eliskases, Erich Gottlieb"] [Black "Keres, Paul"] [Result "1-0"] [ECO "D95"] 1. d4 Nf6 2. c4 g6 3. Nc3 d5 4. e3 Bg7 5. Nf3 O-O 6. Qb3 dxc4 7. Bxc4 Nbd7 8. O-O Nb6 9. Be2 Bf5 10. Bd2 Ne4 11. Nxe4 Bxe4 12. Bc3 Qd5 13. Qxd5 Bxd5 14. Rfc1 Rac8 15. Nd2 Na4 16. Bf3 Bxf3 17. Nxf3 c5 18. Rab1 b6 19. Bd2 cxd4 20. exd4 Rxc1+ 21. Bxc1 Rc8 22. Kf1 b5 23. Ke2 Rc2+ 24. Nd2 Bh6 25. Kd3 Rc7 26. Nb3 Bxc1 27. Nxc1 Nb6 28. Ne2 Nd5 29. a3 Kf8 30. g3 Ke8 31. Nc3 Nxc3 32. bxc3 a6 33. a4 Rb7 34. d5 e6 35. dxe6 fxe6 36. axb5 axb5 37. Ke4 Kf7 38. c4 b4 39. Kd4 Ke7 40. c5 g5 41. Kc4 Kd8 42. Rxb4 Rf7 43. Rb2 h5 44. Ra2 Kc8 45. Kb5 h4 46. Kb6 Rf3 47. gxh4 gxh4 48. Ra8+ Kd7 49. c6+ Ke7 50. Rh8 Rb3+ 51. Kc7 Rb2 52. Rh7+ Kf6 53. Kd8 Rd2+ 54. Rd7 Rxf2 55. c7 Kg5 56. c8=Q Rf8+ 57. Kc7 Rxc8+ 58. Kxc8 e5 59. Re7 1-0

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "10"] [White "Fine, Reuben"] [Black "Keres, Paul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g8 1/2-1/2

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "5"] [White "Keres, Paul"] [Black "Eliskases, Erich Gottlieb"] [Result "1-0"] [ECO "B50"] 1. e4 c5 2. Nf3 d6 3. b4 cxb4 4. d4 Nf6 5. Bd3 d5 6. Nbd2 dxe4 7. Nxe4 Nbd7 8. Neg5 Qc7 9. c4 h6 10. Nh3 g5 11. Nhg1 Bg7 12. Ne2 O-O 13. O-O e5 14. Ng3 e4 15. Nxe4 Nxe4 16. Bxe4 Qxc4 17. Bd3 Qd5 18. Re1 g4 19. Nh4 Nb6 20. Rb1 Bd7 21. Re4 Rfe8 22. Rf4 Qd6 23. Bd2 Nd5 24. Rxg4 Bxg4 25. Qxg4 Qf6 26. Nf5 Kf8 27. Nxg7 Qxg7 28. Qh5 Nf6 29. Qh4 h5 30. Rxb4 Rac8 31. h3 Rc7 32. Rb5 Re6 33. Rxh5 1-0

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "3"] [White "Keres, Paul"] [Black "Fine, Reuben"] [Result "1/2-1/2"] [ECO "A09"] 1. Nf3 d5 2. c4 dxc4 3. Na3 c5 4. Nxc4 Nc6 5. Nce5 Nxe5 6. Nxe5 Nf6 7. e3 e6 8. b3 Nd7 9. Bb5 Bd6 10. Bb2 O-O 11. Nxd7 Bxd7 12. Qg4 f6 13. Bc4 Qe7 14. a4 Kh8 15. f4 Rae8 16. O-O Bc6 17. Qh5 Qf7 18. Qxf7 Rxf7 19. Rac1 Rd7 20. d4 cxd4 21. Bxd4 a5 22. Bb6 Bc7 23. Bxc7 Rxc7 24. Rfd1 h6 25. Rd4 Rce7 26. Rd6 f5 27. Rcd1 e5 28. Rd8 exf4 29. Rxe8+ Rxe8 30. exf4 Kh7 31. Kf2 Re7 32. Rd8 g6 33. g3 Kg7 34. h3 Rc7 35. Ke3 Bxa4 36. bxa4 Rxc4 37. Rd7+ Kf6 38. Rxb7 Rxa4 39. Rb6+ Kf7 40. Rb7+ Ke6 41. Rb6+ 1/2-1/2

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "8"] [White "Keres, Paul"] [Black "Flohr, Salo"] [Result "1-0"] [ECO "D74"] 1. d4 Nf6 2. c4 g6 3. Nf3 Bg7 4. g3 c6 5. Bg2 d5 6. cxd5 Nxd5 7. O-O O-O 8. Nc3 Nxc3 9. bxc3 c5 10. Ba3 cxd4 11. Nxd4 Qc7 12. Qb3 Bf6 13. Rfd1 Nd7 14. c4 Nc5 15. Qb4 Ne6 16. Nb5 Qe5 17. Rac1 Rd8 18. Rd5 Rxd5 19. cxd5 a6 20. Na7 Nd4 21. Rxc8+ Rxc8 22. Nxc8 Qxe2 23. h4 Nf5 24. Qe4 1-0

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "11"] [White "Keres, Paul"] [Black "Petrovs, Vladimirs"] [Result "1-0"] [ECO "A47"] 1. d4 Nf6 2. Nf3 e6 3. Bg5 b6 4. e3 Bb7 5. Bd3 Be7 6. Nbd2 d6 7. O-O Nbd7 8. e4 e5 9. Re1 Ng4 10. Bxe7 Qxe7 11. Nc4 O-O 12. Qd2 Rae8 13. h3 Ngf6 14. a4 a6 15. Qc3 g6 16. Ncd2 Rc8 17. Bc4 Nh5 18. Bd5 c6 19. Bc4 Nf4 20. Bf1 c5 21. dxe5 Nxe5 22. Nxe5 dxe5 23. Nc4 Rc6 24. g3 Nh5 25. Nxe5 Rd6 26. Nc4 Re6 27. e5 f6 28. exf6 Qxf6 29. Qxf6 Rexf6 30. Re2 a5 31. Bg2 Ba6 32. Bd5+ Kh8 33. Rae1 Rf5 34. Be6 R5f6 35. b3 Ng7 36. Bd5 Nf5 37. Re6 Nd4 38. Rxf6 Rxf6 39. Re8+ Kg7 40. Ne5 h5 41. Re7+ Kh8 42. Nf7+ Kg7 43. Ng5+ Kf8 44. Ra7 1-0

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "9"] [White "Keres, Paul"] [Black "Ragozin, Viacheslav"] [Result "1-0"] [ECO "E01"] 1. d4 Nf6 2. c4 e6 3. Nc3 d5 4. g3 dxc4 5. Qa4+ Nc6 6. Bg2 Bd7 7. Qxc4 Nb4 8. Qb3 c5 9. Nf3 Bc6 10. O-O cxd4 11. Rd1 Qa5 12. Nxd4 Bxg2 13. Kxg2 Be7 14. a3 O-O 15. Bd2 Nc6 16. Nxc6 bxc6 17. Qc4 Qb6 18. b4 a5 19. Na4 Qb5 20. Qxb5 cxb5 21. Nb6 Ra6 22. bxa5 Bd8 23. Bb4 Re8 24. Rd6 Bc7 25. Rc6 Nd5 26. e4 Nxb4 27. axb4 Be5 28. Rd1 g6 29. Rc5 Bf6 30. Nd7 Be7 31. Rxb5 Raa8 32. Rb7 Ra6 33. Nb8 Ra8 34. Nc6 Bf8 35. b5 Rec8 36. a6 Bc5 37. Rdd7 Rf8 38. a7 h5 39. Rb8 Kg7 40. b6 1-0

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "13"] [White "Keres, Paul"] [Black "Reshevsky, Samuel Herman"] [Result "0-1"] [ECO "D29"] 1. d4 d5 2. c4 dxc4 3. Nf3 Nf6 4. e3 e6 5. Bxc4 c5 6. O-O a6 7. Qe2 (7. a4) 7... b5 8. Bb3 Bb7 9. Rd1 Nbd7 10. a4 (10. Nc3 $1) 10... b4 (10... Qb6 11. axb5 axb5 12. Rxa8+ Bxa8 13. Nc3 Bc6 $10 {Reshevsky}) (10... Be7 11. Nbd2 $6 (11. axb5 axb5 12. Rxa8 Qxa8 13. Qxb5 Bxf3 $17) (11. dxc5 O-O 12. c6 Bxc6 13. Ne5 Qc7 14. Nxc6 Qxc6 $10) 11... Qb6 $15 {Olafsson-Keres/Bled-Zagreb ct/1959/0-1/35 }) 11. Nbd2 Qc7 12. Nc4 Be7 13. Nfe5 O-O 14. Bd2 Rac8 15. Rac1 Rfd8 16. a5 $5 { /\ 17.Ba4 -> >< b6} Bd5 $1 17. Nxd7 Nxd7 18. e4 Bxc4 19. Bxc4 Qxa5 20. Ra1 Qc7 21. dxc5 $2 (21. Bxa6 Ra8 22. Be3 $10) 21... a5 $17 22. Be3 Nxc5 23. Bxc5 {/\ _

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "4"] [White "Petrovs, Vladimirs"] [Black "Keres, Paul"] [Result "0-1"] [ECO "D73"] 1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. g3 d5 5. Bg2 dxc4 6. Qa4+ c6 7. Qxc4 O-O 8. Nf3 Be6 9. Qd3 Na6 10. O-O Qa5 11. Ne5 Rfd8 12. Rd1 Nc5 13. Qb1 Bf5 14. b4 Qc7 15. Qb2 Ne6 16. Be3 Nd7 17. f4 g5 18. Rac1 gxf4 19. gxf4 Ndf8 20. Ne4 f6 21. Ng3 Bg6 22. Nxg6 hxg6 23. f5 Nf4 24. Bf3 Nd5 25. Qb3 e6 26. fxe6 Qe7 27. Bf2 Bh6 28. Rb1 Nxe6 29. e4 Ndf4 30. d5 Ng5 31. dxc6+ Kg7 32. cxb7 Qxb7 33. Bg2 f5 34. Rbc1 Kh7 35. h4 Ngh3+ 36. Bxh3 Nxh3+ 37. Kg2 Nxf2 38. Kxf2 Bxc1 39. Rxc1 fxe4 40. h5 Rf8+ 41. Ke2 Qb5+ 42. Qc4 Qxc4+ 43. Rxc4 gxh5 44. Nxh5 Rae8 45. Ng3 Rf4 46. Nh5 Rf3 47. a3 Ref8 48. Rxe4 Kg6 49. Rh4 R8f5 0-1

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "2"] [White "Ragozin, Viacheslav"] [Black "Keres, Paul"] [Result "1/2-1/2"] [ECO "A28"] 1. c4 e5 2. Nf3 Nc6 3. Nc3 Nf6 4. d3 d5 5. cxd5 Nxd5 6. g3 f6 7. Bg2 Be6 8. a3 Nb6 9. O-O Be7 10. Be3 Nd4 11. b4 Qd7 12. Bxd4 exd4 13. Ne4 Na4 14. Nxd4 Nb2 15. Qc2 Qxd4 16. Nc3 Nc4 17. dxc4 c6 18. c5 a5 19. Rfd1 Qc4 20. Qe4 axb4 21. Qxc4 Bxc4 22. axb4 Kf7 23. h4 f5 24. e4 Rxa1 25. Rxa1 Bf6 26. Rc1 Be6 27. exf5 Bxf5 28. b5 Rc8 29. bxc6 bxc6 30. Na4 Rc7 31. Nb6 Bd3 32. Na8 Rc8 33. Nb6 Rc7 34. Rd1 Bb5 35. Kh2 Be7 36. Nd7 Ke8 37. Bh3 Ra7 38. Be6 Bc4 39. Bxc4 Rxd7 40. Bf7+ Kd8 1/2-1/2

[Event "Semmering/Baden"] [Site "Semmering"] [Date "1937.??.??"] [Round "6"] [White "Reshevsky, Samuel Herman"] [Black "Keres, Paul"] [Result "0-1"] [ECO "E16"] 1. Nf3 Nf6 2. d4 e6 3. c4 b6 4. g3 Bb7 5. Bg2 Bb4+ 6. Bd2 Bxd2+ 7. Qxd2 O-O 8. O-O d6 9. Qc2 Nbd7 10. Nc3 Qe7 11. e4 Rac8 12. Rfe1 e5 13. Rad1 c6 14. Qa4 Rc7 15. Qa3 Re8 16. b3 g6 17. dxe5 dxe5 18. Qxe7 Rxe7 19. Bh3 Bc8 20. b4 Nf8 21. Bxc8 Rxc8 22. Rd6 Ne8 23. Rd3 f6 24. Red1 Kf7 25. a4 Ke6 26. Rd8 Rec7 27. Kf1 Ke7 28. R8d3 Rd7 29. Rxd7+ Nxd7 30. Ke2 Nd6 31. Nd2 Nf8 32. Ra1 Ne6 33. a5 b5 34. cxb5 Nd4+ 35. Kd3 cxb5 36. Rc1 Ke6 37. Ne2 Nc6 38. Rb1 Rd8 39. Kc3 f5 40. exf5+ gxf5 41. f3 Rc8 42. Kd3 Ne8 43. Nc3 Nf6 44. Rb2 a6 45. g4 e4+ 46. fxe4 Ne5+ 47. Kc2 fxg4 48. Kb3 Nc4 49. Nxc4 Rxc4 50. Re2 Ke5 51. Re1 h5 52. Rd1 h4 53. Rd8 g3 54. hxg3 hxg3 55. Rd3 g2 56. Ne2 Rxe4 57. Ng1 Re1 0-1