Template talk:Chess viewer
Add topic| This is the talk page for discussing improvements to the Chess viewer template. |
|
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
| ||||||||
Knight movement animation
[edit]Currently, the knight is animated to move horizontally first, then vertically. I think we should make it a single straight motion, as done in other websites, eg. Chess.com and Lichess. – SD0001 (talk) 12:29, 1 January 2026 (UTC)
- I agree, the knight movement struck me as a little unnatural, when I first came across this otherwise fantastic template. --Volvox (talk) 14:25, 3 January 2026 (UTC)
Done Looks like consensus is to make them move direct. I'm not much of a chess player myself and was going of descriptions of knights "moving in an L". Ironically the L-shaped thing was a lot harder than just making them move normal. Bawolff (talk) 21:16, 3 January 2026 (UTC)
- It's how first-time players are taught how the piece moves. But once you're past being a beginner, it's very unusual to actually visualise it as an L-shaped movement. – SD0001 (talk) 17:13, 4 January 2026 (UTC)
Board colors
[edit]@Bawolff, see if you wanna use the type option from Special:Diff/1330904079/1330904753 to switch to some other color combinations, e. g. Special:Permalink/1330904683. I don't really like the default one, though I know it's used in some older templates. The new boards are from c:Category:Chessboard480 Ponor (talk) 07:27, 3 January 2026 (UTC)
- While I am happy with the change, I'm not sure if "type" is the best choice for the parameter name. I suppose "style" is already taken. Maybe color would be better? Bawolff (talk) 21:07, 3 January 2026 (UTC)
Done Using parameter name color Bawolff (talk) 21:13, 3 January 2026 (UTC)
- Yeah, 'style' was already taken for what's described as 'type'. Maybe the two can be switched. I was just playing with the idea, I leave it up to you! Thanks. Ponor (talk) 21:32, 3 January 2026 (UTC)
Highlight last move
[edit]It's common for chess widgets to indicate the move that was just played, by subtly changing the color of the previous and current squares of the piece that just moved. This would be cool to have here. (Eg. see the hrwiki gadget as seen on hr:Rétijeva_studija, although I think they have over-emphasized it.) In case of castling where two pieces have moved together, only the king's position needs to be highlighted. – SD0001 (talk) 12:04, 31 January 2026 (UTC)