Check out Grant Acedrex, our featured variant for April, 2024.


[ 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

Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Sat, May 8, 2021 10:00 PM UTC in reply to Greg Strong from 09:19 PM:

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.