StrategyWiki:Staff lounge: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
(→‎Keyboard hotkey maps: mention scaling)
Line 49: Line 49:
::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? -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 21:29, 6 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? -- [[User:Prod|Prod]] ([[User talk: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. [[User:Posfan12|Posfan12]] ([[User talk:Posfan12|talk]]) 10:02, 10 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. [[User:Posfan12|Posfan12]] ([[User talk:Posfan12|talk]]) 10:02, 10 February 2017 (UTC)
:::As for scaling the Type 1, you can use [https://developer.mozilla.org/en-US/docs/Web/CSS/transform CSS transforms]. However, they do not work in old browsers. [[User:Posfan12|Posfan12]] ([[User talk:Posfan12|talk]]) 10:17, 10 February 2017 (UTC)
430

edits