Updating the wiki

Started by djs4000, September 25, 2014, 10:57:01 AM

djs4000

Hey,
Since AtomicTorch was nice enough to make a wiki for the game, I thought I would contribute to it by adding ship stats and other things to it. Perhaps my wiki-fu is weak, but I was trying to create an InfoBox type sidebar template to enter in the ship stats and I can't seem to get it to work. I know info boxes need scribunto and parserfunctions installed to work on mediawikis. Anyone wanna lend me hand? Ideally I just want to make a template that looks like what we already have in game:

djs4000

Ok, I got a sidebar going, but it looks like the wiki doesn't have the parser functions installed or enabled. With out it, I am unable to use conditional statements to hide empty fields, but I think it looks good so far. I have the Civilian Shuttle already complete. Let me know what you guys think. http://wiki.atomictorch.com/Civilian_Shuttle

Lurler

That looks awesome. Really appreciate your help!

I actually tried to do something similar, but alas. My wiki-fu is even worse, so I couldn't do much.

But if you need any additional components installed, just let me know which ones in particular and I will try adding it to the wiki. I could also provide you with the needed info to fill the wiki, so you won't have to rip it out from the game. Though please include the namespace in the pages, because we want all our games listed here later, so we need to separate these pages.
Example: _http://wiki.atomictorch.com/VoidExpanse/<page_name>

djs4000

Quote from: Lurler on September 25, 2014, 07:38:22 PM
Though please include the namespace in the pages, because we want all our games listed here later, so we need to separate these pages.
Example: _http://wiki.atomictorch.com/VoidExpanse/<page_name>
No worries, should be easy enough to move everything. I'll have to do some more research on the wiki things, since I'm making this up as I go along (no experience editing wikis whatsoever).

djs4000

#4
Ok, I've done some research on wikis. Looks like you guys might have subpages turned off. See this test page (http://wiki.atomictorch.com/User:Djs4000/Test) I put up on my user page. Looks like by default wikimedia has subpages turned off in the main articles, but has it on in the user namespace. If you click the subpage I linked it you'll see the breadcrumb link back to my main user page that you won't see if you go to ships list.

The other thing that would be nice is have ParserFunctions  (http://www.mediawiki.org/wiki/Extension:ParserFunctions)to have conditional formatting in the templates.

Edit: Any info you can give me for the wiki would help, as I could probably update it quicker.

Hammish

I offered to help out with the wiki ages ago and are still interested as well, just have been lacking in the time.  But when you get to editing the sections on modding I'd still be more than happy to help chip in anything I can.

Lurler

djs4000, that's true. But I did some research back then and we don't really need the actual subpages. At least that's what I gathered. We can instead simply include "VoidExpanse/<page_name>" for every page. Or is there any particular reason to have the actual subpages?

Hammish, great!

djs4000

Lurler, I suppose it'll still work. The only minor problem comes from some templating and pulling the page name. For example, with subpages on, I can make a VoidExpanse/Ships/Avalanche page, and still use a template to pull the ships name from the page. Without templating, the page name returned would be "VoidExpanse/Ships/Avalanche". Plus for navigations sake, the breadcrumb saves a step.
Either way, I'll get them moved over today and should be able to finish the ships. I'll move over to weapons next.

Hammish, yes please! I know nothing about modding, so feel free to contribute all you can.