Template talk:Key

From OCE Space Simulation
Jump to: navigation, search

...What is this? ---Wernstrum, Stargakat, Jonas 10:47, 3 April 2010 (EDT)

I was thinking of trying to make some sort of template to indicate a key-press on the keyboard. This would be useful for the Procedures Project, if they decide to write procedures in excrutiating how-to detail, as opposed to organisational generality. It didn't exactly turn out how I wanted, but I'm not done yet. -- Stefanido 01:01, 6 April 2010 (EDT)
Works now. Seems like the particular function I needed was built into the .css of the wiki. However, Wikipedia has some awesomeness that I really want to add here. Unfortunately, our copy of mediawiki is a little outdated. -- Stefanido 12:37, 6 April 2010 (EDT)
Woah.. I still don't quite understand. ---Wernstrum, Stargakat, Jonas 17:30, 16 April 2010 (EDT)
See Talk:Stefan De Young#Sandbox. I have a couple of examples of what I have in mind there. -- Stefanido 21:40, 17 April 2010 (EDT)
Oh, so like, when you have instructions for, say the flight software, you want to tell the person to press the "s" key or the sequence "a,f,o,n" and you'll actually have a button shape there?---Wernstrum, Stargakat, Jonas 21:58, 17 April 2010 (EDT)
Exactly. See Cold Start for a more complete example. -- Stefanido 16:28, 20 April 2010 (EDT)

Wikipedia Awesomeness

We're going to need to update our version of MediaWiki and install the Parser Functions Extension before we can use the awesomeness.

Copied from Wikipedia Template:'keypress/core{{#if:| +Template:'keypress/core }}{{#if:| +Template:'keypress/core }}{{#if:| +Template:'keypress/core }}{{#if:| +Template:'keypress/core }}{{#if:| }} The guts of this template are transcluded from Template:keypress/core.

Note that I added apostrophes in front of the keypress/core template calls, so that it wouldn't be transcluded here a bunch of times.

-- Stefanido 12:39, 6 April 2010 (EDT)