MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus Schachklub.info
Wechseln zu: Navigation, Suche
 
Zeile 6: Zeile 6:
 
   myElement.innerHTML = '<html><link rel="stylesheet" type="text/css" href="https://pgn.chessbase.com/CBReplay.css">
 
   myElement.innerHTML = '<html><link rel="stylesheet" type="text/css" href="https://pgn.chessbase.com/CBReplay.css">
 
<script src="https://pgn.chessbase.com/jquery-3.0.0.min.js"></script>
 
<script src="https://pgn.chessbase.com/jquery-3.0.0.min.js"></script>
<script src="https://pgn.chessbase.com/cbreplay.js" type="text/javascript"></script>
+
<script src="https://pgn.chessbase.com/cbreplay.js" type="text/javascript"></script></html>';
<div class="cbreplay">
+
[Event "GER-ch U10"]
+
[Site "Willingen"]
+
[Date "2018.05.20"]
+
[Round "1"]
+
[White "Kieselbach, Jannik"]
+
[Black "Costa, Leonardo"]
+
[Result "0-1"]
+
[ECO "E61"]
+
[WhiteElo "1397"]
+
[BlackElo "1811"]
+
[PlyCount "102"]
+
[EventDate "2018.05.19"]
+
[EventType "swiss"]
+
[EventRounds "11"]
+
[EventCountry "GER"]
+
[SourceTitle "Mega2018 Update 32"]
+
[Source "Chessbase"]
+
[SourceDate "2018.05.31"]
+
[SourceVersion "2"]
+
[SourceVersionDate "2018.05.31"]
+
[SourceQuality "1"]
+
 
+
1. d4 Nf6 2. c4 g6 3. Nf3 Bg7 4. e3 O-O 5. Nc3 d6 6. Qb3 c5 7. Be2 Na6 8. O-O
+
Nc7 9. Rd1 Qe8 10. Qc2 a6 11. Qd3 Rb8 12. a4 b6 13. d5 Bg4 14. e4 Bxf3 15. Bxf3
+
Nd7 16. Bf4 Ne5 17. Bxe5 Bxe5 18. Be2 e6 19. Re1 exd5 20. exd5 Qd7 21. Bf3 b5
+
22. Be2 bxc4 23. Qxc4 Rxb2 24. Ne4 Rb4 25. Qd3 Bxa1 26. Rxa1 Qf5 27. Bf3 Rd4
+
28. Qe2 Nxd5 29. Nxd6 Qe6 30. Ne4 c4 31. Re1 f5 32. Nc5 Qxe2 33. Bxe2 Re8 34.
+
Nxa6 Rxe2 35. Kf1 Rxe1+ 36. Kxe1 c3 37. Nc5 c2 38. Nb3 Rd1+ 39. Ke2 c1=Q 40.
+
Nxc1 Rxc1 41. a5 Ra1 42. f4 Rxa5 43. g4 fxg4 44. f5 gxf5 45. h3 gxh3 46. Kf2 h2
+
47. Kg3 h1=Q 48. Kf2 Ra2+ 49. Kg3 Qg2+ 50. Kh4 Ra4+ 51. Kh5 Qg6# 0-1
+
</div>
+
</html>';
+
  
 
}());
 
}());

Aktuelle Version vom 2. Juni 2018, 12:36 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */

(function () {

  var myElement = document.getElementById('mw-hello-world');
  myElement.innerHTML = '<html><link rel="stylesheet" type="text/css" href="https://pgn.chessbase.com/CBReplay.css">
<script src="https://pgn.chessbase.com/jquery-3.0.0.min.js"></script>
<script src="https://pgn.chessbase.com/cbreplay.js" type="text/javascript"></script></html>';

}());