A quick question regarding the Wiki

A quick question regarding the Wiki

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

A quick question regarding the Wiki

Post by Warlord Zsinj »

I have a large amount of text (over 50 pages) all formatted in a Word file, which I want to put onto the wiki (It is the SWTA manual, if you are curious). Is there a way for me to get this into the Wiki, and keep all of my formatting? This includes links, images (although the images I can probably redo) and general text layout.

Is there a Word->Wiki parser that I can download?
User avatar
Zoombie
Posts: 6149
Joined: 15 Mar 2005, 07:08

Post by Zoombie »

I had that problem too, but the Wiki like format i was using (Live Journal, if you wished to know) worked when i coped the words from Rich Text Format. But it might work differently from the TA spring wiki.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Post it here, and ill see what needs to be done. Usually its just a matter of doing a Find/Replace on certain words. Go File>Save As and choose HTML/Web Page in the drop down box. thatsn the closest to wiki formatting you will get. Ill have an experiment with Word though, see if I can come up with anything
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

I've sent an email containing the manual to the address listed in your profile.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Ok, ive formatted it, and posted it to the wiki. YOu can find it under SWTA Manual. If you want it moved somewhere else, just ask and someone will.


What I did to format this from HTML to wiki code:
Cause of the complexity of the HTML, and where some of them were placed, I couldnt do a simple search and replace to make it all wiki code. I could do it on the basics, like <b> into ''', and <i> into '', but it was not possible with the lists and stuff. So, as I had to go through and hand do all the lists, I decided to just go through and change most of the stuff manually. Anyways, Im guessing you didnt write this file in notepad or an HTML editor did you? Some of the tags in there were just weird.

Sorry if something in there isnt formatted quite right, but after going through that once, im not willing to trawl through it again :P

Also, you still have to upload your images. Ive pointed the images in the page to Image:SWS_Manual_Image1.gif and Image:SWS_Manual_Image2.gif respectivley, but you can easily change these after you upload the images if you want. If you dont know how, upload images via the Special:Upload page.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Thanks a lot for all your help, Maelstrom, I really appreciate the effort you've put in.

If I want to place an image, and align it to the left of text, how would I do that in wiki code?

What I am seeking to do is place buildpics of units on next to each description (with the text wrapping, not starting on the next line).

And for the record, I just dumped my word file into a word->HTML parser; I wouldn't be surprised if you got a few <billgatesisyouroverlord></billgatesisyouroverlord> tags.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

[[Image:filename.png|frame|left|caption]]
example

For no frame use:
[[Image:filename.png|left|caption]]

and the "caption" will become the Alt-Text
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

Ah, but the problem is that I have all the buildpics uploaded here:

http://www.planetannihilation.com/swta/ ... buildpics/

I don't want to have to upload all of them individually thruogh the Wiki upload page, because that would take hours.

How can I do what you have done there, but using an external image?
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

[[http://website.com/image.jpg|frame|left|caption]]
[[Image:http://website.com/image.jpg|frame|left|caption]]
[http://website.com/image.jpg|frame|left|caption]
[Image:http://website.com/image.jpg|frame|left|caption]

Or some combination of the things posted. Just dump them all into a page and hit 'Preview', see what works. If none of the above work, just experiment.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

You're not allowed to be a jerk.

Post by SinbadEV »

Too bad none of your ideas work, Yay you for being lazy...

if you ever need to find this kind of stuff, find a page that does what you want in another wiki and copy.

The correct answer is:

Code: Select all

{| style="float: left;"
| http://www.planetannihilation.com/swta/images/buildpics/impcond.jpg
|}
I might recomend that you float it to the right however... looks better that way.

I fixed one for you already... if that's what you want then great...
another optiong would be to just use a table with the build pic at left and the text all to the right of it.

Code: Select all

{|
| http://www.planetannihilation.com/swta/images/buildpics/impcond.jpg
|'''Construction Droid''': a light worker with the ability to build structures the TMB cannot. Vital to any army wishing to progress past ground troops. Construction Droids build slowly and maneuver slowly, so using groups of droids to work on each structure is recommended. You can also use Droids to assist your factories in constructing your units, speeding production without having to construct an additional factory. It is highly advisable to have numerous droids operating on numerous functions. The Construction Droid forms the backbone of your warmachine, and can accomplish many tasks; having just a few may not provide you with enough strategic flexibility.
|}
but of course... that looks dumb.
Warlord Zsinj
Imperial Winter Developer
Posts: 3742
Joined: 24 Aug 2004, 08:59

Post by Warlord Zsinj »

That works well, with a bit of tinkering.

Thank you very much for your help!
Post Reply

Return to “General Discussion”