Jump to content

Wikipedia talk:WikiProject Chess/PGN Chess Viewer

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Technical 13 (talk | contribs) at 17:49, 29 March 2013 (Discussion: ::::{{Smiley|28}} things happen... Also, I've played this game before, I'm really not upset or worried about it what-so-ever. So, I'm just going to ignore you if you apologize again. {{Smiley|7}} ~~~~). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This is the talk page for the PGN Chess Viewer project.

Discussion

I guess I'll be the first to comment here and get the ball rolling. The way I envision this project working is in two, possibly three parts. The first part would be a static template to create a table and environment for this content to display. I will create a mockup starting point for what I have in my head of this on WP:WikiProject Chess/PGN Chess Viewer/Template:PGN-CV/T13. Some of this may possibly be manipulated/created for those without JavaScript or with the gadget not activated by a lua module. I don't know much about lua modules at this time but if I find that the template is difficult to create without certain extensions (like stringFunctions), then I'll learn more about the modules for this purpose. If I need to write our own module for something specific I will put it in WP:WikiProject Chess/PGN Chess Viewer/Module:PGN-CV/T13. The last part will be the JavaScript gadget. I'll start with a copy & paste of the he version (WP:WikiProject Chess/PGN Chess Viewer/PGN-CV/T13.js), and then start adapting it to work with my template/module as is needed. User:Technical 13   ( C • M • Click to learn how to view this signature as intended ) 11:40, 29 March 2013 (UTC)[reply]

Sorry I thought I was being all smart. Mattj2 (talk) 17:27, 29 March 2013 (UTC)[reply]
LOL No problem. User:Technical 13   ( C • M • Click to learn how to view this signature as intended ) 17:34, 29 March 2013 (UTC)[reply]
For the future, that's a good thing to post on my personal talk page. It was an honest mistake but I wouldn't have realized if I hadn't happened to reload the page. No reason to have you be upset when I was clearly at fault. Mattj2 (talk) 17:45, 29 March 2013 (UTC)[reply]
things happen... Also, I've played this game before, I'm really not upset or worried about it what-so-ever. So, I'm just going to ignore you if you apologize again. User:Technical 13   ( C • M • Click to learn how to view this signature as intended ) 17:49, 29 March 2013 (UTC)[reply]

Wikidata Usage

Can we use wikidata for the Portable Game Notation files? Antimaterie (talk) 15:28, 29 March 2013 (UTC)[reply]

That's a great idea! I think in the beginning it's best to keep things simple and make the PGN information be a template variable. This makes it easier for inexperienced Wikipedia users to edit. Wikidata support (in my opinion) is mainly useful for when multiple wikis with multiple languages all want to reference the same chess diagram. I personally think it's best to hold off for now. Is it important to you that we do this right away? Mattj2 (talk) 17:31, 29 March 2013 (UTC)[reply]

Am I correct in assuming the script for this is based on SVG?

Is this script based on manipulating a Scalable Vector Graphics with JavaScript as is mentioned here? User:Technical 13   ( C • M • Click to learn how to view this signature as intended ) 17:39, 29 March 2013 (UTC)[reply]

No the output is a regular HTML table with 8 rows and 8 columns. Each cell is an individual static picture. The design of that chess template is totally unwieldy. I'll dig up a template that I like that's much simpler. Mattj2 (talk) 17:48, 29 March 2013 (UTC)[reply]