The Chess Variant Pages
Custom Search




[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

This item is a miscellaneous item
It belongs to categories: Orthodox chess, 
It was last modified on: 2015-12-11
 Author: Fergus  Duniho. Home page of The Chess Variant Pages. Missing description[All Comments] [Add Comment or Rating]
H. G. Muller wrote on 2021-05-08 UTC

Is it possible to have some custom text float to the right of the diagram?

Well, you have to make the diagram float left. The diagram design wizard already proposes that, by putting a style="float:left; margin: 0 10px 10px 0" with the <div> element used to package the diagram parameters. Any following text will then wrap nicely around it.

BTW, it is possible to have the diagram script generate a the list of pieces (plus squares coordinates) that you like to go there as a 'satellite', by putting a <ul id="xxxList"></ul> where you want the list to appear. The advantage is that the list is clickable, and then brings up the move diagram of the clicked piece. (As in the CwdA diagram, after you select an army.) But I guess that for replacing images in existing articles the lists will already exist.

Also, can we do 3 square colors for games with nightriders

The diagram can already do that (e.g. see the Caissa Britannia diagram I made), but currently it can be switched on only through embedded extra JavaScript (<script>oddShade = "#E04040";</script>). It will be totally trivial to make a 'regular' diagram parameter oddShade for it, though.