StrategyWiki:Staff lounge/2017/February

Keyboard hotkey maps
There are two types of visual keyboard hotkey maps. Type 1, Type 2. Which type would you like to see more of? Note that Type 1 is hard to print on your printer! Can you think of a way? Posfan12 (talk) 23:40, 4 February 2017 (UTC)


 * If printing is necessary, it can be switched to landscape. The display is more of an issue for screen display, which is limited to ~900px, and requires some sweet spot to have the text visible. Maybe the keys right of the Enter key could be brought to a new row to save a bit on width, and also some of those keys may be a little large even for landscape (maybe reduce size to 80%?)
 * Also, there's a mediawiki bug that makes printing less supported than it should be. The documentation says it supports Mediawiki:print.css, yet it's not included in sent style sheets. --Sigma 7 (talk) 17:23, 5 February 2017 (UTC)
 * I prefer the first option, because having a modifiable template is much easier to deal with than a picture. Maybe moving the pieces of the keyboard around would be cool, but it looses the look of the keyboard. I guess the main benefit of the second one is that it can be scaled. Could we do something through css/js that would let us scale the content down for display, and then expand with a button/hovering over keys? -- Prod (talk) 21:29, 6 February 2017 (UTC)
 * FYI, you can edit the SVG image in Notepad. It is similar to HTML (though not as easy as MediaWiki). Once you familiarize yourself with the code, it is not hard to adapt to other games. Everything is grouped together to make copying/pasting easier. Just make sure you DO NOT use Inkscape, because that will make the code unreadable. Posfan12 (talk) 10:02, 10 February 2017 (UTC)
 * As for scaling the Type 1, you can use CSS transforms. However, they do not work in old browsers. Posfan12 (talk) 10:17, 10 February 2017 (UTC)
 * You would need to use the CSS in the site's stylesheet, however. I don't think you can do it in inline MediaWiki code. Not 100% sure. Posfan12 (talk) 10:21, 10 February 2017 (UTC)
 * I tried scaling the template. There are some issues I was unable to sort out. Posfan12 (talk) 10:30, 10 February 2017 (UTC)