hi. so, in order to help get this template live on this wiki, i'll need to understand what difficulties did you encounter. please mention me (like so: User:קיפודנחש when you answer, as i do not frequent this wikipedia...
so, for this to work, three things are required: template, css, and script.
for the templatee, you might want to try the "simpler" use case, as it is on enwiki en:Template:Pgnviewer (notice that this template uses one sub-page - you'll need this too).
the hewiki version of the template contains lots of stuff you probably do not want or need, some of it has to do with using different alphabet, written right-to-left.
for the script and css, you may want to copy something like the content of
en:User:קיפודנחש/pgnwrapper.js
notice that the wrapper checks to see if the page contains one or more "pgnviewer" templates, and only loads the code from hewiki if needed.
there are quite a few parameters that can be passed from the template to the script, controlling all sorts of stuff, including legends, and even the images used for the pieces and buttons. most is documented as a comment at the top of the source.
please let me know if i can be of more help.
peace.